/* ============================================================
   LEGACY HERO CAROUSEL — Fullscreen background slideshow
   Used on inner pages (not the split hero on homepage)
   ============================================================ */

/* Hero section — full height with top padding for navbar */
.hero {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    color: white;
}

/* Full-width carousel background container */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual slide — hidden by default, shown when active */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}
.carousel-slide.active { opacity: 1; }

/* Dark gradient overlay on slides for text readability */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

/* Centered text content on top of the carousel */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 15vh;
}

/* Hero heading */
.hero h1 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: var(--spacing-sm);
}

/* Hero subtext */
.hero p {
    font-weight: var(--font-weight-light);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

/* Navigation dots at the bottom of the hero */
.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 3;
}

/* Individual dot */
.dot {
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Active dot — wider and brighter */
.dot.active { background: white; width: 48px; }
