/* ==========================================================================
   Yvofit — 2026 design system (shared across all pages)
   ========================================================================== */

:root {
    /* Brand palette — wellness green + warm sand */
    --green-900: #0c4a37;
    --green-800: #0f5f48;
    --green-700: #137a5c;
    --green-600: #169b78;   /* primary */
    --green-500: #27b487;   /* legacy brand accent */
    --green-300: #7fd9bd;
    --green-100: #ddf3ea;

    --amber: #f3b65f;
    --amber-soft: #f9dcab;

    --cream: #faf6ef;
    --sand: #f2ebdf;
    --ink: #142a21;
    --body: #45554d;
    --muted: #7b897f;
    --line: #e8e0d3;
    --white: #ffffff;

    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 34px;
    --pill: 999px;

    --shadow-sm: 0 1px 2px rgba(16,42,33,.05), 0 4px 14px rgba(16,42,33,.06);
    --shadow: 0 18px 40px -18px rgba(13,70,52,.30);
    --shadow-lg: 0 40px 80px -28px rgba(13,70,52,.40);

    --maxw: 1180px;
    --gutter: clamp(20px, 5vw, 64px);

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip; /* clip full-bleed bands without breaking sticky nav */
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--body);
    background-color: var(--cream);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 0 0 .5em;
}

a { color: var(--green-700); }

p { margin: 0 0 1.1em; }

/* Shared layout helpers ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--green-600);
    margin: 0 0 1rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.eyebrow::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--green-600);
    border-radius: 2px;
}

/* Buttons ------------------------------------------------------------------ */
.btn, .appointment-btn, .contact-btn, .card .button,
a.Inschrijven_button, a.check_button {
    --btn-bg: var(--green-600);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .98rem;
    letter-spacing: .01em;
    text-transform: none;
    text-decoration: none;
    padding: .85rem 1.6rem;
    border: none;
    border-radius: var(--pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    cursor: pointer;
    box-shadow: 0 10px 24px -12px rgba(13,70,52,.65);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
    width: auto;
}
.btn:hover, .appointment-btn:hover, .contact-btn:hover, .card .button:hover,
a.Inschrijven_button:hover, a.check_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -12px rgba(13,70,52,.7);
    background: var(--green-700);
    color: #fff;
}
.btn--ghost {
    background: transparent;
    color: var(--green-700);
    box-shadow: inset 0 0 0 1.5px var(--green-300);
}

/* ==========================================================================
   Header / navigation — glassy sticky bar
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 246, 239, 0.72);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid rgba(20,42,33,.06);
    padding: 0;
    width: 100%;
}
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: .7rem var(--gutter);
    gap: 1rem;
}
header .logo { flex-shrink: 0; line-height: 0; }
header .logo img,
.yvofit-logo {
    position: static;
    width: auto;
    height: 46px;
    margin: 0;
    top: auto; left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: .35rem;
}
.nav-menu li { margin: 0; }
.nav-menu li a.nav-link {
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .55rem .85rem;
    border-radius: var(--pill);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-menu li a.nav-link:hover {
    color: var(--green-700);
    background: var(--green-100);
}
.contact-btn {
    padding: .6rem 1.25rem !important;
    font-size: .85rem !important;
    letter-spacing: .04em;
    margin-left: .4rem;
}

/* Hamburger toggle — hidden on desktop, shown on mobile (CSS-only, no JS) */
.nav-toggle-cb { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--ink);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: var(--green-100); }

/* ==========================================================================
   Big statement band (Home + Blog text headers)
   ========================================================================== */
.container_scroll {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(60px, 10vw, 130px) var(--gutter);
    text-align: center;
}
.Big_text_scroll {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(30px, 4.6vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}

/* ==========================================================================
   Reviews (Home + Contact)
   ========================================================================== */
.Reviews_qoutes {
    text-align: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px) var(--gutter) 0;
}
.Reviews_qoutes h2 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--green-600);
    margin: 0 0 .5rem;
}
.Reviews_qoutes h1 {
    font-size: clamp(34px, 5vw, 52px);
    margin: 0;
}
.container_reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(20px, 3vw, 32px);
    max-width: var(--maxw);
    margin: 2.5rem auto 0;
    padding: 0 var(--gutter) clamp(40px, 6vw, 80px);
}
.left_section_reviews, .right_section_reviews {
    max-width: none;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.left_section_reviews h2, .right_section_reviews h2 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--green-700);
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0;
}
.left_section_reviews p, .right_section_reviews p {
    font-family: var(--font-sans);
    color: var(--body);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}
.hr-lines:after {
    content: " ";
    height: 3px;
    width: 54px;
    background: var(--amber);
    display: block;
    border-radius: 3px;
    margin: .9rem 0 1.2rem;
}
.fas.fa-quote-right {
    font-size: 1.4rem;
    color: var(--amber);
    margin-right: .4rem;
}

/* ==========================================================================
   Footer (shared)
   ========================================================================== */
.container_contact {
    width: 100%;
    background: var(--green-900);
    color: rgba(255,255,255,.85);
    margin-top: clamp(60px, 8vw, 110px);
    padding: clamp(48px, 6vw, 80px) 0 2.5rem;
}
.container_contact_inner {
    margin: 0 auto;
    max-width: var(--maxw);
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.4fr;
    gap: clamp(28px, 4vw, 56px);
}
.container_contact .left_section,
.container_contact .middle_section,
.container_contact .right_section { margin: 0; }

.container_contact ul { list-style: none; padding: 0; margin: 0; }
.container_contact ul li { margin-bottom: .55rem; }
.container_contact ul li a {
    text-decoration: none;
    color: rgba(255,255,255,.8);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: .98rem;
    transition: color .2s var(--ease);
}
.container_contact ul li a:hover { color: #fff; text-decoration: none; }

.middle_section h2 {
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 1rem;
}
.middle_section ul li a { color: var(--green-300); }
.middle_section ul li a:hover { color: #fff; }

.right_section {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #fff;
}
.right_section h2 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .7rem;
}
.right_section a { color: #fff; text-decoration: none; }
.right_section a:hover { text-decoration: underline; }

.fas.fa-phone-alt, .far.fa-envelope { font-size: 1.05rem; color: var(--green-300); margin: 0; }

.social_media_section { margin-top: 1.5rem; }
.social_media_section p {
    font-family: var(--font-sans);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: .8rem;
}
.social_media_section ul { display: flex; gap: .6rem; padding: 0; }
.social_media_section ul li { margin: 0; }
/* keep Font Awesome brand glyphs (footer link rule above would override the icon font) */
.social_media_section ul li a[class*="fa-"] {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}
.fab.fa-facebook, .fab.fa-instagram, .fab.fa-youtube,
.fab.fa-linkedin, .fab.fa-spotify,
.fa-facebook, .fa-instagram, .fa-youtube, .fa-linkedin, .fa-spotify {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.social_media_section ul li a:hover {
    background: var(--green-600);
    transform: translateY(-3px);
}

/* ==========================================================================
   Scroll-reveal (IntersectionObserver adds .is-visible)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity .7s var(--ease), transform .7s var(--ease);
    }
    .reveal.is-visible { opacity: 1; transform: none; }
}

/* ==========================================================================
   Mobile navigation + responsive refinements
   ========================================================================== */
@media (max-width: 820px) {
    header nav { position: relative; }
    .nav-toggle { display: inline-flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        padding: .4rem var(--gutter) 1.1rem;
    }
    .nav-toggle-cb:checked ~ .nav-menu { display: flex; }

    .nav-menu li { width: 100%; margin: 0; }
    .nav-menu li a.nav-link {
        display: block;
        width: 100%;
        padding: .95rem .4rem;
        font-size: 1.02rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(20, 42, 33, .07);
    }
    .nav-menu li a.nav-link:hover { background: transparent; color: var(--green-700); }

    .contact-btn {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        margin: .9rem 0 0 !important;
        padding: .9rem 1.25rem !important;
        font-size: .95rem !important;
    }
    .yvofit-logo, header .logo img { height: 40px; }
}

/* Footer stacks on small screens */
@media (max-width: 760px) {
    .container_contact_inner { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* Comfortable tap targets + no accidental sideways scroll on phones */
@media (max-width: 480px) {
    :root { --gutter: 18px; }
    .social_media_section ul { flex-wrap: wrap; }
}
