/* Physical Arts Explorer Custom Styles */

/* Benefits display styling for responsive grid layout */
#benefits-display {
    background: linear-gradient(to bottom, #1f2937, #111827);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#benefits-display:hover {
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4), 0 10px 15px -5px rgba(0, 0, 0, 0.3);
}

#benefits-content {
    font-size: 0.9rem;
}

#benefits-content ul {
    margin-bottom: 0;
}

#benefits-content ul li {
    margin-bottom: 0.25rem;
}

/* Enhance the sphere container */
#arts-sphere {
    perspective: 1000px;
    transform-style: preserve-3d;
    perspective-origin: center center;
}

/* Orbit element styles */
.orbit-element {
    opacity: 0.85;
    box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.orbit-element:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15) !important;
    box-shadow: 0 8px 20px -2px rgba(0, 0, 0, 0.5);
    z-index: 2000 !important;
}

.orbit-element.selected {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Improve the title styling */
#selected-art-title {
    letter-spacing: 0.5px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Artistic Child Diagram styling */
.artistic-diagram {
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.2));
    border-radius: 12px;
    overflow: visible;
}

/* Simple elegant diagram title */
.diagram-title {
    fill: rgba(255, 255, 255, 0.9);
    font-family: 'Arial', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Human figure styling */
.human-figure {
    transition: all 0.5s ease-in-out;
}

.human-figure path, .human-figure ellipse {
    transition: all 0.4s ease;
}

/* Anatomical regions - simple clean style */
.anatomical-region {
    transition: all 0.4s ease;
}

.anatomical-region.highlight {
    fill-opacity: 0.8;
    filter: brightness(1.2);
}

/* Region labels */
.diagram-label {
    fill: rgba(255, 255, 255, 0.8);
    font-family: 'Arial', sans-serif;
    font-size: 9px;
    letter-spacing: 0.3px;
}

/* Connection points */
.connection-point {
    fill: rgba(255, 255, 255, 0.6);
    r: 1.5;
    opacity: 0.7;
}

/* Connection arrows */
.benefit-arrow {
    opacity: 0;
    stroke-width: 1;
    stroke-dasharray: 2, 1;
    transition: all 0.5s ease;
    animation: arrow-dash 3s linear infinite;
}

.benefit-arrow.body {
    stroke: rgba(255, 255, 255, 0.7);
}

.benefit-arrow.brain {
    stroke: rgba(255, 255, 255, 0.7);
}

.benefit-arrow.show {
    opacity: 0.8;
}

@keyframes arrow-dash {
    to {
        stroke-dashoffset: -8;
    }
}

/* Child diagram container positioning */
.child-diagram-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 380px;
}

.child-diagram {
    position: relative;
    transition: all 0.3s ease;
    max-width: 100%;
}

/* Mobile optimizations */
@media (max-width: 640px) {
    #benefits-content {
        font-size: 0.85rem;
    }
    
    #benefits-content ul {
        padding-left: 1rem;
    }
}

/* Customized columns for different screen sizes */
@media (min-width: 768px) {
    .benefits-3-col {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
    
    .benefits-2-col {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
    
    /* Adjusted content width for improved layout with larger diagram */
    #benefits-display .w-full.md\:w-3\/4 {
        width: 65%;
    }
    
    #benefits-display .md\:w-1\/3 {
        width: 33%;
    }
} 