/* ============================================================
   NEW CHAPTER CARE — HERO SECTION
   Left-aligned text | Right-side image preserved
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* ── Background Image ─────────────────────────────────────── */
/*
   Image is positioned RIGHT so humans on the right side
   are always fully visible. Left side is covered by overlay
   gradient for text legibility.
*/
.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/hero.webp');
    background-color: #c8882a;
    background-size: cover;
    background-position: right center; /* anchor humans on the right */
    background-repeat: no-repeat;
    transform: scale(1.04);
    animation: heroZoom 8s ease forwards;
}
/*
@keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.00); }
}*/
.hero__video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}
/* ── Overlay — strong on left for text, transparent on right ─ */
.hero__overlay {
    position: absolute;
    inset: 0;

    background:
    linear-gradient(
        90deg,
        rgba(5,12,20,0.55) 0%,
        rgba(5,12,20,0.30) 35%,
        rgba(5,12,20,0.10) 65%,
        transparent 100%
    );

    z-index: 1;
}

.hero__overlay::after {
    content: none;
}

/* ── Hero Inner — two-column grid ─────────────────────────── */
.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 100vh;
    padding-top: 5rem;    /* clears fixed navbar */
    padding-bottom: 5rem;
}

/* ── Left Column — all text ───────────────────────────────── */
.hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 580px;
    padding: 2rem 3rem 2rem 0;
}

/* ── Right Column — empty, image shows through background ─── */
.hero__right {
    /* intentionally empty — the bg image shows through here */
}

/* ── Badge ────────────────────────────────────────────────── */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    padding: 0.42rem 1.1rem;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(6px);
    animation: fadeUp 0.8s ease 0.2s both;
}

.hero__badge::before,
.hero__badge::after {
    content: none;
}

/* ── Title ────────────────────────────────────────────────── */
.hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 4.5vw, 5rem);
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    animation: fadeUp 0.8s ease 0.35s both;
}

.hero__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--color-accent-soft);
}

/* ── Subtitle ─────────────────────────────────────────────── */
.hero__subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.4rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
    animation: fadeUp 0.8s ease 0.5s both;
}

/* ── Description ──────────────────────────────────────────── */
.hero__desc {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.85;
    max-width: 480px;
    margin: 0 0 2.5rem 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    animation: fadeUp 0.8s ease 0.65s both;
}

/* ── Action Buttons ───────────────────────────────────────── */
.hero__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.8s 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;
    animation: fadeUp 0.8s ease 1.1s both;
}

.hero__scroll-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.35);
    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.95);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { top: -100%; }
    100% { top: 100%;  }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── TABLET (≤ 900px) — stack, show full image behind ──────── */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .hero__right {
        display: none; /* single col — image fills bg */
    }

    .hero__content {
        text-align: left;
        max-width: 100%;
        padding: 0;
    }

    .hero__desc {
        max-width: 100%;
    }

    /* On tablet/mobile — reposition image to keep humans visible */
    /* Shift bg toward center so figures aren't cropped */
    .hero__bg {
        background-position: 65% center;
    }

    /* Strengthen overlay on mobile — full width text needs full coverage */
    .hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 8, 4, 0.62) 0%,
            rgba(10, 8, 4, 0.55) 60%,
            rgba(10, 8, 4, 0.65) 100%
        );
    }
}

/* ── MOBILE (≤ 560px) ──────────────────────────────────────── */
@media (max-width: 560px) {
    .hero__inner {
        padding: 5.5rem 1.5rem 5rem;
    }

    .hero__title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* On small mobile — center the bg on the couple's faces */
    .hero__bg {

        background-image: url('/assets/images/hero-mobile.webp');

        background-size: cover;

        background-position: center center;

        background-repeat: no-repeat;
    }

    .hero__video {
        display: none;
    }
}
