/* 
   THE EYES OF DUBAI - LVMH MEGA-LUXURY ARCHITECTURE (Full Bleed)
*/

:root {
    --clr-bg: #FFFFFF;
    --clr-text: #000000;
    --clr-text-inverse: #FFFFFF;
    --bg-color: #000;
    --text-color: #FFF;
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Cinzel', serif;
}

body.dubai-day {
    --bg-color: #110e0c; /* Deep desert taupe for day */
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Hide Scrollbar Global */
::-webkit-scrollbar {
    display: none;
}
html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Lenis Smooth Scroll Recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* 1. Editorial Noise Overlay */
#noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. Cinematic Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 2147483647 !important;
    overflow: hidden;
}
#preloader::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/images/preloader-bg.webp') center center no-repeat;
    background-size: cover;
    z-index: 2147483647 !important;
    transform: scale(1);
    animation: preloaderZoom 3s ease-out forwards;
}

@keyframes preloaderZoom {
    0% { transform: scale(1); filter: brightness(0.6); }
    100% { transform: scale(1.03); filter: brightness(1); }
}
/* Layout Utilities */
.campaign-content {
    position: relative;
    z-index: 2;
    padding: 0 10vw; /* Massive margins */
    width: 100%;
}
.campaign-content.bottom-align {
    position: absolute;
    bottom: 10vh;
    left: 0;
}
.campaign-content.center-align {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.preloader-content {
    text-align: center;
    overflow: hidden;
}
.preloader-logo {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.2em;
    color: #FFF;
    opacity: 0;
    transform: translateY(20px);
}
.preloader-line {
    width: 0%;
    height: 1px;
    background-color: #FFF;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
}

/* 3. Lookbook Image Hover (Clean) */
.lookbook-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.lookbook-card:hover .lookbook-img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Native Fade-Up Start States */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1, h2, h3, .logo, .title-hero { font-family: var(--font-heading); font-weight: 500; }
.logo {
    font-size: 1.2rem;
    letter-spacing: 0.25em; /* Expanded tracking */
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}
.title-hero {

        font-size: clamp(3rem, 12vw, 10rem); /* MASSIVE Editorial Typography */
    line-height: 0.9; /* Tighter line height for huge fonts */
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 1; /* FIXED TO PURE WHITE/BLACK */
    max-width: 600px;
    line-height: 1.8;
}
.text-body {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 600px;
    line-height: 1.8;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    z-index: 1000;
    background: transparent;
    transition: opacity 0.4s ease, color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
    color: var(--clr-text-inverse);
}

.logo {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: inherit;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Cool Line Hover Effect */
.nav-links a, 
.navbar .logo, 
.lang-switcher button, 
.footer-col > a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.navbar .logo:hover, 
.lang-switcher button:hover, 
.footer-col > a:hover {
    color: #b59b74;
}

.nav-links a::after,
.navbar .logo::after,
.footer-col > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #b59b74;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.navbar .logo:hover::after,
.footer-col > a:hover::after {
    width: 100%;
}

.lang-switcher button {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 1rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.lang-switcher button.active, .lang-switcher button:hover {
    opacity: 1;
}

/* LV Mega-Luxury Blocks (Full Bleed) */
.campaign-block {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Tactile Brutalism */
}

/* Background image filling the entire block, scaled for parallax */
.campaign-image {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    animation: imageZoomInOut 20s ease-in-out infinite alternate;
}

/* Dark gradient overlay to guarantee text readability */
.campaign-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

/* Stark Geometry Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--clr-text-inverse);
    color: var(--clr-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 600;
    transition: opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    margin-top: 2rem;
}

.btn-primary:hover {
    background: #E5E5E5;
}

.btn-outline {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    color: var(--clr-text-inverse);
    border: 1px solid var(--clr-text-inverse);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 600;
    transition: opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    margin-top: 2rem;
}

.btn-outline:hover {
    background: var(--clr-text-inverse);
    color: var(--clr-text);
}

/* Footer */
footer {
    background: #000000;
    color: #FFFFFF;
    padding: 5rem 3rem 2rem;
    border-top: 1px solid #222222;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h3 {
    font-size: 0.8rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
}

.footer-col a, .footer-col p {
    display: inline-block;
    width: fit-content;
    color: #AAAAAA;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #FFFFFF;
}

.copyright {
    color: #666666;
    font-size: 0.75rem;
    border-top: 1px solid #222222;
    padding-top: 2rem;
    text-align: center;
}


/* Lookbook Carousel - Tactile Brutalism */
.lookbook-section {
    padding: 15vh 0; /* Huge vertical whitespace */
    background: #000;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.lookbook-section .campaign-content {
    margin-bottom: 8vh;
}
.lookbook-carousel {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.lookbook-carousel::-webkit-scrollbar {
    display: none;
}
.lookbook-track {
    display: flex;
    gap: 3vw;
    padding: 0 10vw; /* Align with campaign-content massive margins */
    width: max-content;
}
.lookbook-card {
    width: clamp(280px, 70vw, 400px);
    aspect-ratio: 3/4;
    height: auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1); /* Tactile 1px border */
}
.lookbook-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.lookbook-card:hover img {
    transform: scale(1.05);
}

/* Style Quiz Form - Ultra Luxury */
.style-quiz-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Better spacing */
    margin-top: 2rem;
}
.style-quiz-form .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
}
.style-quiz-form label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: #FFF;
    font-weight: 500;
}
.style-quiz-form input[type="text"] {
    padding: 0.8rem 0;
    font-size: 1.2rem;
    font-family: var(--font-primary);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2); /* Soft 1px border */
    background: transparent;
    color: #FFF;
    border-radius: 0;
    outline: none;
    transition: border-color 0.4s ease;
}

.style-quiz-form input[type="text"]:focus {
    border-bottom: 1px solid #FFF;
}

/* Luxury Radio Buttons */
.luxury-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.luxury-radio {
    display: block;
    position: relative;
    cursor: pointer;
}
.luxury-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.radio-label {
    display: block;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
    color: #AAA;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.luxury-radio:hover input ~ .radio-label {
    border-color: rgba(255,255,255,0.4);
    color: #FFF;
}
.luxury-radio input:checked ~ .radio-label {
    border-color: #FFF;
    color: #000;
    background: #FFF;
}

.style-quiz-form .btn-primary {
    width: 100%;
    border: 1px solid #FFF;
    cursor: pointer;
    background: #FFF;
    color: #000;
    margin-top: 2rem;
    padding: 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: opacity 0.4s ease, color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
.style-quiz-form .btn-primary:hover {
    background: #000;
    color: #FFF;
}

/* ---------------------------------------------
   MODAL & FLOATING CTA (Private Club Application)
   --------------------------------------------- */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #FFF;
    color: #000;
    border: 1px solid #000;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    z-index: 9900;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 2px;
 border: 1px solid #000;}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2147483647 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    overflow: hidden; /* No scroll on overlay */
}

.modal-content {
    background: transparent;
    padding: 2rem;
    width: 100vw;
    height: 100vh;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transform: translateY(30px);
    border: none;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    color: #FFF;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

@media (max-width: 9999px) {
    .nav-links { display: none; }
    .navbar { justify-content: center; }
    .navbar { padding: 0.8rem 1rem !important; background: rgba(0,0,0,0.4) !important; border: none !important; }
    .navbar * { color: #FFF !important; }
    .logo { font-size: 0.85rem !important; }

    .footer-grid { grid-template-columns: 1fr; }
    
    .campaign-content {
        padding: 0 5vw; /* Smaller margins for mobile */
    }
    .campaign-content.bottom-align {
        bottom: 5vh;
        left: 5vw;
        right: 5vw;
    }
    
    /* Move home title to top in mobile and crop image to shoulders */
    #home .campaign-image {
        object-position: center bottom;
    }
    #home .campaign-content {
        justify-content: flex-start;
        padding-top: 20vh;
    }

    .title-hero {

        font-size: clamp(2.5rem, 15vw, 6rem); /* Adjust huge text for mobile */
    }
    .modal-content {
        padding: 3rem 1.5rem;
    }
    .modal-close {
        top: 1rem;
        right: 1.5rem;
    }
    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }
    
    /* Mobile Access Form Adjustments */
    .access-container {
        padding: 1rem !important;
    }

/* Luxury Submit Button */
.btn-luxury-submit {
    display: block;
    width: 100%;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: transparent;
    color: var(--clr-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.btn-luxury-submit:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
}



/* Social SVG hover */
.social-icon {
    display: inline-block;
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icon:hover {
    color: #b59b74;
    transform: scale(1.2) translateY(-3px);
}




#home .title-hero, #home .subtitle { color: #FFF !important; }

@media (min-width: 1025px) {
    #home .title-hero, #home .subtitle { color: #000 !important; }
}






/* Animation Tweaks */
.overlapping-text-box.fade-up { transition-delay: 0.3s; }
.overlapping-image-container { overflow: hidden; }
.overlapping-image-container img.vertical-img { transform: scale(1.15); transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.overlapping-image-container.visible img.vertical-img { transform: scale(1); }


@keyframes imageZoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}
