/* ==========================================================================
   Leegveld — Psychologenpraktijk te velde
   Fris, ongedwongen, dicht bij de natuur
   ========================================================================== */

:root {
    --color-cream: #F8F4EC;
    --color-cream-dark: #EFE8D8;
    --color-sage: #4E5D3E;
    --color-sage-light: #7C8A64;
    --color-sage-pale: #E7E9DC;
    --color-terracotta: #C1704A;
    --color-terracotta-dark: #A65C39;
    --color-ink: #33301F;
    --color-ink-soft: #5B5744;
    --color-white: #FFFFFF;

    --font-display: "Fraunces", "Georgia", serif;
    --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 10px;

    --shadow-soft: 0 20px 45px -20px rgba(51, 48, 31, 0.35);
    --container-width: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-sage);
    text-decoration: none;
}

a:hover {
    color: var(--color-terracotta);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-sage);
    color: var(--color-white);
    padding: 10px 16px;
    z-index: 999;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--color-ink);
    line-height: 1.15;
    margin: 0 0 0.5em;
    font-weight: 500;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
h3 {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-sage);
    font-weight: 500;
}
h4 {
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-terracotta);
}

p {
    margin: 0 0 1em;
    color: var(--color-ink-soft);
}

b, strong {
    color: var(--color-ink);
    font-weight: 600;
}

.section-label {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-terracotta);
    margin: 0 0 0.8em;
}

.fine-print {
    font-size: 0.85rem;
    color: var(--color-ink-soft);
    opacity: 0.85;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    border-radius: 999px;
    padding: 0.75em 1.8em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(166, 92, 57, 0.6);
}

.btn-lg {
    font-size: 1.05rem;
    padding: 0.95em 2.3em;
}

.btn-sm {
    padding: 0.55em 1.4em;
    font-size: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 22px 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(248, 244, 236, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px -18px rgba(51, 48, 31, 0.4);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--color-white);
    letter-spacing: 0.01em;
}

.site-header.is-scrolled .logo {
    color: var(--color-sage);
}

.site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.site-nav a:not(.btn) {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.98rem;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled .site-nav a:not(.btn) {
    color: var(--color-ink);
}

.site-nav a:not(.btn):hover {
    border-bottom-color: var(--color-terracotta);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-white);
    transition: background 0.2s ease;
}

.site-header.is-scrolled .nav-toggle span {
    background: var(--color-ink);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(51, 48, 31, 0.35) 0%, rgba(51, 48, 31, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    padding-top: 90px;
}

.hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-cream);
    opacity: 0.9;
}

.hero h1 {
    color: var(--color-white);
    font-style: italic;
    margin-bottom: 0.3em;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--color-cream);
    max-width: 30ch;
    margin-bottom: 1.6em;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 2;
}

.hero-wave path {
    fill: var(--color-cream);
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.alt-bg {
    background: var(--color-cream-dark);
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-heading h2 {
    margin-bottom: 0;
}

/* Split (image + text) layout */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-image-right .split-media { order: 2; }
.split-image-right .split-text { order: 1; }
.split-image-left .split-media { order: 1; }
.split-image-left .split-text { order: 2; }

.split-media {
    position: relative;
}

.split-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.media-accent {
    position: absolute;
    width: 70%;
    height: 70%;
    background: var(--color-sage-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
    top: -24px;
    right: -24px;
}

.split-image-left .media-accent {
    right: auto;
    left: -24px;
}

.split-text h2 {
    margin-bottom: 0.2em;
}

.split-text h3 {
    margin-bottom: 0.8em;
}

/* ---------- Aanbod cards ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.card-media {
    margin: -32px -32px 24px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    height: 200px;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card h3 {
    font-style: normal;
    color: var(--color-ink);
    text-align: left;
}

.leaf-list {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
}

.leaf-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 0.7em;
    color: var(--color-ink-soft);
}

.leaf-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 10px;
    height: 10px;
    background: var(--color-sage-light);
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
}

.price-list {
    list-style: none;
    margin: 0 0 1.2em;
    padding: 0;
    border-top: 1px solid var(--color-cream-dark);
}

.price-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-cream-dark);
    color: var(--color-ink-soft);
}

.price-list li span:last-child {
    color: var(--color-terracotta-dark);
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-sage-pale);
    color: var(--color-sage);
    margin-bottom: 18px;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
}

.contact-card h3 {
    font-style: normal;
    color: var(--color-ink);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-sage);
    color: var(--color-cream);
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 1.4rem;
    color: var(--color-cream);
    margin-bottom: 0.6em;
}

.site-footer h4 {
    color: var(--color-cream);
    opacity: 0.75;
}

.site-footer p,
.site-footer a {
    color: var(--color-cream);
}

.site-footer a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.site-footer .fine-print {
    color: var(--color-cream);
    opacity: 0.7;
}

/* ---------- Reveal animation ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .split,
    .cards-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-image-right .split-media,
    .split-image-left .split-media {
        order: 1;
    }

    .split-image-right .split-text,
    .split-image-left .split-text {
        order: 2;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 72px 0;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 78vw;
        max-width: 320px;
        background: var(--color-cream);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding: 100px 32px 32px;
        box-shadow: -20px 0 40px -20px rgba(51, 48, 31, 0.3);
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .site-nav a:not(.btn) {
        color: var(--color-ink) !important;
        font-size: 1.1rem;
    }

    .hero {
        min-height: 92vh;
        text-align: left;
    }

    .hero-lead {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 24px;
    }

    .card-media {
        margin: -24px -24px 20px;
    }

    .contact-card {
        padding: 28px;
    }
}
