/* ============================================================
   NEW CHAPTER CARE — HERO SECTION
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1; /* always below navbar z-index:1000 */
}

/* ── Background Image ─────────────────────────────────────── */
.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero.jpg');
    background-color: #c8882a;  /* Warm autumn gold fallback */
    background-size: cover;
    background-position: center 52%;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 6s ease;
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1.00); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    /* Feather-light veil — just enough to lift white text off bright sky */
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08)  0%,
        rgba(0, 0, 0, 0.04) 40%,
        rgba(0, 0, 0, 0.08) 65%,
        rgba(0, 0, 0, 0.38) 100%
    );
    transition: background 0.8s ease;
}

/* Removed multiply blend — photo golden tones show fully */
.hero__overlay::after {
    content: none;
}

/* ── Content ──────────────────────────────────────────────── */
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5rem 2rem 7rem; /* top clears fixed navbar (~70px), bottom clears scroll indicator */
    max-width: 860px;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    padding: 0.45rem 1.2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
    animation: fadeDown 0.9s ease 0.2s both;
}

.hero__badge::before,
.hero__badge::after {
    content: none; /* dashes already in HTML — removing duplicates */
}

.hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    animation: fadeDown 0.9s ease 0.4s both;
}

.hero__title em {
    font-style: italic;
    color: var(--color-accent-soft);
}

.hero__subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.8rem;
    animation: fadeDown 0.9s ease 0.55s both;
}

.hero__desc {
    font-family: 'Jost', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2.8rem;
    animation: fadeDown 0.9s ease 0.7s both;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    animation: fadeDown 0.9s ease 0.85s both;
}

/* ── Scroll indicator ─────────────────────────────────────── */
.hero__scroll {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none; /* doesn't interfere with button clicks */
    animation: fadeDown 0.9s ease 1.1s both;
}

.hero__scroll-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { top: -100%; }
    100% { top: 100%;  }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero__actions .btn {
        justify-content: center;
        text-align: center;
    }
}
