@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Lato:wght@400;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 70px;
}

header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background-color: #b91c1c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 70px;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(185,28,28,0.3);
}

.Titel {
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav { display: flex; gap: 4px; }

nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

nav a.active {
    background-color: #facc15;
    color: #991b1b;
    font-weight: 700;
}

nav a:hover:not(.active) {
    background-color: rgba(255,255,255,0.15);
    color: #ffffff;
}

.intro {
    background-color: #b91c1c;
    color: #ffffff;
    padding: 56px 40px 72px;
    position: relative;
}

.intro::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background-color: #f9fafb;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.intro-label {
    display: inline-block;
    background-color: #facc15;
    color: #991b1b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.intro h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.intro p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    max-width: 560px;
}

main {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

h1, h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #b91c1c;
}

h2 { font-size: 20px; margin-top: 32px; margin-bottom: 10px; }
p  { margin-bottom: 16px; color: #1f2937; }

.kaarten, .afdeling-kaarten, .galerij {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.kaart {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.kaart:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.kaart-icoon {
    width: 40px; height: 40px;
    background-color: #fef2f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
}

.kaart h2 { font-size: 16px; margin-top: 0; margin-bottom: 8px; }
.kaart p  { font-size: 14px; color: #6b7280; margin: 0; }

.tip-blok {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #b91c1c;
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.tip-blok h2 { margin-top: 0; margin-bottom: 8px; font-size: 17px; }
.tip-blok p  { margin: 0; font-size: 15px; color: #6b7280; }

.afdelingen-titel { margin-top: 40px; margin-bottom: 16px; }

.afdeling-kaart {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    box-shadow: inset rgba(0,51,101) -10px -15px 15px, inset white 5px 5px 5px;
    transition: transform 0.2s ease;
}

.afdeling-kaart:hover { transform: translateY(-3px); }

.afdeling-1 { background-color: #7c3aed; }
.afdeling-2 { background-color: #ca8a04; }
.afdeling-3 { background-color: #15803d; }
.afdeling-4 { background-color: #b91c1c; }
.afdeling-5 { background-color: #1d4ed8; }
.afdeling-6 { background-color: #ea580c; }

.afdeling-inhoud {
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
}

.afdeling-nummer {
    display: inline-block;
    background-color: rgba(255,255,255,0.25);
    color: white;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 12px;
    width: 24px; height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-bottom: 6px;
}

.afdeling-inhoud h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: white;
    margin: 0 0 4px 0;
}

.afdeling-inhoud p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.5;
}

.foto-kaart {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.foto-kaart:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.foto-kaart img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 24px;
    margin-top: 16px;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 14px; }

.contact-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-item-icoon {
    width: 38px; height: 38px;
    background-color: #fef2f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item-tekst strong {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 2px;
}

.contact-item-tekst span { font-size: 14px; color: #6b7280; }

.formulier-kaart {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.formulier-kaart h2 { margin-top: 0; margin-bottom: 20px; font-size: 18px; }
.veld-groep { display: flex; flex-direction: column; gap: 14px; }
.veld { display: flex; flex-direction: column; gap: 6px; }

.veld label {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    font-family: 'Nunito', sans-serif;
}

.veld input, .veld textarea, .veld select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #1f2937;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.veld input:focus, .veld textarea:focus, .veld select:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185,28,28,0.1);
    background: #ffffff;
}

.veld textarea { resize: vertical; min-height: 110px; }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.radio-groep, .checkbox-groep {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1f2937;
    cursor: pointer;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #b91c1c;
    cursor: pointer;
    flex-shrink: 0;
}

.verzenden-knop {
    margin-top: 6px;
    width: 100%;
    padding: 12px 24px;
    background-color: #b91c1c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.verzenden-knop:hover { background-color: #991b1b; transform: translateY(-1px); }
.verzenden-knop:active { transform: translateY(0); }

.succes-bericht {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    color: #15803d;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

footer {
    text-align: center;
    padding: 24px 40px;
    color: #6b7280;
    font-size: 13px;
    border-top: 1px solid #e5e7eb;
    background-color: #ffffff;
    margin-top: auto;
}

@media (max-width: 768px) {
    header { padding: 0 20px; }
    .Titel { font-size: 20px; }
    nav a { padding: 6px 10px; font-size: 13px; }
    .intro { padding: 40px 20px 60px; }
    .intro h1 { font-size: 28px; }
    .kaarten, .afdeling-kaarten, .galerij { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .veld-rij { grid-template-columns: 1fr; }
    main { padding: 30px 16px; }
}

@media (max-width: 480px) {
    header { flex-direction: column; height: auto; padding: 12px 16px; gap: 8px; }
    body { padding-top: 110px; }
    nav { flex-wrap: wrap; justify-content: center; gap: 4px; }
    nav a { padding: 5px 10px; font-size: 12px; }
    .intro { padding: 32px 16px 52px; }
    .intro h1 { font-size: 24px; }
    .intro p { font-size: 14px; }
    .kaarten, .afdeling-kaarten, .galerij { grid-template-columns: 1fr; }
    main { padding: 24px 12px; }
    .tip-blok { padding: 16px 18px; }
}
