/* ==========================================================================
   PREMIUM LUXURY DESIGN SYSTEM - ASYMMETRICAL VISUAL GALLERY
   Palette: Rich Obsidian Navy (#0a1529), Imperial Gold (#c5a059),
            Champagne White (#f4f6f9), Slate Onyx (#1e2530)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.75;
    color: #1e2530;
    background-color: #f4f6f9; /* Uniform light framework background */
    overflow-x: hidden;
}

/* Custom classy scrollbar */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: #f4f6f9;
}
body::-webkit-scrollbar-thumb {
    background: #c5a059;
    border-radius: 4px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gold-text {
    color: #c5a059 !important;
}

.font-bold {
    font-weight: 700;
}

/* GLOBAL SCROLL ANIMATION CONFIGURATION */
.animate-section {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.215, 0.610, 0.355, 1), 
                transform 1s cubic-bezier(0.215, 0.610, 0.355, 1);
    will-change: transform, opacity;
}

.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   1. PREMIUM FIXED NAV BAR (MODERN VIP GLASS LAYOUT)
   ========================================================================== */
.main-header {
    background-color: rgba(10, 21, 41, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 16px;
    color: #d1d5db;
    position: relative;
}

.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    width: 0;
    height: 1.5px;
    background-color: #c5a059;
    transition: width 0.3s ease;
}

.nav-menu a:hover:not(.nav-cta)::after, 
.nav-menu a.active:not(.nav-cta)::after {
    width: calc(100% - 32px);
}

.nav-menu a:hover:not(.nav-cta),
.nav-menu a.active:not(.nav-cta) {
    color: #c5a059;
}

.nav-cta {
    background: transparent;
    border: 1px solid #c5a059;
    color: #c5a059 !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: #c5a059;
    color: #0a1529 !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

/* Premium Hamburger Trigger Asset (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2100;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu-toggle .bar:nth-child(2) {
    width: 80%;
    align-self: flex-end;
}

/* Hamburger state transformations during toggle activation */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #c5a059;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #c5a059;
}

/* MAIN STRUCTURE CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 90px 20px;
}

.section-tag {
    display: block;
    color: #c5a059;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ==========================================================================
   NEW VIP SECTION 1: CINEMATIC ASYMMETRICAL GALLERY HERO (THE SHOWSTOPPER)
   ========================================================================== */
.cinematic-gallery-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: linear-gradient(135deg, #0a1529 0%, #050c18 100%);
    color: #ffffff;
    min-height: 540px;
    margin-bottom: 80px;
    box-shadow: 0 25px 65px rgba(6, 12, 24, 0.18);
    position: relative;
    overflow: hidden;
}

.gallery-text-pane {
    padding: 65px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.lens-status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 7px 15px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #cbd5e1;
    width: fit-content;
    margin-bottom: 25px;
    border-radius: 40px;
}

/* Pulsing live dot for interaction look */
.pulse-dot {
    width: 6px;
    height: 6px;
    background: #c5a059;
    border-radius: 50%;
    margin-right: 9px;
    box-shadow: 0 0 10px #c5a059;
}

.cinematic-gallery-hero h2 {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 22px;
}

.gold-gradient-glow {
    background: linear-gradient(90deg, #f3d79a 0%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.luxury-signature-line {
    width: 70px;
    height: 3px;
    background: #c5a059;
    margin-bottom: 25px;
}

.cinematic-gallery-hero p {
    font-size: 1.08rem;
    color: #94a3b8;
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 35px;
    font-weight: 300;
}

.camera-specs-strip {
    display: flex;
    gap: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
}

.metric-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.metric-lbl {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Right Window Styling */
.gallery-visual-window {
    position: relative;
    overflow: hidden;
    background: #050c18;
}

.gallery-visual-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.05);
    transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-gallery-hero:hover .gallery-visual-window img {
    transform: scale(1.07);
}

.curator-glass-tag {
    position: absolute;
    bottom: 35px;
    left: 35px;
    background: rgba(10, 21, 41, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 22px 28px;
    max-width: 300px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.curator-glass-tag span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 4px;
}

.curator-glass-tag p {
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.4;
}

/* ==========================================================================
   SECTION 2: EDITORIAL BANNER SHOWCASE
   ========================================================================== */
.editorial-banner-section {
    margin-bottom: 70px;
}

.editorial-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(10,21,41,0.06);
}

.editorial-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.editorial-wrapper:hover img {
    transform: scale(1.02);
}

.editorial-overlay-card {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(10, 21, 41, 0.95);
    border-left: 4px solid #c5a059;
    padding: 35px;
    max-width: 460px;
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.card-tag {
    font-size: 0.72rem;
    color: #c5a059;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.editorial-overlay-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.editorial-overlay-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 3: ASYMMETRIC ALTERNATING GRID (OLD DUBAI)
   ========================================================================== */
.asymmetric-showcase {
    background: #ffffff;
    padding: 50px;
    margin-bottom: 70px;
    border: 1px solid rgba(10,21,41,0.03);
}

.asym-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.asym-info-block h3 {
    font-size: 2.2rem;
    color: #0a1529;
    margin-bottom: 15px;
    font-weight: 700;
}

.asym-info-block p {
    color: #4a5568;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.asym-media-block .frame-decor {
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.asym-media-block .frame-decor img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* ==========================================================================
   SECTION 4: 3-COLUMN INTERACTIVE HOVER GRID
   ========================================================================== */
.multi-card-section {
    margin-bottom: 70px;
}

.section-heading {
    font-size: 2rem;
    color: #0a1529;
    margin-bottom: 35px;
    font-weight: 700;
}

.masonry-style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.interactive-media-card {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.media-container {
    position: relative;
    overflow: hidden;
    background: #0a1529;
}

.media-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), 
                opacity 0.5s ease;
}

.hover-sliding-caption {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 21, 41, 0.98) 40%);
    padding: 30px 25px;
    color: #ffffff;
    transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.interactive-media-card:hover .hover-sliding-caption {
    bottom: 0;
}

.interactive-media-card:hover img {
    transform: scale(1.05);
    opacity: 0.35;
}

.hover-sliding-caption h4 {
    color: #c5a059;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.hover-sliding-caption p {
    font-size: 0.92rem;
    color: #d1d5db;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 5: PREMIUM DARK CINEMATIC BREAKOUT PANEL
   ========================================================================== */
.dark-cinematic-breakout {
    background: #0a1529;
}

.cinematic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.cinematic-visual img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.cinematic-context {
    padding: 60px;
}

.dark-title {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.gold-lead-line {
    color: #c5a059;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.dark-para {
    color: #cbd5e1 !important;
    font-size: 1.02rem;
    margin-bottom: 30px;
}

.visual-specs {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
}

.spec-unit {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.spec-value {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================================================
   UNIFORM BRAND FOOTER LAYOUT
   ========================================================================== */
.main-footer {
    background-color: #0a1529;
    color: #ffffff;
    border-top: 3px solid #c5a059;
    padding: 80px 0 30px 0;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 380px;
}

.footer-links-col h4, 
.footer-academic h4 {
    color: #c5a059;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-academic p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-academic .stu-info {
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

.image-attribution {
    font-size: 0.75rem;
    color: #475569;
    margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVENESS BREAKPOINTS MATRIX
   ========================================================================== */
@media (max-width: 992px) {
        .menu-toggle {
        display: flex;
    }

    /* Transforming nav links block to sliding drawer layout */
    .nav-menu {
        position: fixed;
        top: 61px; /* Aligns perfectly right under the header */
        right: -100%;
        width: 280px;
        height: calc(100vh - 61px);
        background-color: rgba(10, 21, 41, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 40px 30px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-left: 1px solid rgba(197, 160, 89, 0.15);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 1999;
    }

    /* Active drawer injection */
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
        text-align: left;
    }

    .nav-menu a:not(.nav-cta)::after {
        left: 0;
    }

    .nav-menu a:hover:not(.nav-cta)::after, 
    .nav-menu a.active:not(.nav-cta)::after {
        width: 40px; /* Short premium dynamic line marker */
    }

    .nav-cta {
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }
    .container { padding: 40px 20px; }
    
    .cinematic-gallery-hero { grid-template-columns: 1fr; min-height: auto; }
    .gallery-text-pane { padding: 45px 30px; }
    .gallery-visual-window { height: 350px; }
    
    .editorial-wrapper img { height: 380px; }
    .editorial-overlay-card { position: static; max-width: 100%; padding: 25px; }
    .asym-layout, .masonry-style-grid, .cinematic-grid { grid-template-columns: 1fr; gap: 35px; }
    .asymmetric-showcase, .cinematic-context { padding: 35px 25px; }
    .asym-media-block .frame-decor img, .cinematic-visual img { height: 320px; }
    .media-container img { height: 320px; }
    
    .hover-sliding-caption { bottom: 0; background: rgba(10, 21, 41, 0.85); }
    .media-container img { opacity: 0.5; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
     .menu-toggle {
        display: flex;
    }

    /* Transforming nav links block to sliding drawer layout */
    .nav-menu {
        position: fixed;
        top: 61px; /* Aligns perfectly right under the header */
        right: -100%;
        width: 280px;
        height: calc(100vh - 61px);
        background-color: rgba(10, 21, 41, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 40px 30px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-left: 1px solid rgba(197, 160, 89, 0.15);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 1999;
    }

    /* Active drawer injection */
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
        text-align: left;
    }

    .nav-menu a:not(.nav-cta)::after {
        left: 0;
    }

    .nav-menu a:hover:not(.nav-cta)::after, 
    .nav-menu a.active:not(.nav-cta)::after {
        width: 40px; /* Short premium dynamic line marker */
    }

    .nav-cta {
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }
    .cinematic-gallery-hero h2 { font-size: 2.3rem; }
    .asym-info-block h3, .section-heading, .dark-title { font-size: 1.8rem; }
}