/* =============================================
   HERO SLIDER
   Full-width background with overlay text
   Carousel arrows on right side
   ============================================= */

.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 350px;
    max-height: 600px;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: var(--space-8) var(--container-padding);
    padding-bottom: calc(var(--space-12) + 20px);
}

.hero-slide__heading {
    color: var(--color-text-white);
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: var(--space-3);
    max-width: 800px;
}

.hero-slide__heading .chevrons {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

.hero-slide__subheading {
    color: var(--color-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-light);
    font-style: italic;
    margin-bottom: 0;
    max-width: 600px;
}

/* Hero arrows */
.hero-arrows {
    position: absolute;
    bottom: var(--space-8);
    right: var(--space-6);
    display: flex;
    gap: var(--space-2);
    z-index: 2;
}

.hero-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    color: var(--color-text-white);
    font-size: var(--text-lg);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.hero-arrow:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.hero-arrow--next {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 2;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.hero-dot.active {
    background-color: var(--color-primary);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (min-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 450px;
        max-height: 700px;
    }

    .hero-slide__heading {
        font-size: var(--text-5xl);
    }

    .hero-slide__subheading {
        font-size: var(--text-xl);
    }

    .hero-slide__overlay {
        padding: var(--space-12);
        padding-bottom: calc(var(--space-12) + 24px);
    }
}

@media (min-width: 1200px) {
    .hero {
        height: 70vh;
        max-height: 800px;
    }

    .hero-slide__heading {
        font-size: var(--text-6xl);
    }

    .hero-slide__subheading {
        font-size: var(--text-2xl);
    }
}
