/* HERO */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brown-dark);
    height: 45vw;
    min-height: 600px;
    padding: 100px 5vw 40px;
    gap: 4vw;
}

.hero-slides {
    position: relative;
    width: 50%;
    height: 100%;
    z-index: 1;
    order: 2;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow);
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    animation: heroSlide 12s linear infinite;
    will-change: opacity, transform;
}

.slide:nth-child(1) {
    background-image: url('/static/img/banner/banner_1.webp');
    animation-delay: 0s;
}

.slide:nth-child(2) {
    background-image: url('/static/img/banner/banner_2.webp');
    animation-delay: 3s;
}

.slide:nth-child(3) {
    background-image: url('/static/img/banner/banner_3.webp');
    animation-delay: 6s;
}

.slide:nth-child(4) {
    background-image: url('/static/img/banner/banner_1.webp'); /* Reuse first image or use another */
    animation-delay: 9s;
}

@keyframes heroSlide {
    0% { opacity: 0; transform: scale(1.1); }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5vw;
    background: rgba(200, 131, 42, .18);
    border: 1px solid rgba(200, 131, 42, .45);
    border-radius: 2px;
    padding: 0.4vw 1vw;
    margin-bottom: 1vw;
    font-size: clamp(8px, 0.8vw, 0.72rem);
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--amber-light)
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    animation: pulse 2s infinite
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1) }
    50% { opacity: .4; transform: scale(.7) }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(32px, 4.5vw, 5.8rem);
    line-height: 1.0;
    color: #fff;
    margin-bottom: 1.5vw
}

.hero h1 em {
    font-style: italic;
    color: var(--amber);
    display: block
}

.hero-desc {
    font-size: clamp(14px, 1.2vw, 1.1rem);
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 2vw;
    max-width: 90%
}

.hero-actions {
    display: flex;
    gap: 1vw;
    flex-wrap: wrap
}

.hero-actions .btn-primary, 
.hero-actions .btn-secondary {
    font-size: clamp(10px, 0.9vw, 0.88rem);
    padding: 1vw 1.5vw;
}

.btn-primary {
    background: var(--amber);
    color: var(--brown-dark);
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: .88rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
    box-shadow: 0 4px 22px rgba(200, 131, 42, .45)
}

.btn-primary:hover {
    background: var(--amber-light);
    transform: translateY(-2px)
}

.btn-secondary {
    background: transparent;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: .88rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all .2s
}

.btn-secondary:hover {
    border-color: var(--amber);
    color: var(--amber)
}

.hero-stats {
    display: flex;
    gap: 2.8rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, .15)
}

.stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--amber);
    line-height: 1;
    display: block
}

.stat-label {
    font-weight: 600;
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-top: .3rem;
    display: block
}

@media(max-width:900px) {
    .hero {
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 50px;
        gap: 0;
    }

    .hero-content {
        width: 100%;
        padding: 40px 5vw 0;
        order: 2;
        text-align: center;
        align-items: center;
    }

    .hero-slides {
        width: calc(100% - 10vw);
        margin: 0 auto;
        height: 75vw;
        min-height: 280px;
        border-radius: 20px;
        overflow: hidden;
        order: 1;
    }

    .hero h1 {
        font-size: 11vw;
        margin-bottom: 5vw;
    }

    .hero-desc {
        display: none;
    }

    .hero-actions {
        gap: 15px;
        margin-top: 25px;
        justify-content: center;
        width: 100%;
    }

    .hero-actions .btn-primary, 
    .hero-actions .btn-secondary {
        font-size: 14px;
        padding: 15px 30px;
        width: 100%;
        max-width: 280px;
    }
}

@media(max-width:600px) {
    .hero-stats {
        gap: 1.4rem;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}
