/* Zorg dat de body altijd minimaal schermhoogte heeft en flexbox gebruikt */
*, *::before, *::after {
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .container {
        min-height: 80vh; /* alleen op grote schermen */
    }
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f0e6f6; /* Lichte paarse tint */
    margin: 0;
    padding: 0;
    background: #f9f6ff;
    color: #333;
}

header {
    background: #6a1b9a;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

    header h1 {
        margin: 0;
        font-size: 2rem;
    }


/* H2 – subtitels */
h2 {
    color: #4a148c; /* donker paars */
    font-size: 1.5rem;
    margin: 16px 0 12px 0; /* compacte marges */
    padding: 0;
}

/* H3 – kleinere kopjes */
h3 {
    color: #6a1b9a;
    font-size: 1.2rem;
    margin: 12px 0 8px 0;
    padding: 0;
}


form {
    background: #fff;
    max-width: 400px;
    margin: 40px auto;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

label {
    display: block;
    margin-bottom: 6px;
    color: #555;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

button[type="submit"] {
    background: #8e24aa;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

    button[type="submit"]:hover {
        background: #6a1b9a;
    }

.buttons a {
    display: inline-block;
    margin: 0.5rem 0.5rem 0 0;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background: #ffb300;
    color: #222;
    transition: background 0.3s;
}

    .buttons a:hover {
        background: #ffa000;
    }

.center {
    text-align: center;
    margin-top: 20px; /* optioneel, wat ruimte boven */
}

.btn-home {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

    .btn-home:hover {
        background-color: #45a049;
        transform: translateY(-2px);
    }

    .btn-home:active {
        transform: translateY(0);
    }

a {
    display: inline;
    text-align: left;
    margin-top: 0;
    color: #8e24aa;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
        color: #6a1b9a;
    }

.centered {
    text-align: center;
}

.container {
    flex: 1;
    display: flex;
    background: #fff8e1;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(106,27,154,0.08);
    min-height: auto; /* ipv 80vh */
}


.left {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3e5f5; /* Lichte paarse achtergrond */
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.right {
    flex: 1;
    padding: 40px 30px;
    background: #fffde7; /* Lichte gele achtergrond */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    gap: 18px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

    .right p {
        margin-bottom: 6px; /* Extra ruimte onder paragrafen */
        line-height: 1.6; /* Betere leesbaarheid */
    }

.slideshow-img {
    height: auto;
    object-fit: contain;
    display: block;
    transition: opacity 1s ease;
    opacity: 1;
}

    .slideshow-img.fade-out {
        opacity: 0;
    }

.contact-links {
    margin-top: 12px;
}

    .contact-links a {
        color: #8e24aa;
        text-decoration: none;
        display: inline-block;
        margin-bottom: 8px;
    }

        .contact-links a:hover {
            color: #6a1b9a;
            text-decoration: underline;
        }

    .contact-links p {
        margin: 0 0 8px 0;
    }

.footer-content {
    display: flex;
    justify-content: space-between; /* Tekst links, links rechts */
    align-items: center; /* Verticaal centreren */
    flex-wrap: wrap; /* Zorgt dat het op kleinere schermen netjes blijft */
    max-width: 1200px; /* Optioneel, voor mooie centrering */
    margin: 0 auto;
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 10px 10px; /* minder padding boven/onder */
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    line-height: 1.4; /* compacter */
}

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

.footer a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

    .footer a:hover {
        color: #fff;
    }
/* ===== Responsive layout ===== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0; /* voorkomt extra ruimte */
    }

    .left, .right {
        flex: none;
        width: 100%;
        padding: 0 1rem; /* optioneel: kleine padding binnen */
    }

    .right {
        text-align: left;
    }

    .slideshow-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 60vh;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
}
