/* ── Reset ── */
*, *::before, *::after {margin: 0;padding: 0;box-sizing: border-box;text-align: center;}

:root {
    --accent-color: #ff4a49;
    --dark-bg: #1f1e1e;
    --dark-gray: #0a0a0a;
    --medium-gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --text-light-gray: #999999;
    --transition: all 0.3s ease;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

html { 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
    overflow-x: hidden;
}
html::-webkit-scrollbar { display: none; }

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #0c0c0e;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    background-attachment: fixed;
    animation: gridMove 4s linear infinite;
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* ── Hyperlinks ── */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

a:not(.btn):not(.nav-item):not(.nav-logo):not(.portfolio-grid-item):not(.equipment-card):not(.dropdown-content li a) {
    color: var(--accent-color);
    font-weight: 500;
}

a:not(.btn):not(.nav-item):not(.nav-logo):not(.portfolio-grid-item):not(.equipment-card):not(.dropdown-content li a)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

a:not(.btn):not(.nav-item):not(.nav-logo):not(.portfolio-grid-item):not(.equipment-card):not(.dropdown-content li a):hover::after {
    width: 100%;
}

/* ── NAV ── */
.studio-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 2000;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.studio-nav.scrolled {
    background: rgba(0,0,0,1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
}

.nav-logo {
    position: absolute;
    left: 50px;
    height: 80px;
    display: flex;
    align-items: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-decoration: none;
}

.nav-logo img {height: 155%;width: auto;}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-gray);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2.2px;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-item:hover { color: var(--text-white); background: rgba(255,255,255,0.05); }
.nav-item.active { color: var(--accent-color) !important; border-bottom-color: var(--accent-color); }

.nav-cta { 
    background: var(--accent-color) !important; 
    color: white !important; 
    padding: 10px 35px !important;
    border-radius: 6px;
    font-weight: 700;
    margin-left: 15px;
    transition: all 0.3s ease !important;
}
.nav-cta.active { color: white !important; border-bottom-color: transparent !important; }
.nav-cta:hover { background: white !important; color: black !important; transform: translateY(-2px); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15,15,15,0.98);
    min-width: 240px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 15px 0;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content li { list-style: none; }

.dropdown-content li a {
    color: var(--text-gray);
    padding: 12px 25px;
    text-decoration: none;
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.dropdown-content li a:hover {
    color: var(--accent-color);
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

/* Equipment Specific Reveals */
.reveal-eq-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-eq-left.active { opacity: 1; transform: translateX(0); }

.reveal-eq-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-eq-right.active { opacity: 1; transform: translateX(0); }

.reveal-eq-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-eq-up.active { opacity: 1; transform: translateY(0); }

.reveal-eq-left[style*="--delay"],
.reveal-eq-right[style*="--delay"],
.reveal-eq-up[style*="--delay"] {
    transition-delay: var(--delay);
}

.stagger-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stagger-item.active { opacity: 1; transform: translateX(0); }

/* ── Scroll to Top ── */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.scroll-to-top.visible { opacity: 1; pointer-events: all; }

/* ── Generic Section ── */
section { 
    padding: 1.5rem 0; 
    background-color: var(--dark-bg);
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 4s linear infinite;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--accent-color);
}
section:nth-child(even) { background-color: var(--dark-gray); }

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; position: relative; }

.section-header { text-align: center; margin-bottom: 1.5rem; }

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    letter-spacing: 4.4px;
    position: relative;
    padding-top: 0px;
    text-align: center;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--accent-color);
}

.section-header p { font-size: 1.2rem; color: var(--text-gray); font-weight: 300; text-align: center; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2.2px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 6px; /* Tiny bit of rounding */
}
.btn-primary { background: var(--accent-color); color: #fff; }
.btn-primary:hover { background: #fff; color: #000; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text-white); border: 2px solid var(--text-white); }
.btn-secondary:hover { background: var(--text-white); color: #000; }

.see-more-container {
    text-align: center;
    margin-top: 61px; /* Moved down a bit */
    margin-bottom: 30px;
}

/* ── Footer ── */
.footer {
    background-color: var(--dark-bg);
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 4s linear infinite;
    padding: 100px 0 40px;
    border-top: 2px solid var(--accent-color);
    text-align: left; /* Explicitly override global center */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* text-align: center; */
    align-items: anchor-center;
}

.footer-column h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-align: left;
    width: 100%;
}

.footer-logo {
    height: 188px; /* Bigger logo */
    width: auto;
    margin-bottom: 1px;
    display: block;
    object-fit: contain;
}

.footer-about p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 400px;
    text-align: left;
    margin: 0;
    padding-left: 28px;
    margin-top: -18px;
}

.footer-links ul, 
.footer-studios ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.footer-links li, 
.footer-studios li {
    margin-bottom: 15px;
    text-align: left;
}

.footer-links a, 
.footer-studios a {
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
    text-align: left;
    display: inline-block;
}

.footer-links a:hover, 
.footer-studios a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact {
    align-items: flex-start;
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-size: 1.1rem;
}

.footer-email {
    color: var(--accent-color) !important;
    font-weight: 700 !important;
    display: inline-block;
    margin-top: 10px;
    font-size: 1.2rem;
    text-align: left;
    text-decoration: none;
}

.footer-email:hover {
    text-decoration: underline !important;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-start;
    width: 100%;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-white);
}

.social-icon:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
}

.footer-bottom p {
    color: var(--text-light-gray);
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

@media (max-width: 1200px) {
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-column {
        align-items: center;
        text-align: center;
    }
    .footer-column h3, .footer-about p, .footer-contact p, .footer-links li, .footer-studios li, .footer-bottom p {
        text-align: center;
    }
    .footer-links a:hover, .footer-studios a:hover {
    }
    .social-links {
        justify-content: center;
    }
    .footer-logo {
        margin: 0 auto 30px;
        height: 120px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-email {
        text-align: center;
    }
}

/* ══════════════════════════════════════════
   INDEX — Portfolio Section
══════════════════════════════════════════ */
.portfolio-eyebrow {
    font-size: 16px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-light-gray);
    margin-bottom: 19px;
}

.portfolio-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.portfolio-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.portfolio-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(52px, 7vw, 130px);
    line-height: 1.1; /* Increased for Safari */
    letter-spacing: 0.03em; /* Increased by ~10% */
    color: var(--text-white);
    padding: 10px 0; /* Added for Safari */
}

.portfolio-title em {
    font-style: italic;
    color: var(--accent-color);
}

.portfolio-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.portfolio-category {
    display: flex;
    flex-direction: column;
}

.category-items {
    display: flex;
    flex-direction: column;
}

.portfolio-grid-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--medium-gray);
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.portfolio-grid-item:hover { z-index: 10; border-color: var(--accent-color); }

.video-preview-container { width: 100%; height: 100%; position: relative; overflow: hidden; }

.video-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.hover-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-grid-item:hover .hover-video { opacity: 1; }
.portfolio-grid-item:hover img { opacity: 0; }

.youtube-preview-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: none;
    z-index: 1;
}

.portfolio-grid-item:hover .youtube-preview-iframe {
    opacity: 1;
}

.video-preview-container img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
    transform: scale(1.07);
}

.portfolio-grid-item:hover .video-preview-container img {
    opacity: 0;
}

.video-title-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-title-overlay h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.portfolio-grid-item:hover .video-title-overlay h3 { }

.cat-header {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--text-white);
    letter-spacing: 2.2px;
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .portfolio-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }

    .category-items {
        gap: 30px;
    }

    .cat-header {
        margin-bottom: 20px;
        font-size: 2.5rem;
        border-bottom: 1px solid var(--accent-color);
        display: inline-block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        padding: 10px 0;
    }

    .portfolio-grid-item {
        border-radius: 12px;
    }
}

/* ── Studio V2 Layout (content.png) ── */
.studios-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.studio-v2-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.studio-v2-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.studio-v2-hero {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    aspect-ratio: 16/10;
}

.studio-v2-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-v2-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.studio-v2-hero-text {
    max-width: 90%;
    margin-bottom: 20px;
}

.studio-v2-hero-text h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    margin: 0;
    line-height: 0.9;
    letter-spacing: 1px;
    text-align: center;
}

.studio-v2-hero-text .tagline {
    font-size: 1.2rem;
    color: #fff;
    margin: 10px 0 15px;
    font-weight: 500;
    text-align: center;
}

.studio-v2-hero-text .description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.studio-v2-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.studio-v2-thumbs img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
}

.studio-v2-content-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.studio-v2-features h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-align: center;
}

.studio-v2-features ul {
    list-style: none;
    padding: 0;
}

.studio-v2-features li {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.studio-v2-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.studio-v2-optional {
    text-align: center;
}

.studio-v2-optional-img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/10;
}

.studio-v2-optional-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-v2-optional h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.studio-v2-optional p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.studio-v2-footer-promo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 60px 30px;
    text-align: center;
    margin-top: auto;
}

.studio-v2-footer-promo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.35);
}

.studio-v2-footer-content {
    position: relative;
    z-index: 1;
}

.studio-v2-footer-content p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Custom button sizing for the new layout */
.studio-v2-card .btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
}

.btn-small {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.85rem !important;
}

@media (max-width: 1400px) {
    .studio-v2-hero-text h3 { font-size: 2.8rem; }
    .studio-v2-content-split { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 1100px) {
    .studios-v2-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .studio-v2-hero-overlay { padding: 20px; }
    .studio-v2-hero-text { max-width: 100%; }
    .studio-v2-hero-text h3 { font-size: 2.5rem; }
}

/* ══════════════════════════════════════════
   INDEX — Studio Spotlight ── */
.studios-spotlight {padding: 0px 0 22px;background-color: var(--dark-bg);}

.studio-spotlight-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
}

.studio-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 30px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.studio-card-visual {
    flex: 1.2;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--medium-gray);
}

.studio-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.05);
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: transform 1s ease, filter 0.5s ease;
}

.grid-divider {
    grid-column: 1 / -1;
    background: var(--accent-color);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2.2px;
    padding: 10px;
    text-transform: uppercase;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-tag {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--accent-color);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    padding: 8px 20px;
    font-size: 1.2rem;
    letter-spacing: 2.2px;
    border-radius: 6px;
    z-index: 2;
}

.studio-card-info {
    flex: 1;
    text-align: left;
}

.studio-card-info-reversed {
    text-align: right !important;
}

.studio-card-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 25px;
    letter-spacing: 2.2px;
    line-height: 1;
    text-align: left;
}

.studio-card-info-reversed h3 {
    text-align: right !important;
}

.studio-features {
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
}

.studio-features li {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.studio-card-info-reversed .studio-features li {
    flex-direction: row-reverse;
    text-align: right;
}

.studio-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.studio-features li span {
    color: var(--text-white);
    font-weight: 700;
}

.studio-card-cta { text-align: left; }
.studio-card-info-reversed .studio-card-cta { text-align: right; }
/* ── Equipment V2 Layout (image.png) ── */
.equipment-v2-grid {
    display: flex;
    flex-direction: column;
    gap: 23px;
    margin-top: 43px;
    max-width: 1125px;
    margin-left: auto;
    margin-right: auto;
}

.equipment-v2-row {
    display: grid;
    gap: 23px;
}

.equipment-v2-row.top {
    grid-template-columns: 1fr 1fr;
    padding: 0 6.5%;
}

.equipment-v2-row.bottom {
    grid-template-columns: repeat(3, 1fr);
}

.equipment-v2-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none !important;
}

.equipment-v2-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.equipment-v2-image {
    width: 100%;
    aspect-ratio: 16/7.2;
    overflow: hidden;
    background: #151515;
    position: relative;
}

.equipment-v2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.equipment-v2-card:hover .equipment-v2-image img {
}

.equipment-v2-content {
    padding: 19px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.equipment-v2-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.68rem;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1;
}

.equipment-v2-content p {
    font-size: 0.86rem;
    color: var(--text-gray);
    line-height: 1.36;
    margin: 0;
}

.equipment-v2-link {
    color: var(--accent-color);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 1.35px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.equipment-v2-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.equipment-v2-card:hover .equipment-v2-link::after {
    transform: translateX(5px);
}

@media (max-width: 1100px) {
    .equipment-v2-row.bottom {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .equipment-v2-row.top,
    .equipment-v2-row.bottom {
        grid-template-columns: 1fr;
    }
    .equipment-v2-content h3 {
        font-size: 1.8rem;
    }
}

/* ══════════════════════════════════════════
   INDEX — Equipment
══════════════════════════════════════════ */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1109px;
    margin: 0 auto;
}

.equipment-card {
    background: var(--medium-gray);
    padding: 1.5rem;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.equipment-card:hover { border-color: var(--accent-color); background: var(--light-gray); }

.equipment-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    letter-spacing: 2.2px;
    transition: color 0.3s ease;
}

.equipment-card:hover h3 { color: var(--accent-color); }
.equipment-card p { color: var(--text-gray); line-height: 1.7; text-align: left; }

/* ══════════════════════════════════════════
   INDEX — About
══════════════════════════════════════════ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 100px auto;
    text-align: left;
}

.about-text {
    text-align: left;
}

.about-text h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2.2px;
    text-align: center;
}

.about-text p { 
    margin-bottom: 1.5rem; 
    color: var(--text-gray); 
    line-height: 1.8; 
    font-size: 1.15rem; 
    text-align: left;
    max-width: 480px; /* Constrain text width for better readability and wrap */
}

.about-image .image-placeholder {
    background: var(--accent-color);
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.about-image .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-preview-container .image-placeholder {
    height: 100%;
    width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.image-placeholder img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Prevents stretching */
    display: block;
}

/* ── INDEX — Contact ── */
.contact {
    padding: 1rem 0 3rem;
}

.contact-form-container {
    max-width: 1100px;
    margin: 20px auto 0;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-white);
    text-align: left;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 15px 20px;
    color: var(--text-white);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: background 0.3s ease, border-color 0.3s ease;
    text-align: left;
    width: 100%;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    cursor: pointer;
}

.form-group select option {
    background-color: #1a1a1c;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    max-height: 500px;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.08);
}

.submit-btn {
    align-self: flex-start;
    margin-top: 10px;
    align-self: anchor-center;
}

.form-status {
    margin-top: 15px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .form-row-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .contact-form-container { padding: 30px 20px; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .submit-btn { width: 100%; }
}

/* ══════════════════════════════════════════
   PORTFOLIO PAGE
══════════════════════════════════════════ */
.portfolio-page-section { padding: 120px 0 60px; }

.full-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-category-divider {
    grid-column: 1 / -1;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--accent-color);
    margin: 40px 0 20px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 10px;
    letter-spacing: 2.2px;
    text-align: center;
}

.studio-info-btn-container {text-align: center;margin-top: 60px;margin-bottom: 82px;}

/* ══════════════════════════════════════════
   STUDIO DETAIL PAGES
══════════════════════════════════════════ */
.studio-detail-section { padding: 140px 0 80px; background: transparent; }

.studio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .studio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .studio-gallery {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    background: var(--medium-gray);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.gallery-item:hover { border-color: var(--accent-color); transform: translateY(-5px); }

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.05);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.04); filter: brightness(1) contrast(1); }

.gallery-info { padding: 12px 16px; }

.gallery-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1.1px;
    color: var(--text-white);
}

.gallery-info p { font-size: 0.9rem; color: var(--text-gray); }

/* ── Video Modal ── */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active { display: flex; }

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2.2px;
}

.video-modal-close:hover { color: var(--accent-color); }

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-modal-close { top: -40px; font-size: 1.2rem; }
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active { 
    display: flex; 
    opacity: 1;
}

.image-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-modal-close {
    position: fixed;
    top: 25px; 
    right: 25px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 45px; 
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.image-modal-close:hover { 
    background: var(--accent-color); 
    transform: rotate(90deg);
}

.modal-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 60px; 
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover { 
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.modal-prev { left: 30px; }
.modal-next { right: 30px; }

.modal-nav-btn.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.modal-image-container { 
    position: relative;
    overflow: hidden; 
    cursor: crosshair;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.modal-image-container img {
    max-width: 85vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.1s ease-out; /* Snappy transition for scroll wheel */
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
}

.modal-text-container { 
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    pointer-events: none;
    z-index: 9100;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.image-modal.zoomed-active .modal-text-container,
.image-modal.zoomed-active .modal-nav-btn {
    opacity: 0;
    visibility: hidden;
}

.modal-text-container h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 0;
}

.modal-text-container p { 
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem; 
    margin: 5px 0 0 0;
}

@media (max-width: 768px) {
    .modal-nav-btn {
        width: 45px;
        height: 45px;
    }
    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }
    .image-modal-close { top: 15px; right: 15px; }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2002;
    position: absolute;
    right: 20px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hamburger Active State */
.mobile-nav-toggle.active .hamburger { background: transparent; }
.mobile-nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.mobile-nav-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .nav-logo { position: static; margin-right: 20px; height: 60px; }
    .nav-container { justify-content: space-between; padding: 0 20px; }
    .nav-links { gap: 5px; }
    .nav-item { padding: 8px 12px; font-size: 0.85rem; }
    .full-portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .portfolio-4x2-grid { grid-template-columns: repeat(2,1fr); }
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .image-placeholder { height: 350px; margin-top: 20px; }
    .studio-card { flex-direction: column !important; gap: 30px; padding: 25px; }
    .studio-card-info h3 { font-size: 2.5rem; text-align: center; }
    .studio-card-info { text-align: center; }
    .studio-features li { justify-content: center; }
    .studio-card-cta { text-align: center; }
}

@media (max-width: 768px) {
    .mobile-nav-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-left: 1px solid rgba(255,255,255,0.1);
        z-index: 2001;
    }

    .nav-links.active { right: 0; }
    
    .nav-container { justify-content: space-between; }
    .nav-logo { margin-right: 0; }
    
    .dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .dropdown.active .dropdown-content {
        max-height: 500px;
        padding: 10px 0;
    }

    .nav-item { border-bottom: none; font-size: 1.2rem; }

    .full-portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-hero { height: 60vh; }
    .portfolio-title { font-size: 3.5rem; }
    
    .section-header h2 { font-size: 2.5rem; padding-top: 30px; }
    .section-header h2::after { width: 100px; }
    
    .portfolio-category-headers { 
        grid-template-columns: 1fr 1fr; 
        gap: 10px; 
        padding: 10px;
    }
    .cat-header { font-size: 1.2rem; }
    
    .portfolio-4x2-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .portfolio-grid-item {
        border-radius: 12px;
    }

    .studio-card-visual { width: 100%; }
}

@media (max-width: 576px) {
    .container { padding: 0 15px; }
    .equipment-grid { grid-template-columns: 1fr; }
    .equipment-card { padding: 1.5rem; }
    
    .contact-info h3 { font-size: 32px; }
    .info-item p { font-size: 18px; }
    
    .studio-card-info h3 { font-size: 2rem; }
}

/* Ensure no element causes horizontal overflow */
img, video, iframe, .container, .studios-split, .portfolio-4x2-grid {
    max-width: 100%;
    height: auto;
}/* Ensure no element causes horizontal overflow */
img, video, iframe, .container, .studios-split, .portfolio-4x2-grid {
    max-width: 100%;
    height: auto;
}o;
}: auto;
}uto;
}