/* ========================================
   DEODAR - Premium Wooden Panels Website
   ======================================== */

/* CSS Variables */
:root {
    --color-dark: #121212;
    --color-accent: #64748B; /* Blue-gray accent */
    --color-accent-light: #94A3B8;
    --color-cream: #F5F5F3;
    --color-grey: #888888;
    --color-white: #FFFFFF;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-dark);
    background-color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   NAVIGATION - Hides on scroll
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 20px 40px;
    transition: transform 0.4s var(--transition-smooth), opacity 0.4s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    gap: 32px;
}

.logo {
    color: var(--color-white);
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.logo-img {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    overflow: hidden;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-buttons .btn-catalogue,
.nav-buttons .btn-textures {
    padding: 10px 22px;
    font-size: 0.75rem;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    position: relative;
}

.menu-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay - hidden by default, only shown on mobile */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.menu-content {
    text-align: center;
}

.menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu-links a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-links a:hover,
.menu-links a.active {
    color: var(--color-accent);
}

/* ========================================
   NEW TOP BANNER - Looping Video Only
   (no text/buttons; only navbar floats above)
   ======================================== */
.video-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000000;
}

.video-banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.20) 45%, rgba(0,0,0,0.55) 100%);
    z-index: 2;
    pointer-events: none;
}

.video-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
    padding: 0 24px;
    color: #ffffff;
}

.video-banner-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 6.5vw, 5.2rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 1.25rem 0;
    color: #ffffff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    opacity: 0;
    transform: translateY(20px);
    animation: videoBannerFadeIn 1.2s ease forwards 0.3s;
}

.video-banner-heading em {
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a0 50%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.video-banner-subheading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2.25rem 0;
    letter-spacing: 0.04em;
    max-width: 620px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: videoBannerFadeIn 1.2s ease forwards 0.6s;
}

.video-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.35s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(20px);
    animation: videoBannerFadeIn 1.2s ease forwards 0.9s;
}

.video-banner-cta:hover {
    background: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

.video-banner-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s ease;
}

.video-banner-cta:hover svg {
    transform: translateX(4px);
}

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

@media (max-width: 768px) {
    .video-banner-content {
        padding: 0 20px;
    }
    .video-banner-subheading {
        margin-bottom: 1.75rem;
    }
    .video-banner-cta {
        padding: 14px 28px;
        font-size: 0.8rem;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: #000000;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    color: var(--color-white);
    padding: 0 48px;
    padding-left: 80px;
    max-width: 800px;
    display: none;
}

.hero-image-container {
    display: none;
}

.hero-image {
    display: none;
}

.hero-image-sticky {
    position: absolute;
    left: 50%;
    top: 0;
    transform-origin: center center;
    height: 100vh;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
    will-change: transform;
    /* Hidden by default — the first (video) banner shows no fixture image.
       JS sets opacity to 1 once the user reaches the second (hero) banner,
       then animates rotation while the third (featured) banner scrolls in. */
    opacity: 0;
    transform: translateX(-50%) rotate(0deg);
    transition: opacity 0.4s ease;
}

.hero-image-sticky.loaded {
    opacity: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Hero Animations */
.animate-slide {
    opacity: 0;
    transform: translateX(60px);
    animation: slideIn 0.8s ease forwards;
}

.animate-slide.delay-1 {
    animation-delay: 0.2s;
}

.animate-slide.delay-2 {
    animation-delay: 0.4s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn-catalogue {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-catalogue:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-textures {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-accent);
    border: 1px solid var(--color-accent);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-textures:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    z-index: 10;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-white), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   FEATURED SECTION
   ======================================== */
.featured {
    min-height: 100vh;
    padding: 60px 48px 60px;
    background: #000000;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.featured-top {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    flex-shrink: 0;
}

.featured-bottom {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: auto;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-cta {
    /* Inherits .hero-cta-experience styling; ensure it sits on top of the
       rotating fixture image and uses the dark theme */
    position: relative;
    z-index: 15;
}

.featured-content {
    max-width: 700px;
    margin: 0 auto 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--color-white);
    white-space: nowrap;
}

.featured-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.featured-image-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
    display: none;
}

.featured-image-wrapper {
    transform: scale(0.85);
    transition: transform 0.3s ease-out;
    display: none;
}

.featured-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: none;
}

/* ========================================
   SERIES SECTION - HORIZONTAL SCROLL (Fixed)
   ======================================== */
.series-section {
    position: relative;
    background: var(--color-dark);
}

.series-wrapper {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--color-dark);
}

.series-track {
    display: flex;
    height: 100%;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.series-slide {
    min-width: 100vw;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 80px;
    gap: 80px;
    flex-shrink: 0;
    box-sizing: border-box;
    background: var(--color-dark);
}

.series-slide:nth-child(even) {
    flex-direction: row-reverse;
}

.series-image {
    flex: 1;
    height: 70vh;
    overflow: hidden;
}

.series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: grayscale(100%) brightness(0.7);
}

.series-slide:hover .series-image img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}

/* 3D Model Container - hidden since we use images now */
.series-model {
    display: none;
}

/* Image wrapper - flexes to 50% of available width */
.series-image-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

/* Fallback images - shown on desktop, square shape (1:1) */
.series-fallback-img {
    display: block;
    width: min(50vh, 45vw);
    height: min(50vh, 45vw);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.6s ease;
}

.series-slide:hover .series-fallback-img {
    filter: grayscale(0%) brightness(1);
}

.series-info {
    flex: 1;
    color: var(--color-white);
    padding: 40px;
}

.series-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 300;
    color: var(--color-accent);
    opacity: 0.6;
    display: block;
    margin-bottom: 20px;
}

.series-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 20px;
}

.series-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-grey);
    margin-bottom: 40px;
    max-width: 400px;
}

.btn-know-more {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    position: relative;
    padding-bottom: 8px;
}

.btn-know-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.btn-know-more:hover::after {
    transform: scaleX(1);
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
    padding: 140px 48px;
    background: var(--color-dark);
    text-align: center;
}

.map-content {
    margin-bottom: 60px;
}

.map-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 10px;
}

.map-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.world-map {
    width: 100%;
    filter: grayscale(100%) contrast(0.8);
    opacity: 0.6;
}

/* Country Maps Grid */
.country-maps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.country-map-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.country-map-container {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-map-img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    opacity: 0.85;
}

.country-map-container .map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.country-map-label {
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

@media (max-width: 900px) {
    .country-maps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .country-map-container {
        height: 180px;
    }
}

/* Map Markers */
.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
}

.map-marker.uae {
    top: 36%;
    left: 60%;
}

.map-marker.germany {
    top: 27%;
    left: 52%;
}

.map-marker.qatar {
    top: 36%;
    left: 58%;
}

.marker-dot {
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.marker-dot:hover {
    transform: scale(1.3);
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.marker-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-dark);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-marker:hover .marker-label {
    opacity: 1;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ========================================
   FOOTER - Modern & Attractive
   ======================================== */
.footer {
    background: var(--color-dark);
    padding: 100px 48px 50px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    padding-right: 40px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 24px;
    opacity: 0.9;
}

.footer-tagline {
    color: var(--color-grey);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-cta {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent-light);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 28px;
    color: var(--color-white);
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--color-grey);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.footer-contact p {
    color: var(--color-grey);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-grey);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--color-grey);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--color-grey);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-white);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    .navbar.hidden {
        /* Keep navbar visible on mobile so the menu button is always reachable */
        transform: none;
        opacity: 1;
    }

    .nav-container {
        gap: 0;
    }

    .nav-menu {
        display: none;
    }

    .menu-overlay {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-image-container {
        display: none;
    }

    .hero-image {
        display: none;
    }

    .hero-image-sticky {
        position: fixed;
        right: 0;
        left: 0;
        top: auto;
        bottom: 0;
        height: 30vh;
        max-width: 60%;
        margin: 0 auto;
        opacity: 0;
        transform: none !important;
        z-index: 4;
        pointer-events: none;
    }

    .hero-image-sticky.loaded {
        opacity: 1;
    }

    .hero-content {
        padding: 0 24px;
    }

    .featured {
        padding: 60px 20px;
        min-height: 80vh;
    }
    
    /* Mobile: Stack series vertically */
    .series-section {
        height: auto !important;
    }
    
    .series-wrapper {
        position: relative;
        height: auto;
    }
    
    .series-track {
        flex-direction: column;
        width: 100%;
        transform: none !important;
    }
    
    .series-slide {
        width: 100%;
        min-width: 100%;
        height: auto;
        flex-direction: column !important;
        padding: 60px 24px;
        gap: 40px;
    }
    
    .series-image {
        height: 300px;
        width: 100%;
    }
    
    .series-info {
        padding: 0;
        text-align: center;
    }
    
    .series-desc {
        max-width: 100%;
    }
    
    .series-number {
        font-size: 3rem;
    }
    
    /* Hide 3D models on mobile - too heavy */
    .series-model {
        display: none !important;
    }
    
    .series-fallback-img {
        display: block !important;
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .map-section {
        padding: 80px 24px;
    }
    
    .footer {
        padding: 60px 24px 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-tagline {
        max-width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
