/* ==========================================================================
   KOUCING (Coaching subpage)
   Sections: intro, help, method, offer+pricing, references (reused component).
   Mobile-first layout. Same structure as anglictina.css but with mint colors.
   ========================================================================== */

/* ----- COACH-PAGE WRAPPER ----- */
/* Wraps all 5 sections in one continuous mint background,
   eliminating gaps between sections.
   Horizontal padding handled here so sections don't need it. */

.coach-page {
    background-color: var(--color-mint-light);
    padding: 0 var(--space-md);
    overflow: hidden;
}

/* ----- SECTION 1: INTRO ----- */

.coach-intro {
    padding: var(--space-xl) 0 0 0;
}

.coach-intro__title {
    text-align: center;
    margin-bottom: var(--space-md);
}

.coach-intro__text {
    font-size: var(--text-body);
    font-weight: 500;
    margin-bottom: var(--space-xl);
}

.coach-intro__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-h3);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-md);
}

.coach-intro__list {
    font-size: var(--text-body-small);
    line-height: var(--lh-body);
    padding-left: var(--space-md);
    list-style: disc;
}

.coach-intro__list li {
    margin-bottom: var(--space-xs);
}

/* ----- SECTION 2: HELP (what I help with) ----- */

.coach-help {
    padding: var(--space-xl) 0 0 0;
}

.coach-help__title {
    font-family: var(--font-body);
    font-size: var(--text-h3);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-md);
}

.coach-help__list {
    font-size: var(--text-body-small);
    line-height: var(--lh-body);
    padding-left: var(--space-md);
    list-style: disc;
}

.coach-help__list li {
    margin-bottom: var(--space-xs);
}

/* ----- SECTION 3: METHOD (how I work) ----- */

.coach-method {
    padding: var(--space-xl) 0 0 0;
}

.coach-method__title {
    font-family: var(--font-body);
    font-size: var(--text-h3);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-md);
}

.coach-method__list {
    font-size: var(--text-body-small);
    line-height: var(--lh-body);
    padding-left: var(--space-md);
    list-style: disc;
}

.coach-method__list li {
    margin-bottom: var(--space-xs);
}

/* ----- SECTION 4: OFFER + PRICING ----- */

.coach-offer {
    padding: var(--space-xl) 0 0 0;
}

.coach-offer__title {
    font-family: var(--font-body);
    font-size: var(--text-h3);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* Cards container: stacked on mobile */
.coach-offer__cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

/* Card: darker mint background */
.coach-offer__card {
    background-color: var(--color-mint-medium);
    padding: var(--space-lg) var(--space-sm);
    text-align: center;
    max-width: 320px;
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.coach-offer__card-title {
    padding: 0 0 var(--space-md) 0;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coach-offer__card-text {
    font-size: var(--text-body-small);
    line-height: var(--lh-body);
    min-height: 80px;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.coach-offer__card-list {
    font-size: var(--text-body-small);
    line-height: var(--lh-body);
    padding-left: var(--space-md);
    list-style: disc;
    text-align: left;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.coach-offer__card-list li {
    margin-bottom: var(--space-md);
}

/* Price: bold, larger text */
.coach-offer__price {
    font-size: var(--text-h3);
    font-weight: 500;
    margin-bottom: var(--space-2xl);
    text-align: center;
}

/* CTA button: dark background, light text */
.coach-offer__button {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-primary-dark);
    color: var(--color-mint-medium);
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: center;
    padding: var(--space-sm) var(--space-2xl);
}

.coach-offer__button:hover {
    color: var(--color-mint-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ----- SECTION 5: REFERENCES (overrides for coaching page) ----- */

.references--coach {
    padding: var(--space-2xl) var(--space-md) var(--space-lg) var(--space-md);
    margin: 0 calc(-1 * var(--space-md));
    background-color: var(--color-mint-light);
    background-image: url('../images/coaching-decoration.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.references--coach .references__card {
    background-color: var(--color-mint-medium);
}

.references--coach .references__title {
    margin-bottom: var(--space-md);
    padding-top: calc(2 * var(--space-2xl))
}

/* Decorative image at bottom of content */
.coach-page__decoration {
    display: block;
    width: 100%;
}

/* Mobile: hide decorative leaf */
.coach-page__leaf {
    display: none;
}

/* ==========================================================================
   DESKTOP (768px+)
   Intro, Help and Method use two-column layout: title left, content right.
   Offer cards displayed side by side instead of stacked.
   ========================================================================== */

@media (min-width: 768px) {

    /* ----- SECTION 1: INTRO (desktop overrides) ----- */

    .coach-intro__title {
        padding: var(--space-lg) 0 var(--space-lg) 0;
    }

    .coach-intro__text {
        text-align: center;
        padding: 0 0 var(--space-xl) 0;
    }

    .coach-intro__columns {
        display: flex;
        gap: var(--space-xl);
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 0 var(--space-md) 0;
    }

    .coach-intro__left {
        flex: 0 0 250px;
    }

    .coach-intro__right {
        flex: 1;
    }

    /* ----- SECTION 2: HELP (desktop overrides) ----- */

    .coach-help__columns {
        display: flex;
        gap: var(--space-xl);
        max-width: 1200px;
        margin: 0 auto;
        padding: var(--space-xl) 0 var(--space-md) 0;
    }

    .coach-help__left {
        flex: 0 0 250px;
    }

    .coach-help__right {
        flex: 1;
    }

    /* ----- SECTION 3: METHOD (desktop overrides) ----- */

    .coach-method__columns {
        display: flex;
        gap: var(--space-xl);
        max-width: 1200px;
        margin: 0 auto;
        padding: var(--space-xl) 0 var(--space-2xl) 0;
    }

    .coach-method__left {
        flex: 0 0 250px;
    }

    .coach-method__right {
        flex: 1;
    }

    /* ----- SECTION 4: OFFER (desktop overrides) ----- */

    .coach-offer {
        padding: var(--space-2xl) 0 0 0;
    }

    /* Cards: single card centered, reasonable width */
    .coach-offer__cards {
        flex-direction: row;
        justify-content: center;
        max-width: 340px;
        margin: 0 auto;
    }

    .coach-offer__card {
        max-width: none;
        width: 100%;
        height: auto;
    }

    .coach-offer__card-title {
        padding: 0 0 var(--space-xl) 0;
    }

    .references--coach {
        /* padding: calc(var(--space-2xl) * 2) 0 var(--space-xl) 0; */
        padding-top: 0;
        aspect-ratio: 1920 / 1080;
        background-size: 100% auto;
        background-position: bottom center;
    }

}


/* ==========================================================================
   DESKTOP LARGE (1200px+)
   Decorative leaf appears only when there's enough horizontal space
   beside the content. Below this width it would overlap the text.
   ========================================================================== */

@media (min-width: 1200px) {

    .coach-page {
        position: relative;
    }

    .coach-page__leaf {
        display: block;
        position: absolute;
        top: calc(80vh - 200px);
        right: -20%;
        width: 70vw;
        height: auto;
        transform: rotate(60deg);
        z-index: 1;
        pointer-events: auto;
        transition: opacity 0.3s ease;
        content: url('/static/images/green_leaf_v2.webp');
    }
}