﻿:root {
    --groen: rgba(168, 213, 162, 0.6);
    --donkergroen: #6fa76d;
    --wit: #ffffff;
    --lichtgrijs: #f4f4f4;
    --donkeroranje: #FF5900;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background: url('/fotos/bg-img2.jpg') no-repeat center center fixed;
    background-size: cover;
}

header {
    background-color: rgba(168, 213, 162, 0.3);
    color: #1f3d1f;
    padding: 2rem 1rem;
    text-align: center;
    backdrop-filter: blur(2px);
}

    header h1 {
        font-size: 5rem;
        color: #1f3d1f;
        text-shadow: 4px 4px 2px rgba(0,0,0,0.2);
        margin-bottom: 0.5rem;
        font-weight: 800;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

        header h1 i {
            color: #1f3d1f;
            font-size: 8rem;
        }

    header p {
        font-size: 2rem;
        color: #2e4d2e;
        margin-top: 0.5rem;
        font-weight: 800;
    }

section {
    padding: 2rem 1rem;
    max-width: 1100px;
    margin: auto;
}

.intro {
    flex: 1 1 45%;
    background-color: var(--groen);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 280px;
    font-size: 1.25rem;
}

.diensten {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.dienst {
    flex: 1 1 45%;
    background-color: var(--groen);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 280px;
    font-size: 1.25rem;
}

.galerij {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

    .galerij img {
        width: 100%;
        height: 200px; /* of 250px, pas aan naar wens */
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        transition: transform 0.3s ease;
    }

        .galerij img:hover {
            transform: scale(1.03);
            cursor: pointer;
        }


.recensies {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.recensie {
    background-color: var(--groen);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-style: italic;
}

    .recensie span {
        display: block;
        text-align: right;
        font-weight: bold;
        margin-top: 0.5rem;
    }

form {
    background-color: var(--groen);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-feedback {
    margin-top: 1.5rem;
    font-weight: 700;
    padding: 1.25rem 1rem;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    font-size: 1.1rem;
    transition: opacity 0.3s ease-in-out;
}

    .form-feedback.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
        box-shadow: 0 0 10px rgba(21, 87, 36, 0.3);
    }

    .form-feedback.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
        box-shadow: 0 0 10px rgba(114, 28, 36, 0.3);
    }

input, textarea {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0 1rem 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    resize: none;
    max-height: 300px;
}

button {
    background-color: #1f3d1f;
    color: var(--wit);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: #5c8c5a;
    }

footer {
    background-color: rgba(168, 213, 162, 0.4);
    color: #1f3d1f;
    font-weight: 600;
    padding: 2rem 1rem;
    backdrop-filter: blur(2px);
}

.footer-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: auto;
}

.footer-col {
    flex: 1 1 250px;
    min-width: 200px;
}

    .footer-col h3 {
        margin-bottom: 0.75rem;
        font-size: 1.5rem;
        color: #1f3d1f;
        font-weight: 700;
    }

    .footer-col a {
        color: #1f3d1f;
        text-decoration: none;
        font-weight: 600;
    }

        .footer-col a:hover {
            text-decoration: underline;
        }

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #1f3d1f;
}

@media (max-width: 768px) {
    .diensten {
        flex-direction: column;
    }

    .dienst {
        flex: 1 1 100%;
    }
}

h2 {
    font-size: 2.5rem;
    color: #1f3d1f;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    h2::after {
        content: "";
        display: block;
        height: 4px;
        background-color: #1f3d1f;
        border-radius: 2px;
        margin-top: 2px;
        width: 100%;
    }

#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #1f3d1f;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    z-index: 1000;
}

    #cookie-banner a {
        color: #d4edda;
        text-decoration: underline;
    }

#cookie-ok {
    background: white;
    color: #1f3d1f;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
}

/* Mobiele weergave voor schermen kleiner dan 768px */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    header p {
        font-size: 1rem;
        text-align: center;
    }

    .diensten {
        flex-direction: column;
        gap: 1rem;
    }

    .dienst {
        padding: 1rem;
        width: 100%;
    }

    .galerij {
        grid-template-columns: 1fr 1fr;
    }

    .recensies {
        flex-direction: column;
    }

    form {
        width: 100%;
        padding: 0 1rem;
    }

    input, textarea, button {
        font-size: 1rem;
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-col {
        width: 100%;
    }

    #cookie-banner {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        text-align: center;
    }
    body {
        margin: 0;
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
    }

    .galerij {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .diensten {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 1rem;
    }

    .recensies {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    footer .footer-container {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
    }

}
