/* basic reset for the hero area */
.hero {
    position: relative;
    height: 600px;
    min-height: 50vh;
    overflow: hidden;
}

/* each slide is a full background layer */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 600ms ease;
}

.hero-slide.is-active {
    opacity: 1;
}

/* overlay like your slider-container */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.36);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px 16px;
}

/* text area */
.hero-content {
    color: #fff;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
}

.hero-subtitle {
    margin-top: 16px;
    font-size: 1.25rem;
    font-weight: 500;
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA buttons (tweak colors to match your theme) */
.hero-btn {
    display: inline-block;
    padding: 14px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    background: #2e7d32; /* green */
}

.hero-btn.secondary {
    background: #7b1fa2; /* purple */
}

/* dots */
.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.5);
    border: 0;
    cursor: pointer;
    padding: 0;
}

.hero-dot.is-active {
    background: rgba(255,255,255,.95);
}

/* Accessibility: keyboard focus */
.hero-dot:focus-visible {
    outline: 2px solid rgba(255,255,255,.9);
    outline-offset: 3px;
}
