/* Film Studio Playground Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #29292b;
    color: #FFFFFF;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 90px; /* Header height for desktop */
}

body.loaded {
    opacity: 1;
}

/* ========== IMPROVED THEATER HEADER ========== */
.theater-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(180deg, #000000 0%, #0A0A0A 40%, #000000 100%);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(200, 83, 0, 0.3), 
                0 8px 40px rgba(200, 83, 0, 0.15);
    will-change: transform, opacity;
}

.theater-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Brighter curtain effect */
.curtain-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(90deg, 
        #2A2A2A 0%, 
        #3D3D3F 15%, 
        #5A5A5C 25%, 
        #7B7B7D 35%, 
        #9B9B9D 45%, 
        #EEEEEE 50%, 
        #9B9B9D 55%, 
        #7B7B7D 65%, 
        #5A5A5C 75%, 
        #3D3D3F 85%, 
        #2A2A2A 100%);
    background-image: 
        repeating-linear-gradient(90deg, 
            rgba(0,0,0,0.2) 0px, 
            rgba(0,0,0,0.2) 3px, 
            transparent 3px, 
            transparent 6px),
        linear-gradient(90deg,
            transparent 0%,
            transparent 25%,
            rgba(200,83,0,0.15) 45%,
            rgba(200,83,0,0.2) 50%,
            rgba(200,83,0,0.15) 55%,
            transparent 75%,
            transparent 100%);
    background-size: 12px 100%, 100% 100%;
    animation: curtainScroll 2.5s linear infinite;
    box-shadow: inset 0 -1px 2px rgba(0,0,0,0.15);
    will-change: background-position;
}

@keyframes curtainScroll {
    0% { background-position: 0 0; }
    100% { background-position: 18px 0; }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    height: calc(100% - 12px);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.logo-text:hover {
    color: #D46E25;
    text-shadow: 0 0 8px rgba(212, 110, 37, 0.5);
}

.atmospheric-nav {
    position: relative;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(61, 61, 63, 0.3);
    border-radius: 25px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 83, 0, 0.2);
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: #CCCCCC;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Active state */
.nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(200, 83, 0, 0.8), 
        rgba(212, 110, 37, 0.8));
    border-radius: 20px;
    z-index: -1;
}

.nav-link.active {
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Fixed hover effect - text moves up more */
.nav-link:not(.active) span {
    display: block;
    transition: transform 0.3s ease;
    will-change: transform;
}

.nav-link:not(.active)::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D46E25;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Increased movement to -150% so original text completely disappears */
.nav-link:not(.active):hover span {
    transform: translateY(-150%);
}

.nav-link:not(.active):hover::after {
    transform: translateY(0);
}

/* Smaller rectangular mobile trigger */
.mobile-trigger {
    display: none;
    width: 38px;
    height: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(20, 20, 20, 0.7));
    border: 1.5px solid rgba(200, 83, 0, 0.4);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(200, 83, 0, 0.2);
}

.mobile-trigger:hover {
    border-color: #C85300;
    background: linear-gradient(135deg, rgba(200, 83, 0, 0.15), rgba(212, 110, 37, 0.15));
    box-shadow: 0 4px 16px rgba(200, 83, 0, 0.4);
    transform: translateY(-1px);
}

.trigger-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.trigger-line {
    width: 16px;
    height: 2px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
    will-change: transform, opacity;
}

.mobile-trigger:hover .trigger-line {
    background: #D46E25;
}

.mobile-trigger.active .trigger-line {
    background: #D46E25;
}

.mobile-trigger.active .trigger-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.mobile-trigger.active .trigger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-trigger.active .trigger-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

.cinema-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000000 0%, #0A0A0A 50%, #000000 100%);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    will-change: transform;
}

.cinema-mobile-nav.active {
    transform: translateY(0);
}

.cinema-mobile-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background-image: none;
    opacity: 0;
}

.mobile-nav-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 50px 0 0 0;
    margin: 0;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease 0.1s;
    padding: 0;
    margin: 0;
}

.cinema-mobile-nav.active .mobile-nav-list {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-item {
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.cinema-mobile-nav.active .mobile-nav-item {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-item:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-item:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav-link {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 18px 40px;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

/* New mobile hover effect - different from active state */
.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(200, 83, 0, 0.1), 
        rgba(212, 110, 37, 0.15));
    transition: width 0.4s ease;
    border-radius: 12px;
    z-index: -1;
}

.mobile-nav-link:hover::before {
    width: 100%;
}

/* Active state for mobile - maintains the bottom line */
.mobile-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #C85300, #D46E25);
    transform: translateX(-50%);
    border-radius: 2px;
}

.mobile-nav-link.active {
    color: #D46E25;
    border-color: rgba(200, 83, 0, 0.5);
    background: linear-gradient(135deg, rgba(200, 83, 0, 0.08), rgba(212, 110, 37, 0.08));
}

/* Hover effect - only changes text color and adds subtle background */
.mobile-nav-link:not(.active):hover {
    color: #D46E25;
    transform: translateY(-2px);
}


/* Film Loading Animation */
.film-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.film-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.film-reel-loader {
    width: 120px;
    height: 120px;
    border: 8px solid #333;
    border-radius: 50%;
    position: relative;
    animation: reelSpin 2s linear infinite;
}

.film-reel-loader::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #8B4513;
    border-radius: 50%;
}

.film-reel-loader::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #D2691E;
    border-radius: 50%;
    animation: filmHole 2s linear infinite;
}

@keyframes reelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes filmHole {
    0%, 12.5% { opacity: 1; }
    12.51%, 24.99% { opacity: 0.3; }
    25%, 37.5% { opacity: 1; }
    37.51%, 49.99% { opacity: 0.3; }
    50%, 62.5% { opacity: 1; }
    62.51%, 74.99% { opacity: 0.3; }
    75%, 87.5% { opacity: 1; }
    87.51%, 100% { opacity: 0.3; }
}

.loading-text {
    margin-top: 30px;
    font-size: 1rem;
    color: #8B4513;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Studio Hero Section */
.studio-hero {
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.95) 0%, rgba(50, 30, 18, 0.95) 100%);
    border-bottom: 3px solid #333;
}

.studio-hero .hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.studio-hero .hero-background-shapes .shape {
    position: absolute;
    opacity: 0.12;
    z-index: 1;
    filter: brightness(1.3);
}

.studio-hero .shape-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: #C85300;
    top: -150px;
    right: -150px;
}

.studio-hero .shape-2 {
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background-color: #D46E25;
    bottom: -100px;
    left: -100px;
    animation: morphShape 15s infinite alternate;
}

.studio-hero .shape-3 {
    width: 200px;
    height: 200px;
    background-color: #8B4513;
    transform: rotate(45deg);
    top: 50%;
    right: 10%;
}

.studio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.035) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: filmGrain 6s infinite;
    pointer-events: none;
    opacity: 0.45;
}

.studio-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(200, 83, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes filmGrain {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.studio-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 40px;
    opacity: 0;
    animation: studioReveal 2s ease-out 1s forwards;
}

@keyframes studioReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-spotlight {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 800px;
    background: linear-gradient(180deg, 
        rgba(200, 83, 0, 0.1) 0%,
        rgba(200, 83, 0, 0.05) 30%,
        transparent 100%);
    border-radius: 50% 50% 0 0;
    animation: spotlightPulse 4s ease-in-out infinite;
}

@keyframes spotlightPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.studio-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.studio-subtitle {
    font-size: 1.3rem;
    color: #D46E25;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.studio-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #CCCCCC;
    margin-bottom: 50px;
}

/* Studio Clapper */
.studio-clapper {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.studio-clapper:hover {
    transform: scale(1.05);
}

.clapper-top {
    width: 200px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 5px 5px 0 0;
    transform-origin: bottom;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.studio-clapper:hover .clapper-top {
    transform: rotateX(-15deg);
}

.clapper-stripes {
    display: flex;
    height: 100%;
}

.stripe {
    flex: 1;
    height: 100%;
}

.stripe.black {
    background: #000000;
}

.stripe.white {
    background: #FFFFFF;
}

.clapper-board {
    width: 200px;
    height: 100px;
    background: #323233;
    border: 3px solid #3f3f3f;
    border-radius: 0 0 5px 5px;
    padding: 10px;
}

.clapper-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clapper-field {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 600;
    color: #FFFFFF;
}

.clapper-field span:first-child {
    color: #C85300;
}

/* Equipment Section */
.equipment-section {
    padding: 100px 0;
    background: #1F1F1F;
    position: relative;
}

.equipment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 50px,
            rgba(200, 83, 0, 0.03) 50px,
            rgba(200, 83, 0, 0.03) 52px);
    pointer-events: none;
}

.equipment-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    color: #FFFFFF;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #C85300, #D46E25);
}

.section-subtitle {
    text-align: center;
    color: #CCCCCC;
    margin-bottom: 60px;
    font-size: 1rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.equipment-item {
    opacity: 0;
    transform: translateY(50px);
    animation: equipmentReveal 0.8s ease-out forwards;
}

.equipment-item:nth-child(1) { animation-delay: 0.2s; }
.equipment-item:nth-child(2) { animation-delay: 0.4s; }
.equipment-item:nth-child(3) { animation-delay: 0.6s; }
.equipment-item:nth-child(4) { animation-delay: 0.8s; }
.equipment-item:nth-child(5) { animation-delay: 1.0s; }
.equipment-item:nth-child(6) { animation-delay: 1.2s; }

@keyframes equipmentReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.equipment-frame {
    background: #323233;
    border: 4px solid #3f3f3f;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    height: 400px;
    display: flex;
    flex-direction: column;
}

.equipment-frame:hover {
    transform: translateY(-8px);
    border-color: #C85300;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(200, 83, 0, 0.4);
}

.equipment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.equipment-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C85300, #D46E25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #FFFFFF;
}

.equipment-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: #FFFFFF;
    letter-spacing: 1px;
    flex: 1;
}

.recording-indicator {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    animation: recordingBlink 2s infinite;
}

@keyframes recordingBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.equipment-screen {
    background: #1A1A1A;
    border: 2px solid #3f3f3f;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.control-btn {
    background: linear-gradient(135deg, #C85300, #D46E25);
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 83, 0, 0.4);
}

/* Color Grading Station */
.color-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    height: 100%;
}

.color-section {
    border-radius: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 60px;
}

.color-section:hover {
    transform: scale(1.05);
}

/* Color code tooltip */
.color-section::after {
    content: attr(data-color);
    position: absolute;
    bottom: 2px;
    left: 2px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.6rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.color-section:hover::after {
    opacity: 1;
}

/* Lighting Board */
.lighting-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(200, 83, 0, 0.1) 0%, transparent 70%);
}

.stage-element {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #FFFFFF;
    text-align: center;
    transition: all 0.5s ease;
}

.light-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(200, 83, 0, 0.3) 0%,
        rgba(200, 83, 0, 0.1) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.light-beam.active {
    opacity: 1;
}

.light-sliders {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.light-sliders label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #CCCCCC;
}

.light-sliders input[type="range"] {
    flex: 1;
}

.light-sliders input[type="color"] {
    width: 30px;
    height: 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* Special Effects Console */
.effects-playground {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.effects-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #FFFFFF;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.particle-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.effects-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Film Processing Lab */
.processing-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 20px;
}

.film-strip-demo {
    display: flex;
    gap: 5px;
    background: #333;
    padding: 10px;
    border-radius: 5px;
}

.film-frame {
    width: 40px;
    height: 50px;
    background: #555;
    border: 2px solid #666;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.film-frame.processed {
    background: #C85300;
    border-color: #D46E25;
    transform: scale(1.1);
}

.processing-indicator {
    font-size: 0.9rem;
    color: #CCCCCC;
    text-align: center;
}

/* Sound Mixing Board */
.sound-visualizer {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 100%;
    padding: 20px 0;
}

.sound-bar {
    width: 20px;
    background: linear-gradient(180deg, #C85300, #D46E25);
    border-radius: 2px;
    height: var(--height);
    transition: height 0.3s ease;
    animation: soundPulse 1.5s ease-in-out infinite;
}

.sound-bar:nth-child(odd) {
    animation-delay: 0.2s;
}

.sound-bar:nth-child(even) {
    animation-delay: 0.4s;
}

@keyframes soundPulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

.sound-visualizer.playing .sound-bar {
    animation-duration: 0.5s;
}

/* Motion Graphics Workstation */
.motion-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.motion-element {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: #FFFFFF;
    background: rgba(200, 83, 0, 0.2);
    border: 2px solid #C85300;
    border-radius: 5px;
    padding: 10px 15px;
    transition: all 0.5s ease;
}

#motionElement1 {
    top: 20%;
    left: 10%;
}

#motionElement2 {
    top: 50%;
    right: 10%;
}

#motionElement3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.motion-element.animated {
    animation: motionFloat 3s ease-in-out infinite;
}

@keyframes motionFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -10px) rotate(5deg); }
    50% { transform: translate(-10px, -20px) rotate(-3deg); }
    75% { transform: translate(15px, -5px) rotate(2deg); }
}

/* Behind the Scenes Section */
.behind-scenes {
    padding: 100px 0;
    background: #29292b;
    position: relative;
}

.behind-scenes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.015) 1px, transparent 1px),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 70px 70px, 120px 120px;
    animation: behindScenesGrain 12s infinite linear;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes behindScenesGrain {
    0% { background-position: 0 0, 40px 60px; }
    100% { background-position: 70px 70px, 160px 180px; }
}

.behind-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.coming-soon-item {
    background: #323233;
    border: 3px solid #3f3f3f;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.coming-soon-item::before {
    content: 'COMING SOON';
    position: absolute;
    top: 4px;
    right: -38px;
    background: #C85300;
    color: #FFFFFF;
    padding: 5px 40px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    transform: rotate(20deg);
    border-radius: 2px;
}

.coming-soon-item:hover {
    transform: translateY(-8px);
    border-color: #C85300;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(200, 83, 0, 0.4);
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #C85300, #D46E25);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(200, 83, 0, 0.4);
}

.coming-soon-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.coming-soon-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #CCCCCC;
}


/* ========== ENHANCED FOOTER WITH SUBTLE ENTRY ========== */
.footer {
    background: linear-gradient(180deg, #070707 0%, #000000 100%);
    padding: 80px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(200, 83, 0, 0.3);
    box-shadow: 0 -4px 20px rgba(200, 83, 0, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.02) 1px, transparent 1px), 
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: filmGrain 6s infinite;
    pointer-events: none;
    opacity: 0.3;
    will-change: background-position;
}

/* Subtle top glow effect */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 83, 0, 0.4) 25%,
        rgba(212, 110, 37, 0.6) 50%, 
        rgba(200, 83, 0, 0.4) 75%,
        transparent 100%);
    animation: subtleGlow 8s ease-in-out infinite;
}

.footer-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #D46E25;
}

.footer-separator {
    color: #555;
    font-size: 0.75rem;
}

@keyframes subtleGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.footer-content {
    position: relative;
    z-index: 2;
}

.cta-section {
    margin-bottom: 60px;
}

.cta-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.cta-section p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #CCCCCC;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    transition: transform 0.3s ease;
    will-change: transform;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-divider {
    width: calc(100% - 40px);
    max-width: 1160px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #333, transparent);
    margin: 0 auto 40px auto;
}

.copyright {
    text-align: center;
}

.copyright-frame {
    display: inline-block;
    position: relative;
    padding: 12px 30px;
    background: #29292b;
    border: 1px solid #3f3f3f;
    border-radius: 6px;
}

.film-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    background-image: repeating-linear-gradient(0deg, 
        #3f3f3f 0px, #3f3f3f 6px, 
        #1D1D1F 6px, #1D1D1F 8px);
}

.film-edge.left {
    left: 0;
    border-radius: 6px 0 0 6px;
}

.film-edge.right {
    right: 0;
    border-radius: 0 6px 6px 0;
}

.copyright-text {
    font-size: 0.9rem;
    color: #C85300;
    font-weight: 500;
    position: relative;
    z-index: 1;
}



/* Responsive Design */
@media (max-width: 1024px) {
    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .coming-soon-grid {
        grid-template-columns: repeat
        (auto-fit, minmax(200px, 1fr));
   }
}

@media (max-width: 768px) {
    /* Header adjustments */
    .atmospheric-nav {
        display: none;
    }

    .mobile-trigger {
        display: block;
    }

    .header-content {
        padding: 0 25px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .theater-header {
        height: 75px;
        box-shadow: 0 3px 15px rgba(200, 83, 0, 0.25), 
                    0 6px 30px rgba(200, 83, 0, 0.12);
    }

    body {
        padding-top: 75px;
    }

    .cinema-mobile-nav {
        top: 0;
    }

    .mobile-nav-link {
        font-size: 1.6rem;
        letter-spacing: 2px;
        padding: 16px 35px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

   .studio-hero {
       min-height: 70vh;
       padding-top: 40px;
   }

   .studio-content {
       padding: 0 25px;
   }

   .studio-title {
       font-size: 3rem;
   }

   .equipment-content {
       padding: 0 25px;
   }

   .equipment-grid {
       grid-template-columns: 1fr;
       gap: 20px;
   }

   .equipment-frame {
        height: auto;
        min-height: 450px; /* Increased from 350px */
    }

   .coming-soon-grid {
       grid-template-columns: 1fr;
   }

   .mobile-nav-link {
       font-size: 1.5rem;
       letter-spacing: 2px;
   }

   .clapper-top,
    .clapper-board {
        width: 200px; /* Increased from 180px */
    }

    .clapper-board {
        height: 90px; /* Increased from 80px */
        padding: 12px; /* Increased from default */
    }

    .clapper-field {
        font-size: 0.75rem; /* Slightly larger than 0.7rem */
        margin-bottom: 3px; /* Add space between fields */
    }

    .studio-clapper {
        margin-bottom: 40px; /* Add space below the clapper board specifically */
    }

   .behind-content {
       padding: 0 25px;
   }

   .equipment-screen {
        min-height: 200px; /* Ensure minimum height for content */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Color Grading Station - Make 6 colors visible on mobile */
    .color-preview {
        width: 100%;
        height: 150px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .color-section {
        min-height: 40px;
    }
    
    .color-section::after {
        font-size: 0.5rem;
    }
    
    /* Sound Visualizer - Ensure bars are visible */
    .sound-visualizer {
        height: 120px;
        padding: 10px 0;
    }
    
    .sound-bar {
        min-height: 20px;
    }
    
    /* Motion Canvas - Ensure elements are positioned correctly */
    .motion-canvas {
        height: 150px;
        position: relative;
    }
    
    .motion-element {
        font-size: 1rem;
        padding: 8px 12px;
    }

    .studio-hero .shape-1 {
        width: 250px;
        height: 250px;
        top: -100px;
        right: -100px;
    }

    .studio-hero .shape-2 {
        width: 200px;
        height: 200px;
        bottom: -75px;
        left: -75px;
    }

    .studio-hero .shape-3 {
        width: 120px;
        height: 120px;
        top: 45%;
        right: 5%;
    }
}

@media (max-width: 480px) {
    .theater-header {
        height: 65px;
        box-shadow: 0 2px 12px rgba(200, 83, 0, 0.2), 
                    0 4px 25px rgba(200, 83, 0, 0.1);
    }

    body {
        padding-top: 65px;
    }

    .cinema-mobile-nav {
        top: 0;
    }

    .header-content {
        padding: 0 20px;
    }

    .mobile-trigger {
        width: 34px;
        height: 26px;
    }

    .trigger-line {
        width: 12px;
        margin: 2.5px 0;
    }

    .mobile-nav-link {
        font-size: 1.4rem;
        letter-spacing: 2px;
        padding: 14px 30px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

   .studio-title {
       font-size: 2.5rem;
   }

   .equipment-content,
   .behind-content {
       padding: 0 20px;
   }

   .equipment-frame {
        padding: 20px;
        min-height: 420px; /* Increased from 320px */
    }

   .clapper-top,
    .clapper-board {
        width: 180px; /* Increased from 160px */
    }

    .clapper-board {
        height: 100px; /* Increased from 70px */
        padding: 10px; /* Increased from 8px */
    }

    .clapper-field {
        font-size: 0.7rem; /* Keep readable size */
        margin-bottom: 2px;
    }

    .studio-clapper {
        margin-bottom: 30px; /* Slightly less on very small screens */
    }

    .studio-hero .shape-1 {
        width: 180px;
        height: 180px;
        top: -75px;
        right: -75px;
    }

    .studio-hero .shape-2 {
        width: 150px;
        height: 150px;
        bottom: -50px;
        left: -50px;
    }

    .studio-hero .shape-3 {
        width: 100px;
        height: 100px;
        top: 40%;
        right: 3%;
    }
    
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #C85300 0%, #D46E25 50%, #FF8C00 100%);
    border-radius: 10px;
    border: 2px solid #0A0A0A;
    box-shadow: 0 0 10px rgba(200, 83, 0, 0.5);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #D46E25 0%, #FF8C00 50%, #FFA500 100%);
    box-shadow: 0 0 15px rgba(200, 83, 0, 0.8);
    transform: scale(1.1);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #B8460F 0%, #C85300 50%, #D46E25 100%);
}

::-webkit-scrollbar-corner {
    background: #0A0A0A;
}

/* Firefox scrollbar support */
html {
    scrollbar-width: thin;
    scrollbar-color: #C85300 #0A0A0A;
    scroll-behavior: smooth;
}