/**
 * Hero Slider Styles - 16:9 Ratio Single Banner
 * OLIGNE E-commerce Platform
 * One banner for both desktop and mobile
 */

/* ============================================
   HERO SECTION - 16:9 ASPECT RATIO
   ============================================ */
.hero-slider-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 500px;
    overflow: hidden;
    background: #1a1a2e;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================
   SLIDER CONTAINER
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* ============================================
   BANNER IMAGE - 16:9 COVER
   ============================================ */
.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
}

.hero-slide.active .hero-slide-image {
    animation: kenBurnsSubtle 10s ease-in-out forwards;
}

@keyframes kenBurnsSubtle {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

/* ============================================
   CONTENT OVERLAY - SIDE LAYOUT
   ============================================ */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            transparent 75%);
    display: flex;
    align-items: center;
    padding: 0 4%;
    z-index: 2;
}

.hero-slide-content {
    max-width: 420px;
    color: white;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.5s ease 0.2s;
}

.hero-slide.active .hero-slide-content {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   TYPOGRAPHY - COMPACT
   ============================================ */
.hero-preheadline {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.4rem;
}

.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-subheadline {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    max-width: 340px;
}

/* ============================================
   CTA BUTTONS - COMPACT
   ============================================ */
.hero-cta-group {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary, #652d2c);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(101, 45, 44, 0.25);
}

.hero-cta-primary:hover {
    background: #4a1f1e;
    transform: translateY(-1px);
    color: white;
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: transparent;
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--color-primary, #652d2c);
    border-color: white;
}

/* ============================================
   SLIDER NAVIGATION - COMPACT
   ============================================ */
.hero-slider-nav {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 10;
}

.hero-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-slider-dot.active {
    background: white;
    width: 18px;
    border-radius: 4px;
}

/* Progress bar */
.hero-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.hero-slider-progress-bar {
    height: 100%;
    background: var(--color-primary, #652d2c);
    width: 0;
    transition: width 0.1s linear;
}

/* ============================================
   ARROW NAVIGATION - COMPACT
   ============================================ */
.hero-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 10;
    pointer-events: none;
}

.hero-slider-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    font-size: 0.9rem;
}

.hero-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   SCROLL INDICATOR - HIDDEN
   ============================================ */
.hero-scroll-indicator {
    display: none;
}

/* ============================================
   MOBILE RESPONSIVE - COMPACT 16:9
   ============================================ */
@media (max-width: 768px) {
    .hero-slider-section {
        margin: 0.75rem auto;
        padding: 0 0.75rem;
    }

    .hero-slider-wrapper {
        aspect-ratio: 16/9;
        max-height: 220px;
        min-height: 170px;
        border-radius: 8px;
    }

    .hero-slide-overlay {
        background: linear-gradient(180deg,
                transparent 40%,
                rgba(0, 0, 0, 0.7) 100%);
        align-items: flex-end;
        padding: 0 0.5rem 0.75rem;
    }

    .hero-slide-content {
        text-align: center;
        max-width: 100%;
        transform: translateY(5px);
    }

    .hero-slide.active .hero-slide-content {
        transform: translateY(0);
    }

    .hero-headline {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .hero-subheadline {
        font-size: 0.65rem;
        max-width: 100%;
        margin-bottom: 0.4rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-cta-group {
        justify-content: center;
        gap: 0.4rem;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        padding: 0.35rem 0.6rem;
        font-size: 0.65rem;
    }

    .hero-slider-arrows {
        display: none;
    }

    .hero-slider-nav {
        bottom: 0.5rem;
    }

    .hero-slider-dot {
        width: 6px;
        height: 6px;
    }

    .hero-slider-dot.active {
        width: 14px;
    }
}

/* ============================================
   TABLET RESPONSIVE
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider-section {
        max-height: 400px;
    }

    .hero-slide-content {
        max-width: 360px;
    }

    .hero-headline {
        font-size: 1.4rem;
    }
}

/* ============================================
   STATIC FALLBACK - COMPACT 16:9
   ============================================ */
.hero {
    aspect-ratio: 16/9;
    max-height: 500px;
    min-height: 280px;
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #FAF8F7 0%, #F5F1ED 50%, #F0E8E2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    display: none;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--color-dark, #3a1f1e);
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.hero-text h1 span {
    background: linear-gradient(135deg, #652d2c 0%, #9b847c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .tagline {
    font-size: 0.9rem;
    color: var(--color-primary, #652d2c);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-text>p {
    font-size: 0.8rem;
    color: #6b5452;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 380px;
}

.hero-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.5rem 1.25rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

.stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #E2DCDA;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary, #652d2c);
    line-height: 1;
    margin-bottom: 0.15rem;
}

.stat-label {
    color: #6b5452;
    font-size: 0.65rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-container {
    width: 180px;
    height: 180px;
    background: white;
    border: 2px solid #E2DCDA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(101, 45, 44, 0.08);
}

.hero-logo {
    width: 65%;
    height: auto;
}

/* Mobile Static Hero */
@media (max-width: 768px) {
    .hero {
        aspect-ratio: 16/9;
        max-height: 220px;
        min-height: 160px;
        padding: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .hero-text .tagline {
        font-size: 0.75rem;
    }

    .hero-text>p {
        display: none;
    }

    .hero-buttons {
        gap: 0.4rem;
    }

    .hero-buttons .btn {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }

    .stats {
        display: none;
    }
}