/* Kleurvariabelen (Aangepast op basis van de afbeelding) */
:root {
    --kleur-primair: #2A3B22;     /* Donkerder Mosgroen (Knopkleur) */
    --kleur-secundair: #DEDECF;   /* Zachte Beige/Grijsgroen (Achtergrond) */
    --kleur-accent: #4A6640;      /* Iets lichtere Groen voor Hovers */
    --kleur-achtergrond-licht: #F8F6E6; /* Lichtste Beige (voor kaarten/secties) */
    --kleur-tekst: #333333;
    --kleur-wit: #ffffff;
}

/* Algemene Reset en Typografie */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--kleur-tekst);
    background-color: var(--kleur-secundair); /* Hoofdachtergrond is de lichte kleur van de knopachtergrond */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Navigatiebalk */
header {
    background-color: var(--kleur-primair); /* Donkergroen */
    color: var(--kleur-wit);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--kleur-wit);
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--kleur-wit);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 15px;
}

nav ul a {
    color: var(--kleur-wit);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
}

nav ul a:hover {
    background-color: var(--kleur-wit);
    color: var(--kleur-primair);
    border-color: var(--kleur-wit);
    transform: translateY(-2px);
}

/* Hero Sectie (Homepage) */
.hero {
    /* Gebruikt de donkere kleur voor contrast met de lichte body achtergrond */
    background-color: var(--kleur-primair); 
    color: var(--kleur-wit);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* CTA Knop - Gebaseerd op de knop in de afbeelding */
.cta-button, .submit-button {
    display: inline-block;
    background-color: var(--kleur-primair); /* Donkergroen */
    color: var(--kleur-wit);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px; /* Meer afgeronde hoeken zoals in de afbeelding */
    transition: background-color 0.3s, color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover, .submit-button:hover {
    background-color: var(--kleur-accent); /* Iets lichtere groen bij hover */
    color: var(--kleur-wit);
}

/* Algemene Sectie Styling */
section {
    padding: 40px 0;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--kleur-primair); /* Donkergroen */
    margin-bottom: 30px;
}

/* Diensten Pagina */
.diensten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.dienst-kaart {
    background-color: var(--kleur-achtergrond-licht); /* De lichtste beige voor de kaarten */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dienst-kaart:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.dienst-kaart.expanded {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon-placeholder {
    font-size: 3em;
    color: var(--kleur-primair); /* Donkergroen */
    margin-bottom: 15px;
}

.dienst-kaart h3 {
    color: var(--kleur-primair);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.expand-icon {
    font-size: 0.6em;
    transition: transform 0.3s ease;
}

.dienst-kaart.expanded .expand-icon {
    transform: rotate(180deg);
}

.dienst-intro {
    margin-bottom: 15px;
}

.dienst-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    text-align: left;
    margin-top: 20px;
}

.dienst-kaart.expanded .dienst-details {
    max-height: 500px;
}

.dienst-details ul {
    list-style: none;
    padding: 0;
}

.dienst-details li {
    padding: 10px 0;
    border-bottom: 1px solid var(--kleur-secundair);
}

.dienst-details li:last-child {
    border-bottom: none;
}

/* Contact Pagina */
.contact-grid {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap; 
}

.contact-form, .contact-details {
    flex: 1;
    min-width: 300px;
    background-color: var(--kleur-achtergrond-licht); /* Lichtste beige */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--kleur-secundair);
    border-radius: 4px;
    background-color: var(--kleur-wit);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--kleur-primair);
    color: var(--kleur-wit);
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}

/* Media Queries voor Responsiviteit */
@media (max-width: 768px) {
    .logo {
        font-size: 1.5em;
    }

    nav ul {
        /* Voor mobiel zou je hier een toggle moeten implementeren. 
           Voor een statische basis werkt dit voorlopig. */
    }
    
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .contact-grid {
        flex-direction: column;
    }
}