/* ─── Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
    --sage:         #7a9e7e;
    --sage-light:   #a8c4ab;
    --sage-dark:    #4d7051;
    --cream:        #f6f3ea;
    --cream-warm:   #efe9d8;
    --bark:         #5a5240;
    --bark-light:   #8a7d6a;
    --text:         #3d3d35;
    --text-muted:   #7a7060;
    --white:        #ffffff;

    --ff-display:   'Cormorant Garamond', Georgia, serif;
    --ff-body:      'Jost', sans-serif;

    --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--ff-body);
    color: var(--text);
    background-color: var(--white);
    font-weight: 300;
    line-height: 1.7;
}

/* ─── Fade-in animations ─────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger children of fade-in containers */
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }

/* ─── Hero fade animation timing ────────────────────────── */
.fade-hero-1 { animation: heroFade 1s var(--ease-out) 0.2s both; }
.fade-hero-2 { animation: heroFade 1s var(--ease-out) 0.5s both; }

@keyframes heroFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Fixed Top Bar ──────────────────────────────────────── */
.fixed-parent {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 100;
    background-color: var(--cream);
    border-bottom: 1px solid rgba(122, 158, 126, 0.25);
}

.menu-bars {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--ff-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bark);
    transition: color 0.2s;
}

.menu-bars:hover { color: var(--sage-dark); }

.contact-arrow {
    width: 16px;
    height: 16px;
    color: var(--sage);
    transition: transform 0.3s var(--ease-out);
}

.menu-bars:hover .contact-arrow {
    transform: translateY(3px);
}

/* ─── Mobile Slide Menu ──────────────────────────────────── */
.menu-background {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--cream-warm);
    background-image: url("images/background.jpg");
    background-size: cover;
    background-position: center;
    z-index: 90;
    transform: translateX(-100%);
    transition: transform 0.45s var(--ease-out);
    overflow: hidden;
}

.menu-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(246, 243, 234, 0.88);
}

.menu-background .contact-form-container {
    position: relative;
    z-index: 1;
}

.menu-active {
    transform: translateX(0);
}

/* ─── Hero / Background ──────────────────────────────────── */
.background {
    background-image: url("images/background.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
}

.background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(74, 110, 78, 0.55) 0%,
        rgba(45, 65, 40, 0.70) 100%
    );
}

.md-hide {
    position: fixed;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
}

.header {
    position: relative;
    z-index: 1;
    padding: 9rem 2rem 6rem;
    text-align: center;
}

.header-inner {
    max-width: 700px;
    margin: 0 auto;
}

.header-eyebrow {
    font-family: var(--ff-body);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1.5rem;
}

.title.main {
    font-family: var(--ff-display);
    font-size: clamp(3.2rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: 0.02em;
}

.header-divider {
    width: 48px;
    height: 1px;
    background: rgba(255,255,255,0.45);
    margin: 2rem auto;
}

.title.quote {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.03em;
}

/* ─── Main Content ───────────────────────────────────────── */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2.5rem 4rem;
}

/* Section labels */
.section-label {
    font-family: var(--ff-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.section-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--bark);
    line-height: 1.2;
    margin-bottom: 3rem;
}

/* ─── Intro Blurb ────────────────────────────────────────── */
.main-blurb-container {
    display: flex;
    align-items: flex-start;
    gap: 5vw;
    margin-bottom: 4rem;
}

.main-blurb-text {
    flex: 1 1 0;
    min-width: 0;
}

.main-blurb {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.main-blurb-image {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.helen-face {
    width: 280px;
    max-width: 100%;
    border-radius: 4px;
    display: block;
    box-shadow: 0 8px 32px rgba(60,55,40,0.14);
}

.main-blurb-image figcaption {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    letter-spacing: 0.04em;
}

/* ─── Testimonial ────────────────────────────────────────── */
.testimonial-section {
    position: relative;
    margin: 0 auto 5rem;
    padding: 3rem 2rem;
    background: var(--cream);
    border-radius: 6px;
    text-align: center;
}

.front-page-title {
    font-family: var(--ff-display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 300;
    color: var(--bark);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.testimonial-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonial-content {
    position: relative;
    text-align: center;
}

.testimonial-mark {
    font-family: var(--ff-display);
    font-size: 6rem;
    line-height: 1;
    color: var(--sage-light);
    position: absolute;
    top: -0.4rem;
    left: 1.5rem;
    pointer-events: none;
    opacity: 0.6;
}

.testimonial-quote {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 400;
    line-height: 1.85;
    color: var(--text);
    margin: 0;
    padding: 0 1rem;
}

.testimonial-quote p {
    margin-bottom: 1rem;
}

.testimonial-author {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--ff-body);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage-dark);
    font-style: normal;
}

/* ─── Carousel ───────────────────────────────────────────── */
.carousel-intro {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.carousel-outer {
    position: relative;
    margin-bottom: 5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(60,55,40,0.13);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--cream);
    aspect-ratio: 16 / 9;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prev / Next buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(77, 112, 81, 0.75);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn--prev { left: 14px; }
.carousel-btn--next { right: 14px; }

/* Footer: dots + counter */
.carousel-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: var(--cream);
}

.carousel-dots {
    display: flex;
    gap: 6px;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(122, 158, 126, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.carousel-dot.active {
    background: var(--sage);
    transform: scale(1.3);
}

.carousel-dot:hover:not(.active) {
    background: var(--sage-light);
}

.carousel-counter {
    font-family: var(--ff-body);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    min-width: 36px;
}

/* ─── Location ───────────────────────────────────────────── */
.sm-text-block {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.front-page-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.locations-wrapper {
    width: 100%;
    max-width: 620px;
    padding: 1.5rem;
    background-color: var(--white);
    box-shadow: 0 4px 24px rgba(60,55,40,0.1);
    border-radius: 8px;
    text-align: center;
}

.availability-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.pill {
    background: var(--sage-light);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-family: var(--ff-body);
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
    background: linear-gradient(160deg, var(--sage-dark) 0%, #3a5c3d 100%);
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-title {
    font-family: var(--ff-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.footer-email:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 2.5rem auto 2rem;
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.professional-logo {
    width: 120px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.professional-logo:hover { opacity: 1; }

/* ─── Contact Form ───────────────────────────────────────── */
.contact-form-container {
    font-family: var(--ff-body);
    font-size: 14px;
    color: var(--text);
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.contact-form-container #contact {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(60, 55, 40, 0.18);
}

.contact-form-container #contact h3 {
    font-family: var(--ff-display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    color: var(--bark);
}

.form-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.contact-form-container fieldset {
    border: none;
    margin: 0 0 0.8rem;
    padding: 0;
}

.contact-form-container #contact input[type="text"],
.contact-form-container #contact input[type="email"],
.contact-form-container #contact input[type="tel"],
.contact-form-container #contact textarea {
    width: 100%;
    border: 1px solid rgba(122,158,126,0.35);
    background: var(--cream);
    padding: 0.75rem 1rem;
    font-family: var(--ff-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.contact-form-container #contact input:focus,
.contact-form-container #contact textarea:focus {
    border-color: var(--sage);
    background: var(--white);
}

.contact-form-container #contact textarea {
    height: 110px;
    resize: none;
}

.contact-form-container #contact button[type="submit"] {
    cursor: pointer;
    width: 100%;
    border: none;
    background: var(--sage-dark);
    color: var(--white);
    padding: 0.9rem;
    font-family: var(--ff-body);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.2s;
    margin-top: 0.2rem;
}

.contact-form-container #contact button[type="submit"]:hover {
    background: var(--sage);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
    main {
        padding: 4rem 1.5rem 3rem;
    }

    .main-blurb-container {
        flex-direction: column;
        align-items: center;
    }

    .main-blurb-text {
        width: 100%;
    }

    .main-blurb-image {
        order: -1;
        width: 100%;
        align-items: center;
    }

    .helen-face {
        width: 220px;
    }

    .testimonial-section {
        padding: 2rem 1.5rem;
    }

    .testimonial-mark {
        font-size: 4rem;
        top: -0.2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 7rem 1.5rem 4rem;
    }

    main {
        padding: 3rem 1.2rem 2rem;
    }

    .contact-form-container #contact {
        padding: 1.75rem 1.25rem;
    }
}

/* ─── Large screens ──────────────────────────────────────── */
@media (min-width: 1200px) {
    main {
        padding: 6rem 3rem 5rem;
    }

    .main-blurb {
        font-size: 1.15rem;
    }

    .helen-face {
        width: 320px;
    }

    .carousel-image {
        max-height: 560px;
    }
}