/* --- 1. FONTS IMPORTEREN --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary: #6fa082;
    /* De kenmerkende zachte groene kleur */
    --secondary: #d4c4a8;
    /* Goud/Beige accentkleur */
    --text: #5e5e5e;
    /* Zacht grijs voor leestekst */
    --heading: #333333;
    /* Donkergrijs voor koppen */
    --white: #ffffff;
    --light-bg: #f9f9f9;
    /* Heel lichtgrijs voor achtergronden */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    /* Strak en leesbaar */
    color: var(--text);
    line-height: 1.8;
    background-color: var(--white);
    font-weight: 300;
    /* 'Light' font voor die elegante look */
    padding-top: 0;
    /* Header is nu transparant/overlay in de hero */
}

/* --- 2. TYPOGRAFIE (Zoals in de screenshot) --- */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--heading);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* De grote witte titel op de homepage */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    /* Dit maakt het chique */
    color: var(--white);
    font-size: 3.5rem;
    /* Lekker groot */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 30px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

/* --- 3. DYNAMIC SCROLLING (PARALLAX) --- */
.hero {
    position: relative;
    /* DIT IS DE TRUC VOOR DYNAMIC SCROLLING: */
    background-image: url('../../assets/img/hero.jpg');
    background-attachment: fixed;
    /* Foto blijft staan */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 90vh;
    /* Volledig scherm vullend */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -90px;
    /* Trekt de foto onder de header door */
    padding-top: 90px;
}

/* Donkere laag over de foto zodat tekst leesbaar is */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    /* Subtiele donkere waas */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    /* Animatie: tekst schuift omhoog */
    animation: fadeInUp 1.5s ease-out;
}

/* --- 4. HEADER & NAVIGATIE --- */
header {
    background: rgba(255, 255, 255, 0.95);
    height: 90px;
    position: sticky;
    /* Blijft bovenaan plakken */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: #888;
}

.nav-links li a:hover {
    color: var(--primary);
}

.btn-nav {
    background-color: var(--primary);
    color: white !important;
    padding: 10px 25px;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-nav:hover {
    background-color: var(--heading);
}

/* --- 5. SECTIES & BLOKKEN --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

/* Ruime witruimte zoals in Avada */
.text-center {
    text-align: center;
}

/* Knoppen */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 15px 40px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 2px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--heading);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: inline-block;
    margin-top: 20px;
}

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

/* Cards / Blokken */
.cards-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: white;
    padding: 50px 30px;
    flex: 1 1 300px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Zachte schaduw */
    border-radius: 4px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Parallax Sectie (Overige trajecten) */
.cta-section {
    position: relative;
    background-image: url('../../assets/img/hero.jpg');
    /* Zelfde foto of andere */
    background-attachment: fixed;
    /* DYNAMIC SCROLLING */
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(111, 160, 130, 0.85);
    /* De groene waas */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    font-style: italic;
    font-size: 2.5rem;
}

/* Footer */
footer {
    background: #333;
    color: #bbb;
    padding-top: 80px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: white;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

/* Animatie Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobiel Menu (Hamburger) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--primary);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Op mobiel werkt fixed background vaak niet lekker, dus daar scrollt hij mee */
    .hero,
    .cta-section {
        background-attachment: scroll;
    }
}


/* --- CONTACT PAGINA (Definitieve Versie) --- */

.contact-full-screen {
    /* 1. Desktop: De foto van Angelie */
    background: url('../../assets/img/contact-header.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center; /* WEER IN HET MIDDEN */

    padding: 100px 0;
    position: relative;
}

/* Donkere laag (iets lichter gemaakt voor frisheid) */
.contact-full-screen::before {
    content: '';
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.15);
    z-index: 1;
}

.contact-full-screen .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* WEER IN HET MIDDEN */
}

/* Titel tekst */
.contact-header-text {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6); /* Iets sterkere schaduw voor leesbaarheid */
    max-width: 800px;
}
.contact-header-text h1 { color: #fff; font-size: 2.5rem; margin-bottom: 10px; }
.contact-header-text p { font-size: 1.2rem; font-weight: 600; }

/* HET GROENE BLOK (Center & Transparant) */
.contact-transparant-block {
    /* Kleur is nu veel transparanter (0.65 ipv 0.85) */
    background-color: rgba(0, 78, 70, 0.65);

    /* DIT IS DE TRUC: Blur zorgt dat het gezicht erachter vaag wordt */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Voor Safari */

    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2); /* Subtiel wit randje voor glas-effect */

    width: 100%;
    max-width: 700px; /* Iets breder voor mooie layout */
}

/* Grid Layout */
.contact-grid-layout { display: flex; flex-direction: column; gap: 30px; }
.form-side { width: 100%; }

/* Info zijde (onderaan) */
.info-side {
    width: 100%;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.4);
    display: flex;
    justify-content: center; /* Info centreren */
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

/* Input velden */
.contact-transparant-block label {
    display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5); /* Schaduw achter label tekst voor leesbaarheid */
}

.contact-transparant-block input,
.contact-transparant-block textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    /* Velden zijn ook een beetje doorzichtig wit */
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    margin-bottom: 15px;
    font-family: inherit;
}

.form-row-split { display: flex; gap: 20px; }
.form-row-split .form-group { flex: 1; }

/* Knop */
.btn-submit {
    background-color: #9cbca8;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    width: 100%;
    transition: 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-submit:hover { background-color: #fff; color: #004e46; }

/* Info styling */
.info-side h3 { margin: 0 0 5px 0; font-size: 0.9rem; color: #dedede; }
.info-side p { margin: 0; font-size: 0.95rem; color: #fff; font-weight: 600; }
.phone-btn {
    display: inline-block; background: white; color: #004e46;
    padding: 6px 18px; border-radius: 20px; font-weight: bold; margin-top: 5px; font-size: 0.9rem;
}
.address-block strong { display: block; margin-bottom: 5px; text-transform: uppercase; color: #dedede; font-size: 0.8rem;}

/* --- MOBIEL & TABLET --- */
@media (max-width: 900px) {
    .contact-full-screen {
        /* 2. Mobiel: Wissel naar hero.jpg (de natuurfoto) */
        background-image: url('../../assets/img/hero.jpg') !important;
        background-attachment: scroll;
        background-position: center center;
        padding: 100px 0 40px 0;
    }

    .contact-header-text h1 { font-size: 1.8rem; }

    .contact-transparant-block {
        padding: 25px;
        /* Op mobiel iets donkerder voor betere leesbaarheid tegen drukke achtergrond */
        background-color: rgba(0, 78, 70, 0.8);
    }

    .form-row-split { flex-direction: column; gap: 0; }

    .info-side { flex-direction: column; gap: 20px; }
}
