/* ============================================
   LUXURY HERO SECTION - Awwwards Premium Design
   ============================================ */

/* Import Google Fonts - Editorial Typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Luxury Color Palette - Midnight & Gold Theme */
:root {
    /* Midnight & Gold Palette */
    --luxury-deep-charcoal: #0a0a0a;
    --luxury-midnight-blue: #050b14;
    --luxury-champagne-gold: #d4af37;
    --luxury-electric-blue: #4d9fff;
    --luxury-cream: #fcfcfc;

    /* Text Colors for Luxury */
    --luxury-text-light: #e0e0e0;
    --luxury-text-dark: #333333;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);

    /* Premium Shadows */
    --luxury-glow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    --luxury-glow-blue: 0 0 30px rgba(77, 159, 255, 0.3);
}

/* ============================================
   HERO WRAPPER - Full Viewport Luxury
   ============================================ */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: var(--luxury-deep-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Parallax Background Container */
.hero-wrapper .hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    /* Extra height for parallax */
    z-index: 1;
    transform: translateZ(0);
    /* GPU acceleration */
    will-change: transform;
}

.hero-wrapper .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    /* Slight zoom for parallax effect */
    will-change: transform, opacity;
}

.hero-wrapper .slide.active {
    opacity: 1;
    /* Full opacity - keep images sharp and clear */
    z-index: 2;
}

/* Subtle Overlay - Just for Text Readability */
.hero-wrapper .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.15) 50%,
            rgba(0, 0, 0, 0.25) 100%);
    z-index: 3;
}

/* ============================================
   HERO CONTENT - Luxury Typography & Layout
   ============================================ */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    padding: 0 20px;
    color: var(--luxury-text-light);
}

/* EDITORIAL HEADLINE - Playfair Display */
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    /* Thin, elegant */
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--luxury-cream);
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);

    /* Character-by-character reveal setup */
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-content h1 .luxury-text-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: charReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Gold Accent Span */
.hero-content h1 .gold-accent {
    color: var(--luxury-champagne-gold);
    font-weight: 400;
    text-shadow: var(--luxury-glow-gold);
}

/* Subtitle - Clean Inter Font */
.hero-content .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--luxury-text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* ============================================
   GLASSMORPHISM HERO BUTTONS
   ============================================ */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.hero-btns .btn-luxury-primary {
    position: relative;
    padding: 18px 45px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--luxury-deep-charcoal);
    background: linear-gradient(135deg, var(--luxury-champagne-gold), #f1c40f);
    border: none;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4), var(--luxury-glow-gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-btns .btn-luxury-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6), var(--luxury-glow-gold);
}

.hero-btns .btn-luxury-secondary {
    position: relative;
    padding: 18px 45px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--luxury-cream);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-btns .btn-luxury-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--luxury-champagne-gold);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

/* ============================================
   TICKER - Glassmorphism Style
   ============================================ */
.hero-ticker-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 15;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.ticker-label {
    background: linear-gradient(135deg, var(--luxury-champagne-gold), #f1c40f);
    color: var(--luxury-deep-charcoal);
    padding: 0 15px;
    height: 40px;
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 4px 0 20px rgba(212, 175, 55, 0.4);
    flex-shrink: 0;
    max-width: fit-content;
}

.ticker-item {
    font-family: 'Inter', sans-serif;
    color: var(--luxury-text-light);
}

/* ============================================
   ANIMATIONS - Cinematic Effects
   ============================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Character Reveal Animation */
@keyframes charReveal {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(-90deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Parallax effect handled by JS */

/* ============================================
   RESPONSIVE DESIGN - Mobile Optimization
   ============================================ */

/* Tablet and Below */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-content .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn-luxury-primary,
    .hero-btns .btn-luxury-secondary {
        width: 100%;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .hero-wrapper {
        min-height: auto !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }

    .hero-wrapper .hero-slideshow {
        height: 100%;
        /* Reset from 110% parallax */
    }

    .hero-wrapper .slide {
        transform: none !important;
        /* Disable zoom/scale */
        animation: none !important;
        /* Disable existing animations if any affect scale */
        /* Ensure it covers the 16:9 area */
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    /* Ensure content fits or is hidden if strictly image focused, 
       but usually we want content. 
       For 16:9 mobile, space is tight. We might need to scale content down further 
       or hide non-essentials if it overflows. 
       For now, let's just ensure it's centered and text is small enough.
    */
    .hero-content {
        width: 100%;
        padding: 0 15px;
        /* Ensure content doesn't break out if it's too tall for 16:9 */
        max-height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        /* Smaller font for tighter space */
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }

    .hero-content .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* Limit text lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-btns {
        gap: 10px;
        padding: 0;
        margin-bottom: 0;
    }

    .hero-btns .btn-luxury-primary,
    .hero-btns .btn-luxury-secondary {
        padding: 8px 20px;
        /* Smaller buttons */
        font-size: 0.8rem;
        width: auto;
        /* Allow side-by-side if they fit, or wrap */
        display: inline-flex;
        justify-content: center;
    }

    /* Hide Ticker on very small 16:9 view if it covers too much? 
       User didn't ask, so keep it but maybe make it smaller. */
    .ticker-label {
        padding: 0 8px;
        height: 30px;
        font-size: 0.6rem;
    }

    .ticker-item {
        font-size: 0.75rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-content .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-btns .btn-luxury-primary,
    .hero-btns .btn-luxury-secondary {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .ticker-label {
        padding: 0 10px;
        height: 32px;
        font-size: 0.6rem;
    }
}

/* ============================================
   SCROLL REVEAL UTILITY CLASSES
   ============================================ */
.luxury-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.luxury-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for multiple elements */
.luxury-reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.luxury-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.luxury-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.luxury-reveal:nth-child(4) {
    transition-delay: 0.4s;
}

.luxury-reveal:nth-child(5) {
    transition-delay: 0.5s;
}