/* =========================================================
   LEMOOK GARDENS — ACTIVITIES PAGE
   ========================================================= */


/* =========================================================
   PAGE BASE
   ========================================================= */

.activities-page {
    background: var(--ivory);
    color: var(--ink);
}

.activities-page img {
    display: block;
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.activities-hero {
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 110px 8vw 90px;
    overflow: hidden;
    isolation: isolate;
    background: var(--forest-dark);
    color: var(--white);
}

.activities-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(15, 36, 26, 0.20) 0%,
            rgba(15, 36, 26, 0.35) 45%,
            rgba(15, 36, 26, 0.88) 100%
        ),
        url("/static/images/activities/bonfire2.jpg") center / cover no-repeat;
    content: "";
    animation: heroZoom 28s ease-in-out infinite alternate;
}

.activities-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.activities-hero .hero-eyebrow {
    margin-bottom: 18px;
    color: var(--gold-light);
}

.activities-hero h1 {
    max-width: 800px;
    color: var(--white);
    font-size: clamp(48px, 7vw, 86px);
    line-height: 0.98;
    margin-bottom: 24px;
}

.activities-hero p {
    max-width: 560px;
    margin: 0;
    color: rgba(250, 247, 240, 0.82);
    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   SHARED CHAPTER STRUCTURE
   ========================================================= */

.activity-chapter {
    padding: 120px 8vw;
}

.activity-chapter-inner {
    max-width: 1200px;
    margin: 0 auto;
}


/* Chapter introduction */

.chapter-intro {
    max-width: 720px;
    margin-bottom: 70px;
}

.chapter-number {
    display: inline-block;
    margin-right: 28px;

    font-family: "Fraunces", Georgia, serif;
    font-size: 18px;
    color: var(--gold);
    vertical-align: middle;
}

.chapter-intro .section-eyebrow {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}

.chapter-intro h2 {
    max-width: 650px;
    margin: 48px 0 22px;

    color: var(--forest-dark);
    font-size: clamp(42px, 5.5vw, 64px);
    line-height: 1.02;
}

.chapter-intro > p:last-child {
    max-width: 560px;
    margin: 0;

    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.8;
}


/* Dark chapter */

.chapter-gather .chapter-intro h2 {
    color: var(--white);
}

.chapter-gather .chapter-intro > p:last-child {
    color: rgba(250, 247, 240, 0.72);
}

.chapter-gather .chapter-number {
    color: var(--gold-light);
}

.chapter-gather .chapter-intro .section-eyebrow {
    color: var(--gold-light);
}


/* =========================================================
   SHARED ACTIVITY LABEL (the small "01" / "The evening" tag)
   ========================================================= */

.activity-label {
    display: inline-block;
    margin-bottom: 6px;

    font-family: "Public Sans", sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
}


/* =========================================================
   PLAY
   ========================================================= */

.chapter-play {
    background: var(--white);
}


/* Feature: first activity, large hero-style moment */

.play-feature {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 480px;
    margin-bottom: 24px;
    background: var(--forest);
}

.play-feature .activity-image {
    position: absolute;
    inset: 0;
}

.play-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.play-feature:hover img {
    transform: scale(1.04);
}

.play-feature::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(15, 36, 26, 0.02) 30%,
            rgba(15, 36, 26, 0.82) 100%
        );

    pointer-events: none;
}

.play-feature .activity-content {
    position: absolute;
    z-index: 2;
    left: 32px;
    right: 32px;
    bottom: 30px;
}

.play-feature .activity-content h3 {
    color: var(--white);
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 8px;
}

.play-feature .activity-content p {
    max-width: 460px;
    margin: 0;
    color: rgba(250, 247, 240, 0.78);
    font-size: 14px;
    line-height: 1.65;
}


/* Supporting: remaining Play activities, row of 3 */

.play-supporting {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.play-supporting article {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 300px;
    background: var(--forest);
}

.play-supporting .activity-image {
    position: absolute;
    inset: 0;
}

.play-supporting img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.play-supporting article:hover img {
    transform: scale(1.04);
}

.play-supporting article::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(15, 36, 26, 0.04),
            rgba(15, 36, 26, 0.82)
        );

    pointer-events: none;
}

.play-supporting .activity-content {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.play-supporting .activity-content h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 6px;
}

.play-supporting .activity-content p {
    margin: 0;
    color: rgba(250, 247, 240, 0.78);
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   UNWIND
   ========================================================= */

.chapter-unwind {
    background: var(--cream);
}

.unwind-activities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.unwind-activities article {
    position: relative;
}

.unwind-activities article:nth-child(2) {
    margin-top: 110px;
}

.unwind-activities .activity-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.6s ease;
}

.unwind-activities article:hover img {
    transform: scale(1.025);
}

.unwind-activities .activity-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 22px 4px 0;
}

.unwind-activities .activity-content h3 {
    color: var(--forest-dark);
    font-size: 28px;
    margin-bottom: 8px;
}

.unwind-activities .activity-content p {
    color: var(--ink-soft);
}

.unwind-activities .activity-label {
    color: var(--gold);
}


/* =========================================================
   GATHER
   ========================================================= */

.chapter-gather {
    background: var(--forest-dark);
    color: var(--white);
}

.chapter-gather .chapter-number {
    color: var(--gold-light);
}

.chapter-gather .chapter-intro .section-eyebrow {
    color: var(--gold-light);
}

.chapter-gather .chapter-intro h2 {
    color: var(--white);
}

.chapter-gather .chapter-intro p {
    color: rgba(250, 247, 240, 0.70);
}


/* Bonfire feature */

.activity-bonfire {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 24px;
    background: var(--forest);
}

.activity-bonfire .activity-image {
    position: absolute;
    inset: 0;
}

.activity-bonfire img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.activity-bonfire:hover img {
    transform: scale(1.03);
}

.activity-bonfire::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(15, 36, 26, 0.05) 25%,
            rgba(15, 36, 26, 0.88) 100%
        );
}

.activity-bonfire .activity-content {
    position: absolute;
    z-index: 2;
    bottom: 42px;
    left: 42px;
    right: 42px;
}

.activity-bonfire .activity-content h3 {
    font-size: clamp(34px, 5vw, 52px);
}


/* Supporting activities */

.gather-supporting {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.gather-supporting article {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: 16px;
}

.gather-supporting .activity-image {
    position: absolute;
    inset: 0;
}

.gather-supporting img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gather-supporting article:hover img {
    transform: scale(1.04);
}

.gather-supporting article::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(15, 36, 26, 0.04),
            rgba(15, 36, 26, 0.82)
        );
}

.gather-supporting .activity-content {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 28px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.activities-cta {
    padding: 130px 8vw;
    text-align: center;
    background: var(--ivory);
}

.activities-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.activities-cta .section-eyebrow {
    margin-bottom: 16px;
}

.activities-cta h2 {
    color: var(--forest-dark);
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.activities-cta p {
    max-width: 560px;
    margin: 0 auto 32px;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .activities-hero {
        min-height: 70vh;
        padding: 100px 8vw 70px;
    }

    .chapter-intro {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 55px;
    }

    .chapter-number {
        padding-top: 0;
    }

    .play-feature {
        min-height: 420px;
    }

    .play-supporting {
        grid-template-columns: 1fr 1fr;
    }

    .unwind-activities {
        gap: 35px;
    }

    .activity-bonfire {
        min-height: 560px;
    }
}


@media (max-width: 640px) {

    .activities-hero {
        min-height: 75vh;
        padding: 100px 6vw 60px;
    }

    .activities-hero h1 {
        font-size: clamp(44px, 13vw, 64px);
    }

    .activities-hero p {
        font-size: 16px;
    }


    .activity-chapter {
        padding: 90px 6vw;
    }


    /* Play */

    .play-feature {
        min-height: 380px;
    }

    .play-supporting {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .play-supporting article {
        min-height: 300px;
    }


    /* Unwind */

    .unwind-activities {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .unwind-activities article:nth-child(2) {
        margin-top: 0;
    }

    .unwind-activities .activity-image img {
        aspect-ratio: 4 / 3;
    }


    /* Gather */

    .activity-bonfire {
        min-height: 480px;
    }

    .gather-supporting {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gather-supporting article {
        min-height: 320px;
    }


    /* Text */

    .activity-content {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .activity-content h3 {
        font-size: 26px;
    }

    .activity-bonfire .activity-content {
        left: 26px;
        right: 26px;
        bottom: 28px;
    }


    /* CTA */

    .activities-cta {
        padding: 90px 6vw;
    }

}

.activities-hero h1,
.chapter-intro h2,
.activities-cta h2 {
    letter-spacing: -0.025em;
}

.activity-chapter {
    padding-top: clamp(80px, 9vw, 120px);
    padding-bottom: clamp(80px, 9vw, 120px);
}

.chapter-intro {
    margin-bottom: clamp(48px, 6vw, 70px);
}

.play-feature,
.play-supporting article,
.activity-bonfire,
.gather-supporting article {
    border-radius: 20px;
}

.play-feature:hover img,
.play-supporting article:hover img,
.unwind-activities article:hover img,
.activity-bonfire:hover img,
.gather-supporting article:hover img {
    transform: translateX(2px);
}

.unwind-activities .activity-image {
    overflow: hidden;
    border-radius: 16px;
}

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

    .play-feature img,
    .play-supporting img,
    .unwind-activities .activity-image img,
    .activity-bonfire img,
    .gather-supporting img {
        transition: none;
    }

    .play-feature:hover img,
    .play-supporting article:hover img,
    .unwind-activities article:hover img,
    .activity-bonfire:hover img,
    .gather-supporting article:hover img {
        transform: none;
    }
}