/* ===================================================
   ADEM VITAAL — MASTER STYLESHEET
   Warm • Organisch • Modern
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ===================================================
   DESIGN TOKENS
=================================================== */
:root {
    --clr-bg: #F7F3ED;
    --clr-bg-alt: #EDE7DC;
    --clr-bg-card: #FDFAF6;
    --clr-cream: #FFF7F1;
    --clr-sand: #D9CFC2;
    --clr-green: #6B7D5F;
    --clr-green-dark: #465740;
    --clr-green-light: #C8D4BC;
    --clr-green-mist: #EBF0E7;
    --clr-terra: #B8733A;
    --clr-terra-light: #F4EAE0;
    --clr-text: #2E2B27;
    --clr-muted: #6B6259;
    --clr-border: #DDD6CC;
    --clr-white: #FFFFFF;
    --ff-display: 'Cormorant Garamond', Georgia, serif;
    --ff-body: 'DM Sans', system-ui, sans-serif;
    --max-w: 1160px;
    --section-gap: 5.5rem;
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --shadow-xs: 0 1px 4px rgba(40,30,20,.06);
    --shadow-sm: 0 4px 14px rgba(40,30,20,.08);
    --shadow-md: 0 12px 40px rgba(40,30,20,.13);
    --shadow-lg: 0 24px 64px rgba(40,30,20,.18);
    --ease-out: cubic-bezier(.22,.68,0,1.2);
    --transition: .22s ease;
}

/* ===================================================
   RESET
=================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

body {
    font-family: var(--ff-body);
    background: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(ellipse 60% 40% at 10% 5%, rgba(180,200,168,.22) 0%, transparent 100%), radial-gradient(ellipse 50% 35% at 92% 12%, rgba(220,200,175,.28) 0%, transparent 100%), radial-gradient(ellipse 40% 30% at 50% 95%, rgba(180,200,168,.15) 0%, transparent 100%);
        pointer-events: none;
        z-index: -1;
    }

/* ===================================================
   ANIMATIES
=================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeUp .65s var(--ease-out) forwards;
}

    .fade-in:nth-child(1) {
        animation-delay: .08s;
    }

    .fade-in:nth-child(2) {
        animation-delay: .22s;
    }

/* ===================================================
   TYPOGRAFIE
=================================================== */
h1, h2, h3, h4, h5 {
    font-family: var(--ff-display);
    font-weight: 500;
    color: var(--clr-terra);
    line-height: 1.25;
    letter-spacing: .01em;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1.2rem;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.1rem;
    color: var(--clr-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.subtitle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--clr-green);
    margin-bottom: 1rem;
}

    .subtitle::before {
        content: "";
        display: block;
        width: 24px;
        height: 1.5px;
        background: var(--clr-green);
        flex-shrink: 0;
    }

/* ===================================================
   LAYOUT
=================================================== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-gap) 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* ===================================================
   TOP BAR
=================================================== */
.top-bar {
    background: var(--clr-green-dark);
    font-size: .78rem;
}

.top-bar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: .45rem 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.2rem;
}

.top-bar a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    transition: color var(--transition);
}

    .top-bar a:hover {
        color: #fff;
    }

.top-bar svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ===================================================
   HEADER
=================================================== */
.site-header {
    background: rgba(247,243,237,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem 2rem;
    max-width: var(--max-w);
    margin: auto;
}

.nav-logo img {
    height: 52px;
    transition: opacity var(--transition);
}

    .nav-logo img:hover {
        opacity: .8;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: .1rem;
}

    .nav-links > li > a {
        font-size: .88rem;
        font-weight: 500;
        padding: .4rem .85rem;
        border-radius: var(--radius-sm);
        color: var(--clr-muted);
        transition: all var(--transition);
    }

        .nav-links > li > a:hover,
        .nav-links > li > a.active {
            color: var(--clr-terra);
            background: var(--clr-terra-light);
        }

.nav-contact {
    background: var(--clr-green-dark) !important;
    color: #fff !important;
    border-radius: var(--radius-pill) !important;
    padding: .4rem 1.1rem !important;
}

    .nav-contact:hover {
        background: var(--clr-green) !important;
        color: #fff !important;
    }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

    .nav-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background-color: var(--clr-text);
        transition: 0.3s;
        border-radius: 2px;
    }

/* ===================================================
   DROPDOWN
=================================================== */
.has-dropdown {
    position: relative;
}

    .has-dropdown > a::after {
        content: " ▾";
        font-size: .65rem;
        opacity: .55;
    }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 200;
    min-width: 190px;
    /* padding-top vormt een onzichtbare klikbare brug tussen de link en het menu */
    padding-top: 8px;
    display: none;
    flex-direction: column;
}

.dropdown-inner {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: .5rem 0;
}

.dropdown li a {
    display: block;
    padding: .5rem 1.2rem;
    font-size: .87rem;
    color: var(--clr-muted);
    white-space: nowrap;
    transition: all var(--transition);
}

    .dropdown li a:hover {
        background: var(--clr-terra-light);
        color: var(--clr-terra);
    }

.has-dropdown.open .dropdown {
    display: flex;
}

/* ===================================================
   MOBIEL MENU
=================================================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block !important;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: var(--clr-white) !important;
        flex-direction: column !important;
        padding: 80px 25px 25px !important;
        gap: 0 !important;
        transition: right 0.3s ease !important;
        z-index: 1000 !important;
        display: flex !important;
        box-shadow: none !important;
        overflow-y: auto !important;
    }

        .nav-links.open {
            right: 0 !important;
            box-shadow: -5px 0 20px rgba(0,0,0,0.15) !important;
        }

        .nav-links li {
            width: 100% !important;
            border-bottom: 1px solid var(--clr-border) !important;
        }

        .nav-links a {
            display: block !important;
            padding: 15px 0 !important;
            font-size: 18px !important;
        }

    .has-dropdown .dropdown {
        display: none !important;
        position: static !important;
        background: var(--clr-bg-alt) !important;
        padding: 0 0 0 20px !important;
        margin-top: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

        .has-dropdown .dropdown::before {
            display: none !important;
        }

        .has-dropdown .dropdown.open {
            display: block !important;
        }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ===================================================
   BUTTONS
=================================================== */
.btn {
    display: inline-block;
    padding: .8rem 2rem;
    border-radius: var(--radius-pill);
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: .88rem;
    letter-spacing: .04em;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--clr-green-dark);
    color: #fff;
    box-shadow: 0 4px 18px rgba(70,87,64,.25);
}

    .btn-primary:hover {
        background: var(--clr-green);
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(70,87,64,.30);
    }

.btn-outline {
    border: 1.5px solid var(--clr-green-dark);
    color: var(--clr-green-dark);
    background: transparent;
}

    .btn-outline:hover {
        background: var(--clr-green-dark);
        color: #fff;
        transform: translateY(-2px);
    }

/* ===================================================
   HERO
=================================================== */
.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 6rem;
    align-items: center;
    padding: 6rem 0 5rem;
}

.hero-text {
    max-width: 520px;
}

    .hero-text p {
        font-size: 1.06rem;
        line-height: 1.85;
        color: var(--clr-muted);
    }

.hero .about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    padding-top: 16px;
    padding-right: 16px;
    clip-path: inset(-20px -20px 0px 0px);
}

    .hero .about-image::before {
        content: "";
        position: absolute;
        inset: 8% 0% -8% 4%;
        background: linear-gradient(150deg, var(--clr-green-light) 0%, var(--clr-bg-alt) 100%);
        border-radius: var(--radius-lg);
        z-index: 0;
    }

    .hero .about-image img {
        position: relative;
        z-index: 1;
        width: 80%;
        max-width: 290px;
        margin-left: -1rem;
        border-radius: var(--radius-lg);
        object-fit: cover;
        aspect-ratio: 3/4;
        filter: drop-shadow(5px -5px 10px rgba(40,30,20,.14));
    }

/* ===================================================
   FOOTER
=================================================== */
.site-footer {
    background: var(--clr-green-dark);
    color: rgba(255,255,255,.72);
    padding: 1.5rem 0;
    font-size: .85rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}

    .footer-inner nav {
        display: flex;
        align-items: center;
        gap: 1.2rem;
        flex-wrap: wrap;
    }

.site-footer a {
    color: rgba(255,255,255,.72);
    transition: color var(--transition);
}

    .site-footer a:hover {
        color: #fff;
    }

/* ===================================================
   PAGINA INTRO SECTIES
=================================================== */
.about-intro,
.aanbod-intro,
.werkwijze-intro,
.home-intro,
.contact-intro {
    background-color: var(--clr-cream);
}

.aanbod-intro,
.werkwijze-intro,
.contact-intro {
    padding: 3rem 0;
    text-align: center;
}

.home-intro {
    padding: 2rem 0;
}

.aanbod-intro h1,
.about-intro .about-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 400;
    color: var(--clr-terra);
}

/* ===================================================
   GRIDS (pagina-specifiek)
=================================================== */
.about-intro .about-grid,
.werkwijze-grid,
.home-intro .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.aanbod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 3rem 0;
}

/* ===================================================
   ABOUT PAGINA
=================================================== */
.about-intro .about-text h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--clr-green-dark);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--clr-terra);
    padding-left: 1rem;
}

/* ===================================================
   JOURNEY SECTION
=================================================== */
.journey-section {
    background-color: #E1E7D3;
    padding: 4rem 0;
    width: 100%;
}

.journey-card {
    background: var(--clr-cream);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.3s var(--ease-out);
    height: 100%;
    border: 1px solid var(--clr-border);
}

    .journey-card h2::after {
        content: '';
        display: block;
        width: 50px;
        height: 3px;
        background: var(--clr-terra);
        margin-top: 8px;
        border-radius: 4px;
    }

    /* ===================================================
   GEDEELDE CARD HOVER
=================================================== */
    .journey-card:hover,
    .aanbod-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
    }

/* ===================================================
   AANBOD PAGINA
=================================================== */
.aanbod-card {
    background: var(--clr-cream);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--clr-border);
    transition: transform 0.3s var(--ease-out);
}

    .aanbod-card h3 {
        font-size: 1.5rem;
        color: var(--clr-terra);
        margin-bottom: 1rem;
    }

/* ===================================================
   GEDEELDE IMAGE HOVER (about / werkwijze / home)
=================================================== */
.about-intro .about-image img,
.werkwijze-image img,
.home-intro .home-image img {
    border-radius: var(--radius-lg);
    box-shadow: 20px -20px 0 0 var(--clr-green-light);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

    .about-intro .about-image img:hover,
    .werkwijze-image img:hover,
    .home-intro .home-image img:hover {
        transform: scale(1.02);
        box-shadow: 25px -25px 0 0 var(--clr-green);
    }

/* ===================================================
   CONTACT PAGINA
=================================================== */
.contact-form-wrap,
.contact-info {
    background: var(--clr-cream);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--clr-border);
}

/* ===================================================
   ERROR PAGINA
=================================================== */
.error-intro {
    background-color: var(--clr-cream);
    padding: 4rem 0;
    text-align: center;
}

.error-code {
    font-size: 6rem;
    font-family: var(--ff-display);
    color: var(--clr-terra);
    text-shadow: 4px 4px 0 var(--clr-green-light);
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 768px) {
    .hero,
    .about-intro .about-grid,
    .werkwijze-grid,
    .home-intro .hero,
    .contact-layout,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero {
        padding: 2.5rem 0 2rem;
    }

        .hero .about-image {
            order: -1;
        }

            .hero .about-image img {
                width: 70%;
                max-width: 240px;
            }

    .journey-grid,
    .aanbod-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .about-intro .about-image img,
    .werkwijze-image img,
    .home-intro .home-image img {
        max-width: 70%;
        box-shadow: 12px -12px 0 0 var(--clr-green-light);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero .about-image img {
        max-width: 200px;
    }
}
