/* Hero Slides — Frontend Styles */

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1C2E38;
}

/* ── Track & Slides ─────────────────────────────────────────────────────── */

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

.hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
}

.hero-slider__slide--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

/* ── Image background ───────────────────────────────────────────────────── */

.hero-slider__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── Video background ───────────────────────────────────────────────────── */

.hero-slider__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ── Overlay ────────────────────────────────────────────────────────────── */

.hero-slider__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ── Content ────────────────────────────────────────────────────────────── */

.hero-slider__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem);
    text-align: center;
}

.hero-slider__eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 0.75rem;
}

.hero-slider__heading {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    margin: 0 0 1rem;
    max-width: 900px;
}

.hero-slider__subheading {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0 0 2rem;
    max-width: 600px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.hero-slider__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-slider__btn {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    line-height: 1;
    cursor: pointer;
}

.hero-slider__btn--primary {
    background: #F2A900;
    color: #ffffff;
    border-color: #F2A900;
}
.hero-slider__btn--primary:hover {
    background: #d99500;
    border-color: #d99500;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242,169,0,0.4);
    color: #ffffff;
}

.hero-slider__btn--outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.7);
}
.hero-slider__btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* ── Arrows ─────────────────────────────────────────────────────────────── */

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #F2A900;
    border: 2px solid #F2A900;
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.hero-slider__arrow:hover {
    background: #d99500;
    border-color: #d99500;
    transform: translateY(-50%) scale(1.08);
}

.hero-slider__arrow--prev { left: clamp(0.75rem, 2vw, 1.5rem); }
.hero-slider__arrow--next { right: clamp(0.75rem, 2vw, 1.5rem); }

.hero-slider__arrow svg {
    display: block;
    flex-shrink: 0;
}

/* ── Dots ───────────────────────────────────────────────────────────────── */

.hero-slider__dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hero-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-slider__dot--active {
    background: #ffffff;
    border-color: #ffffff;
    width: 24px;
    border-radius: 4px;
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .hero-slider__slide {
        transition: none;
    }
}

/* ── Scroll Arrow ─────────────────────────────────────────────────────────── */

.hero-slider__scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    animation: hero-scroll-bounce 2s ease-in-out infinite;
}

.hero-slider__scroll-arrow:hover {
    border-color: #fff;
    color: #fff;
    animation-play-state: paused;
    transform: translateX(-50%) translateY(-3px);
}

@keyframes hero-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0);    opacity: 0.7; }
    50%       { transform: translateX(-50%) translateY(6px); opacity: 1;   }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider__scroll-arrow {
        animation: none;
    }
}

