﻿/* Basis reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: sans-serif;
    background-color: #f9f9f9;
    color: rgb(100, 116, 139);
    width: 100%;
    overflow-x: hidden;
}

/* Header & Navigatie */
header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

/* Gebruik een container voor de header met flexbox
   waarbij het logo links staat en het menu rechts */
.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    /* Vergroot het logo (bijv. 60px hoog) */
    width: 265px;
    height: auto;
}

nav {
    margin-left: auto;
}

    nav ul {
        list-style: none;
        display: flex;
        gap: 1.5rem;
    }

        nav ul li a {
            text-decoration: none;
            color: #000;
            font-weight: 500;
            transition: color 0.2s ease-in-out;
        }

            nav ul li a.active,
            nav ul li a:hover {
                color: #0070cc;
            }

/* Main container */
.main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero sectie */
.hero {
    background-color: #eaf4ff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 800px;
    text-align: left;
}

    .hero h1 {
        font-size: 1.6rem;
        color: #004080;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1rem;
        color: #333;
    }

/* Dienstkaarten */
.dienst-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin: 1.5rem auto;
    max-width: 800px;
    width: 100%;
}

    .dienst-card h2 {
        font-size: 1.6rem;
        color: #004080;
        margin-bottom: 0.5rem;
    }

    .dienst-card p {
        font-size: 1rem;
        line-height: 1.5;
        color: #333;
    }

/* Contactstijl */
.contact p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.85rem;
    padding: 1.5rem 0;
    color: #777;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    width: 100%;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}
.chat-window {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.chat-bubble {
    max-width: 80%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
}

    .chat-bubble.user {
        background-color: #eef;
        text-align: right;
        margin-left: auto;
    }

    .chat-bubble.assistant {
        background-color: #f3f3f3;
        text-align: left;
        margin-right: auto;
    }
.lees-meer-knop {
    border-radius: 100px;
    padding: 15px 12px;
    background-color: rgb(31, 124, 236);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .lees-meer-knop:hover,
    .lees-meer-knop:focus {
        background-color: #004494;
        outline: none;
    }
.dienst-card contact {
    font-family: sans-serif;
    background-color: #f9f9f9;
    color: rgb(100, 116, 139);
}

.ronde-textarea {
    border-radius: 15px; /* maakt de hoeken afgerond */
    padding: 10px; /* voor wat ruimte binnenin */
    border: 1px solid #ccc; /* lichte grijze rand */
    font-size: 16px;
    resize: vertical; /* alleen verticale grootte aanpassen mogelijk */
    width: 100%; /* past de breedte aan van het container-element */
    box-sizing: border-box; /* zodat padding meegeteld wordt in de breedte */
}

/* algemene layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
}

nav {
    position: relative; /* nodig voor absolute children */
    padding: 12px 15px;
    background: #fff;
}

/* desktop menu (horizontaal) */
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}

    .menu li a {
        text-decoration: none;
        color: #007bff;
        font-size: 16px;
    }

        .menu li a:hover,
        .menu li a:focus {
            color: #0056b3;
        }

/* hamburger knop */
.menu-toggle {
    display: none;
    position: absolute; /* positioneer onafhankelijk in de nav */
    right: 15px; /* helemaal rechts */
    top: 50%;
    transform: translateY(-50%);
    width: 18px; /* kleiner */
    height: 14px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 999; /* boven menu plaatsen */
}

    .menu-toggle span {
        display: block;
        height: 2px; /* dunner */
        background: #007bff; /* blauw */
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* animatie naar kruis */
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

/* mobiel */
@media (max-width: 600px) {
    .menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu.active {
        display: flex;
        position: absolute;
        top: calc(100% + 8px);
        right: 15px;
        flex-direction: column;
        gap: 8px;
        background: #f8f9fa; /* lichte achtergrondkleur */
        border: 1px solid #ddd; /* subtiele rand */
        border-radius: 6px;
        padding: 10px;
        z-index: 900;
        min-width: 160px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* zacht schaduw */
    }

    .menu li a {
        display: block;
        padding: 6px 12px;
        text-align: right; /* tekst rechts bij kruis */
        color: #007bff;
    }
}
