/* Kleuren en stijlen als variabelen */
:root {
    --primary-bg: #0d4214;
    --secondary-bg: #138a37;
    --primary-text: #ffffff;
    --secondary-text: #0d4214;
    --background-light: #f5fff5;
}

/* Algemene stijlen */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--secondary-text);
}

header {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

header img {
    max-width: 150px;
}

header h1 {
    margin: 0;
    font-size: 48px;
}

nav {
    display: flex;
    justify-content: center;
    background-color: var(--secondary-bg);
    padding: 10px;
}

nav a {
    color: var(--primary-text);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d1ffd1;
}

nav a.active {
    text-decoration: underline;
    font-style: italic;
}

main {
    padding: 20px;
    text-align: center;
}

section {
    display: none; /* Verberg alle secties standaard */
    position: relative;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05; /* Adjust the opacity to make the watermark subtle */
    z-index: 0; /* Ensure the watermark is behind the text */
}

section * {
    position: relative;
    z-index: 1; /* Ensure the text is above the watermark */
}

section.active {
    display: block; /* Toon alleen actieve sectie */
}

footer {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    text-align: center;
    padding: 6px;
    font-size: 0.7em; /* Pas de grootte aan naar wens */
}

.contact {
    background-color: var(--secondary-bg);
    color: var(--primary-text);
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
}

section#hoofdpagina {
    text-align: left; /* Zorgt ervoor dat de tekst links wordt uitgelijnd */
    margin-left: auto;
    margin-right: auto;
    width: 50%; /* Pas de breedte aan naar wens */
}

section#massages {
    text-align: left; /* Zorgt ervoor dat de tekst links wordt uitgelijnd */
    margin-left: auto;
    margin-right: auto;
    width: 50%; /* Pas de breedte aan naar wens */}

section#tarieven {
    text-align: left; /* Zorgt ervoor dat de tekst links wordt uitgelijnd */
    margin-left: auto;
    margin-right: auto;
    width: 50%; /* Pas de breedte aan naar wens */}

section#voorwaarden {
    text-align: left; /* Zorgt ervoor dat de tekst links wordt uitgelijnd */
    margin-left: auto;
    margin-right: auto;
    width: 50%; /* Pas de breedte aan naar wens */}

section#avg {
    text-align: left; /* Zorgt ervoor dat de tekst links wordt uitgelijnd */
    margin-left: auto;
    margin-right: auto;
    width: 50%; /* Pas de breedte aan naar wens */}

section#contra_indicaties {
    text-align: left; /* Zorgt ervoor dat de tekst links wordt uitgelijnd */
    margin-left: auto;
    margin-right: auto;
    width: 50%; /* Pas de breedte aan naar wens */}

/* Responsieve stijlen */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 10px 0;
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
}

form label {
    font-weight: bold;
}

form input, form textarea, form button {
    font-size: 1rem;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #005bb5;
}

#contact-form button[type="submit"] {
    background-color: #138a37; /* Groene achtergrondkleur */
    color: white; /* Witte tekstkleur */
}

#contact-form button[type="reset"] {
    background-color: #138a37; /* Groene achtergrondkleur */
    color: white; /* Witte tekstkleur */
}
