/* ==========================================================
   STYLE SYSTEM: WALK THE WORLD (UNDER CONSTRUCTION)
   Theme: High Contrast Luxury Light & Deep Bronze/Charcoal
   ========================================================== */

:root {
    /* Base Colors - Premium Light Theme with High Contrast */
    --color-bg-dark: #FAF8F5; /* Warm alabaster background */
    --color-bg-card: #FFFFFF; /* Pure white card background */
    --color-bg-card-hover: #FAF9F6;
    
    /* Text - Dark Charcoal for Maximum Contrast and Legibility */
    --color-text-white: #111111; /* Almost pure black for primary headings */
    --color-text-cream: #2C2A29; /* Very dark charcoal for body text (high contrast) */
    --color-taupe: #544E43;      /* Dark taupe */
    --color-beige: #6B5C4C;      /* Darkened bronze-beige for labels */
    
    /* Accent Colors - High Contrast Deep Metallic Bronze & Charcoal */
    --color-gold: #543D28;        /* Very dark, deep bronze-gold (excellent contrast on white/sand) */
    --color-gold-bright: #3D2B1C; /* Darkest bronze-gold for text accents */
    --color-gold-dark: #2A1D13;
    --color-bronze: #705B47;
    
    /* Gradients & Shadows (Subtle, High Contrast) */
    --gold-gradient: linear-gradient(135deg, #111111 0%, #543D28 100%);
    --gold-glow: 0 4px 20px rgba(84, 61, 40, 0.12);
    --card-shadow: 0 20px 50px rgba(44, 42, 41, 0.06), 0 2px 10px rgba(44, 42, 41, 0.02);

    /* Fonts */
    --font-headings: 'Playfair Display', serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

/* Reset and Prevent Scroll */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-cream);
    font-family: var(--font-body);
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* ABSOLUTELY PREVENT SCROLL */
    position: fixed;   /* Lock viewport on mobile devices */
    line-height: 1.6;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
}

/* Luxury Background Grid & Orbs */
.luxury-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
}

.luxury-grid .grid-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(84, 61, 40, 0) 0%, 
        rgba(84, 61, 40, 0.04) 15%, 
        rgba(84, 61, 40, 0.04) 85%, 
        rgba(84, 61, 40, 0) 100%
    );
}

.ambient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    pointer-events: none;
    will-change: transform;
}

.orb-gold {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, 
        rgba(84, 61, 40, 0.18) 0%, 
        rgba(84, 61, 40, 0.06) 30%, 
        rgba(84, 61, 40, 0) 70%
    );
    top: -100px;
    right: -100px;
}

.orb-slate {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle at center, 
        rgba(44, 53, 64, 0.15) 0%, 
        rgba(44, 53, 64, 0.04) 30%, 
        rgba(44, 53, 64, 0) 70%
    );
    bottom: -150px;
    left: -150px;
}

/* Luxury Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
    text-align: center;
}

.preloader-logo-wrapper {
    width: 180px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.preloader-logo {
    width: 100%;
    height: auto;
    filter: invert(1) brightness(0.1);
}

.preloader-bar-container {
    width: 100%;
    height: 1px;
    background-color: rgba(84, 61, 40, 0.1);
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: var(--color-gold);
}

.preloader-text {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--color-beige);
    font-family: var(--font-headings);
    font-weight: 600;
}

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

/* Container & Card Framing */
.container {
    width: 100%;
    max-width: 760px;
    z-index: 10;
    perspective: 1200px;
    opacity: 0; /* GSAP target */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.construction-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid rgba(84, 61, 40, 0.18);
    border-radius: 4px;
    padding: 2.8rem 3rem;
    width: 100%;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.construction-card:hover {
    box-shadow: 0 25px 60px rgba(44, 42, 41, 0.1);
}

/* Double Border Decoration (WTW Signature Style - Darker Contrast) */
.gold-border-decor {
    position: absolute;
    top: -8px;
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border: 1px solid rgba(84, 61, 40, 0.3);
    pointer-events: none;
    border-radius: 6px;
    transition: var(--transition-smooth);
    z-index: -1;
}

.construction-card:hover .gold-border-decor {
    transform: translate(6px, -6px);
    border-color: var(--color-gold);
}

/* Logo */
.logo-container {
    margin-bottom: 1.2rem;
    display: block;
}

.brand-logo {
    max-height: 70px;
    max-width: 210px;
    object-fit: contain;
    filter: invert(1) brightness(0.1);
    transition: var(--transition-smooth);
}

.construction-card:hover .brand-logo {
    transform: scale(1.02);
}

/* Status Badge (High Contrast Deep Charcoal/Bronze) */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(84, 61, 40, 0.08);
    border: 1px solid rgba(84, 61, 40, 0.25);
    padding: 6px 14px;
    border-radius: 0;
    font-family: var(--font-headings);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-bright);
    margin-bottom: 1.2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-gold);
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Typography (High Contrast) */
.title {
    font-family: var(--font-headings);
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-white);
    letter-spacing: -0.01em;
}

/* Underline decoration on gold-text instead of light gradient */
.gold-text-gradient {
    color: var(--color-gold-bright);
    font-style: italic;
    font-family: var(--font-serif);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    display: inline-block;
    position: relative;
}

.gold-text-gradient::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-gold);
}

.subtitle {
    color: var(--color-text-cream);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 1.4rem auto;
    opacity: 0.9;
}

/* Countdown Timer (High Contrast) */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.countdown-item {
    background: var(--color-bg-card);
    border: 1px solid rgba(84, 61, 40, 0.25);
    border-radius: 0;
    padding: 1rem 0.6rem;
    min-width: 80px;
    transition: var(--transition-smooth);
}

.countdown-item:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(84, 61, 40, 0.06);
}

.countdown-value {
    display: block;
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-text-white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.countdown-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-beige);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.countdown-separator {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    color: var(--color-beige);
    opacity: 0.6;
    animation: blink-separator 1.5s infinite;
}

@keyframes blink-separator {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.9; }
}

/* Progress Bar (High Contrast Thin Line) */
.progress-container {
    max-width: 480px;
    margin: 0 auto 1.6rem auto;
}

.progress-bar-bg {
    width: 100%;
    height: 2px;
    background: rgba(84, 61, 40, 0.12);
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--color-gold);
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-beige);
    margin-top: 8px;
    font-family: var(--font-headings);
    letter-spacing: 0.05em;
}


/* Solid Premium Button for Perfect Contrast */
.btn-premium {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    background: var(--color-text-white); /* Solid black background */
    color: #FFFFFF; /* High contrast white text */
    text-decoration: none;
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid var(--color-text-white);
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-premium span {
    position: relative;
    z-index: 2;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-gold); /* Deep gold slide on hover */
    z-index: 1;
    transition: var(--transition-smooth);
}

.btn-premium:hover {
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px rgba(84, 61, 40, 0.15);
}

.btn-premium:hover::before {
    left: 0;
}

.btn-premium:hover span {
    color: #FFFFFF;
}


/* Footer & Socials */
.social-footer {
    border-top: 1px solid rgba(84, 61, 40, 0.15);
    padding-top: 1.8rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.social-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(84, 61, 40, 0.25);
    color: var(--color-text-cream);
    transition: var(--transition-smooth);
    text-decoration: none;
    font-size: 0.95rem;
}

.social-icon-btn:hover {
    color: #FFFFFF;
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.72rem;
    color: var(--color-beige);
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Mobile adjustments (Scroll prevention layout) */
@media (max-width: 600px) {
    .container {
        padding: 0.8rem;
    }
    
    .construction-card {
        padding: 2.2rem 1.5rem;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .subtitle {
        font-size: 0.88rem;
        margin-bottom: 1.8rem;
    }
    
    .countdown {
        gap: 0.4rem;
        margin-bottom: 1.8rem;
    }
    
    .countdown-item {
        min-width: 68px;
        padding: 0.8rem 0.4rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .progress-container {
        margin-bottom: 1.8rem;
    }
    
    
    .btn-premium {
        width: 100%;
        padding: 12px;
    }

    .lang-selector {
        top: 15px;
        right: 15px;
    }
}

/* ==========================================================
   Language Selector
   ========================================================== */
.lang-selector {
    position: absolute;
    top: 25px;
    right: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.lang-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-beige);
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition-fast);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.lang-btn:hover {
    color: var(--color-text-white);
}

.lang-btn.active {
    color: var(--color-gold);
    font-weight: 700;
    pointer-events: none;
}

.lang-btn:focus,
.lang-btn:active,
.lang-btn:focus-visible {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.lang-divider {
    color: rgba(84, 61, 40, 0.25);
    font-size: 0.8rem;
    pointer-events: none;
}

/* ==========================================================
   Inspirational Quotes Carousel
   ========================================================== */
.quote-carousel-wrapper {
    margin: 0.2rem auto 1.6rem auto;
    max-width: 520px;
    padding: 1.2rem 1.5rem;
    background: rgba(84, 61, 40, 0.03);
    border-left: 2px solid rgba(84, 61, 40, 0.15);
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.quote-icon {
    font-size: 0.9rem;
    color: rgba(84, 61, 40, 0.12);
    margin-bottom: 6px;
}

.quote-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-cream);
    margin-bottom: 8px;
    opacity: 0.9;
    min-height: 60px; /* Prevent card layout shift when text changes height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-author {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-beige);
}
