/* ============================================
   LUXURY HERO REDESIGN - Maison-palessi
   High-End Fashion Brand Aesthetics
   Inspired by: Saint Laurent, Celine, Jacquemus, LOEWE
   ============================================ */

/* ============================================
   CSS VARIABLES - Luxury Color Palette
   ============================================ */
:root {
    --luxury-primary: #C49494;
    --luxury-primary-dark: #A87878;
    --luxury-primary-light: #D4A5A5;
    --luxury-black: #1a1a1a;
    --luxury-white: #ffffff;
    --luxury-cream: #FDF8F3;
    --luxury-gray: #f5f5f5;
    --luxury-text: #2D2D2D;
    --luxury-text-light: #666666;
    --luxury-accent: #C9A962;
}

/* ============================================
   HERO SECTION - Base Styles
   ============================================ */
.luxury-hero {
    position: relative;
    width: 100%;
    min-height: 78vh;
    height: 78vh;
    max-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--luxury-black);
}

/* ============================================
   HERO BACKGROUND - Cinematic Layers
   ============================================ */
.luxury-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.luxury-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    animation: luxuryParallax 20s ease-in-out infinite alternate;
}

@keyframes luxuryParallax {
    0% {
        transform: scale(1.1) translateY(0);
    }
    100% {
        transform: scale(1.15) translateY(-20px);
    }
}

.luxury-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(196, 148, 148, 0.14) 0%, transparent 55%),
        linear-gradient(
            135deg,
            rgba(20, 10, 15, 0.32) 0%,
            rgba(0, 0, 0, 0.18) 50%,
            rgba(20, 10, 15, 0.40) 100%
        );
    z-index: 2;
}

.luxury-hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 60%, rgba(248, 232, 232, 0.06) 0%, transparent 45%),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.15) 35%,
            rgba(0, 0, 0, 0.35) 85%,
            rgba(0, 0, 0, 0.5) 100%
        );
    z-index: 3;
}

.luxury-hero__gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* ============================================
   FLOATING PARTICLES - Subtle Animation
   ============================================ */
.luxury-hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(196, 148, 148, 0.3);
    border-radius: 50%;
    animation: floatParticle 15s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.particle-3 {
    top: 80%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* ============================================
   HERO CONTENT - Layout & Typography
   ============================================ */
.luxury-hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.luxury-hero__container {
    max-width: 820px;
    text-align: center;
    opacity: 0;
    animation: luxuryFadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes luxuryFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes luxuryFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* ============================================
   TRUST BADGE - Premium Badge
   ============================================ */
.luxury-hero__trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    margin-bottom: 24px;
    animation: luxuryFadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
    opacity: 0;
    box-shadow:
        0 4px 24px rgba(196, 148, 148, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.luxury-hero__trust-dot {
    width: 6px;
    height: 6px;
    background: var(--luxury-primary);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.luxury-hero__trust-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--luxury-white);
}

/* ============================================
   HERO TITLE - Luxury Typography
   ============================================ */
.luxury-hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(40px, 6.2vw, 76px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--luxury-white);
    margin: 0 0 20px 0;
    text-transform: none;
    letter-spacing: -0.02em;
    position: relative;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.luxury-hero__title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(196, 148, 148, 0.25) 0%, transparent 60%);
    filter: blur(40px);
    z-index: -1;
    animation: glowPulse 6s ease-in-out infinite;
    pointer-events: none;
}

.luxury-hero__title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}

.luxury-hero__title-line--1 {
    animation: luxurySlideUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
    background: linear-gradient(135deg, #F8E8E8 0%, var(--luxury-primary-light) 50%, var(--luxury-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 400;
}

.luxury-hero__title-line--2 {
    animation: luxurySlideUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
    color: var(--luxury-white);
    font-weight: 300;
}

@keyframes luxurySlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HERO SUBTITLE - Elegant Sans Serif
   ============================================ */
.luxury-hero__subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(13px, 1.6vw, 15px);
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto 32px;
    max-width: 460px;
    letter-spacing: 0.04em;
    opacity: 0;
    animation: luxuryFadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

/* ============================================
   CTA BUTTON - Luxury Button Design
   ============================================ */
.luxury-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--luxury-primary-light) 0%, var(--luxury-primary) 50%, var(--luxury-primary-dark) 100%);
    color: var(--luxury-white);
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow:
        0 6px 18px rgba(196, 148, 148, 0.3),
        0 12px 36px rgba(168, 120, 120, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(168, 120, 120, 0.2);
    opacity: 0;
    animation: luxuryFadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

.luxury-hero__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.luxury-hero__cta::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: radial-gradient(ellipse at center, rgba(212, 165, 165, 0.7) 0%, rgba(196, 148, 148, 0.3) 40%, transparent 75%);
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.5s ease, inset 0.5s ease;
    filter: blur(16px);
}

.luxury-hero__cta:hover {
    background: linear-gradient(135deg, var(--luxury-primary) 0%, var(--luxury-primary-dark) 50%, var(--luxury-primary-dark) 100%);
    transform: translateY(-4px);
    color: var(--luxury-white);
    box-shadow:
        0 12px 36px rgba(196, 148, 148, 0.5),
        0 24px 64px rgba(168, 120, 120, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(168, 120, 120, 0.3);
}

.luxury-hero__cta:hover::before {
    left: 100%;
}

.luxury-hero__cta:hover::after {
    opacity: 1;
    inset: -8px;
}

.luxury-hero__cta:active {
    transform: translateY(-1px);
}

.luxury-hero__cta-text {
    position: relative;
    z-index: 1;
}

.luxury-hero__cta-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.luxury-hero__cta:hover .luxury-hero__cta-icon {
    transform: translateX(5px);
}

/* ============================================
   TRUST INDICATORS - Premium Trust Elements
   ============================================ */
.luxury-hero__trust-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: luxuryFadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
}

.luxury-hero__indicator {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 100px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.4px;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.luxury-hero__indicator:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(196, 148, 148, 0.18);
    border-color: rgba(196, 148, 148, 0.4);
    transform: translateY(-2px);
}

.luxury-hero__indicator i {
    font-size: 9px;
    color: var(--luxury-primary-light);
    opacity: 0.95;
}

/* ============================================
   SCROLL INDICATOR - Elegant Scroll Hint
   ============================================ */
.luxury-hero__scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: luxuryFadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 2s forwards, luxuryFloat 4s ease-in-out 3s infinite;
}

.luxury-hero__scroll-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 30%,
        rgba(255, 255, 255, 0.1) 100%
    );
    position: relative;
    overflow: hidden;
}

.luxury-hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    animation: scrollDot 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes scrollDot {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translateY(380%);
        opacity: 0;
    }
}

.luxury-hero__scroll-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* ============================================
   MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 768px) {
    .luxury-hero {
        min-height: 70vh;
        max-height: none;
        height: 70vh;
        padding: 0;
    }

    .luxury-hero__container {
        padding: 0 24px;
    }

    .luxury-hero__trust-badge {
        margin-bottom: 18px;
        padding: 5px 14px;
    }

    .luxury-hero__trust-text {
        font-size: 9px;
        letter-spacing: 1.8px;
    }

    .luxury-hero__title {
        font-size: clamp(34px, 9vw, 52px);
        margin-bottom: 14px;
        letter-spacing: -0.02em;
    }

    .luxury-hero__subtitle {
        font-size: 12.5px;
        line-height: 1.6;
        margin-bottom: 24px;
        max-width: 88%;
        padding: 0 8px;
    }

    .luxury-hero__cta {
        padding: 13px 32px;
        font-size: 10.5px;
        letter-spacing: 1.6px;
        width: auto;
        min-width: 200px;
        justify-content: center;
    }

    .luxury-hero__trust-indicators {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 24px;
        padding-top: 18px;
    }

    .luxury-hero__indicator {
        font-size: 8.5px;
        letter-spacing: 1.3px;
        padding: 5px 9px;
    }

    .luxury-hero__indicator i {
        font-size: 8px;
    }

    .luxury-hero__scroll-indicator {
        bottom: 16px;
        gap: 8px;
    }

    .luxury-hero__scroll-line {
        height: 32px;
    }

    .luxury-hero__scroll-text {
        font-size: 8px;
        letter-spacing: 2.5px;
    }

    .particle {
        display: none;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .luxury-hero__image,
    .particle,
    .luxury-hero__trust-dot,
    .luxury-hero__scroll-line {
        animation: none;
    }

    .luxury-hero__container,
    .luxury-hero__trust-badge,
    .luxury-hero__title-line,
    .luxury-hero__subtitle,
    .luxury-hero__cta,
    .luxury-hero__trust-indicators,
    .luxury-hero__scroll-indicator {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   HIGH DPI / RETINA SUPPORT
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .luxury-hero__image {
        background-image: url('images/hero/banner1@2x.jpg');
    }
}
