﻿/* ==========================================================================
   ABOUT.CSS  — Alternative Wellness Center
   Purpose: Styles specific to the About page (hero/profile, story, approach)
   Depends on: base.css, typography.css, layout.css, components.css, utilities.css
   ========================================================================== */


/* === About / Janet Hall Intro ============================================ */
#about-janet {
    background: linear-gradient(180deg, #f9fcfc 0%, #f4f9f9 100%);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

    #about-janet .awc-profile-img {
        max-width: 100%;
        height: auto;
        border-radius: var(--awc-radius);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    #about-janet .awc-title {
        color: var(--awc-brand);
        font-weight: 700;
    }

    #about-janet .awc-lead {
        font-size: 1.125rem;
        color: var(--awc-dark);
        line-height: 1.7;
    }

@media (max-width: 768px) {
    #about-janet {
        text-align: center;
    }

        #about-janet .awc-profile-img {
            max-width: 80%;
            margin-bottom: 1.5rem;
        }
}


/* === Our Story Section ==================================================== */
/* Use plain white or switch section class to .awc-section--brand for inverted */
#our-story {
    background: #ffffff;
    color: #000 !important;
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: left;
}

    #our-story .awc-title {
        color: var(--awc-brand);
        font-weight: 700;
    }

    #our-story .awc-lead {
        color: var(--awc-dark);
        font-size: 1.125rem;
        line-height: 1.7;
    }

    #our-story img {
        border-radius: var(--awc-radius);
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
    }

    #our-story .awc-story-img {
        border-radius: var(--awc-radius);
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
        max-height: 420px;
        object-fit: cover;
        object-position: center;
    }

@media (max-width: 768px) {
    #our-story {
        text-align: center;
    }

        #our-story .awc-story-img {
            max-height: 320px;
        }
}


/* === Our Approach (text-only bold band) ================================== */
/* If you use the bold text-only variant, set the section to .awc-section--brand
   in HTML: <section class="awc-section awc-section--brand" id="our-approach"> */
#our-approach .awc-title,
#our-approach .awc-lead,
#our-approach p { /* inherit white from brand band; keep spacing tidy */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}


/* === About page visual variety =========================================== */

/* Bold brand section (shared) */
.awc-section--brand {
    background: linear-gradient(180deg, #1b6f6a 0%, #2186a3 100%);
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
}

    .awc-section--brand .awc-title,
    .awc-section--brand .awc-lead,
    .awc-section--brand p {
        color: #fff;
    }

    .awc-section--brand .btn-outline-light {
        border-color: #fff;
        color: #fff;
        transition: background 0.2s ease, color 0.2s ease;
    }

        .awc-section--brand .btn-outline-light:hover {
            background: #fff;
            color: #1b6f6a;
        }

    .awc-section--brand .btn { /* allow outline-brand buttons to adapt */
        border-color: #fff;
        color: #fff;
    }

        .awc-section--brand .btn:hover {
            background: #fff;
            color: #1b6f6a;
        }

#our-approach.awc-section--brand strong {
    color: #fff; /* ensure bold text stays white */
}

/* Light accent band (soft alt background) */
.awc-section--alt {
    background: linear-gradient(180deg, #f9fcfc 0%, #f4f9f9 100%);
}

/* Subtle shape divider (wave) — place at end of a colored section */
.shape-top {
    position: relative;
    margin-top: -1px;
}

    .shape-top svg {
        display: block;
        width: 100%;
        height: 40px;
    }
    /* Match the next section’s background (prevents a dark seam) */
    .shape-top path {
        fill: var(--awc-light, #f7f9f9);
    }

/* Offset image frame for visual depth (use with img-offset--up/down) */
.img-offset {
    position: relative;
    border-radius: var(--awc-radius);
    box-shadow: 0 12px 36px rgba(0,0,0,.10);
}

@media (min-width: 992px) {
    .img-offset--up {
        transform: translateY(-8%);
    }

    .img-offset--down {
        transform: translateY(8%);
    }
}

/* Since badge (used on Story band) */
.since-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .75rem;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* Feature grid (3-up on desktop) — for quick-scannable points */
.feature-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

    .feature-grid .feature {
        display: flex;
        gap: .75rem;
        align-items: flex-start;
    }

.feature .dot {
    width: .65rem;
    height: .65rem;
    border-radius: 999px;
    background: currentColor;
    margin-top: .45rem;
    flex: 0 0 auto;
    opacity: .9;
}

@media (min-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

/* Alternate layout helper (reverses columns on desktop only) */
.awc-section--reverse .row {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .awc-section--reverse .row {
        flex-direction: column;
    }
}

/* === Our Team Section ==================================================== */
#our-team {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: linear-gradient(180deg, #d8f3f0 0%, #c8ece8 100%);
}

    #our-team .awc-card {
        border: 1px solid #e7ecec;
        border-radius: var(--awc-radius);
        box-shadow: 0 6px 20px rgba(0,0,0,.05);
        background: #fff;
        transition: transform .25s ease, box-shadow .25s ease;
    }

        #our-team .awc-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 28px rgba(0,0,0,.08);
        }

/* Team card header image */
.awc-team-img {
    width: 100%;
    height: auto; /* let aspect-ratio set the height */
    aspect-ratio: 16 / 9; /* desktop banner ratio */
    object-fit: cover; /* keep the full-bleed banner look */
    object-position: 50% var(--focus-y, 12%); /* bias toward top; tweak per image */
    border-bottom: 1px solid #e7ecec;
}

/* Tighter ratios on smaller screens keep faces in frame */
@media (max-width: 992px) {
    .awc-team-img {
        aspect-ratio: 4 / 3;
        object-position: 50% var(--focus-y, 10%);
    }
}

@media (max-width: 576px) {
    .awc-team-img {
        aspect-ratio: 1 / 1;
        object-position: 50% var(--focus-y, 8%);
    }
}


/* === At-Home Wellness Section ============================================ */
#home-wellness {
    background: linear-gradient(180deg, #f8fbfb 0%, #eef6f6 100%);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

    #home-wellness .awc-title {
        color: var(--awc-brand);
        font-weight: 700;
    }

    #home-wellness .awc-lead {
        font-size: 1.125rem;
        line-height: 1.7;
        color: var(--awc-dark);
    }

.awc-homewellness-img {
    max-width: 90%;
    border-radius: var(--awc-radius);
    box-shadow: 0 10px 32px rgba(0,0,0,.06);
    border: solid 1px #808080;
    padding: 10px;
    background-color: #fff;
}

@media (max-width: 768px) {
    #home-wellness {
        text-align: center;
    }

    .awc-homewellness-img {
        max-width: 100%;
        margin-top: 2rem;
    }
}

.awc-profile-caption {
    background-color: #f7fafc;
    border-radius: 0.75rem;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    border-left: 3px solid #1e6f64; /* ties into your green number badges */
}

    .awc-profile-caption p {
        margin: 0;
    }
