/* Algemene stijl */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f0f4f2;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigatiebalk */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: bold;
    color: #2e7d32;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #2e7d32;
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #2e7d32;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Header */
header {
    background: linear-gradient(120deg, #2e7d32, #66bb6a);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

/* Formulier sectie */
.contact-section {
  flex: 1;
  display: flex;
  justify-content: center; /* horizontaal centreren */
  align-items: center;     /* verticaal centreren */
  padding: 30px;
}

.form-wrapper {
  width: 100%;
  max-width: 600px;
}

.form-wrapper form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/* Maak body 100vh en gebruik flexbox */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f0f4f2;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Contact-section full height en flex centering */
.contact-section {
    flex: 1;
    display: flex;
    justify-content: center; /* horizontaal */
    align-items: center;     /* verticaal */
    padding: 30px;
}

/* Form wrapper met max-width */
.form-wrapper form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
}

form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
}

form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

fieldset {
    border: none;
    margin: 10px 0;
    padding: 0;
}

fieldset legend {
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
    margin-right: 5px;
}

button {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #1b5e20;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #e0f2f1;
}