* {
    box-sizing: border-box;
}

/* ===== FONTS ===== */
@font-face {
    font-family: 'Bobby Jones';
    src: url('../fonts/Bobby Jones Condensed.otf') format('opentype');
}

@font-face {
    font-family: 'Prompt';
    src: url('../fonts/Prompt-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Prompt';
    src: url('../fonts/Prompt-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Prompt';
    src: url('../fonts/Prompt-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Prompt';
    src: url('../fonts/Prompt-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}


/* ===== VARIABELEN ===== */
:root {
    --donkergroen: #0D2F1C;
    --zwart: #000000;
    --groen: #3E722E;
    --blauw: #475DA7;
    --rood: #DF4438;
    --geel: #FFA833;
}


/* ===== BASIS-STIJLEN ===== */
body {
    font-family: 'Prompt', sans-serif;
    font-weight: 300;
    color: var(--zwart);
    margin: 0;
}

header {
    background-color: var(--donkergroen);
    color: white;
    padding: 1.25rem 1.25rem;
    
}

h1, h2, h3 {
    font-family: 'Bobby Jones', sans-serif;
    color: var(--donkergroen);
    text-align: center;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 6rem);
    color: white;
}

@media (max-width: 600px) {
    h1 { font-size: 1.9rem; }
}

h2 {
    font-size: 2rem;
}

p {
    font-size: 1.25rem;
    line-height: 1.6;
}

li {
font-size: 1.25rem;
    line-height: 1.6;
}

/* ===== LAYOUT ===== */
nav {
    background-color: var(--donkergroen);
    padding: 0.8rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    text-align: center;
    font-family: 'Prompt', sans-serif;
    font-weight: 700;
    font-size: 1.50rem;
}

@media (max-width: 600px) {
    nav a { font-size: 1.1rem; }
}

main {
     text-align: left;;
}

footer {
    background-color: var(--donkergroen);
    color: white;
    text-align: center;
    padding: 1.25rem;
    margin-top: 2.5rem;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer p {
    font-size: 0.9rem;
    margin: 5px 0;
}

img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
}

@media (max-width: 600px) {
    img { height: 200px; }
}



/* ===== COMPONENTEN ===== */
.logo {
    max-height: clamp(1.8rem, 5vw, 2.8rem);
    width: auto;
    flex-shrink: 0;
    border-radius: 0.2rem;
}

.dropdown {
    position: relative;
}

.dropdown-inhoud {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--donkergroen);
    min-width: 200px;
    flex-direction: column;
    padding: 10px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-inhoud {
    display: flex;
}

.dropdown-inhoud a {
    padding: 10px 20px;
    font-weight: 300;
}

.dropdown-inhoud a:hover {
    background-color: var(--groen);
}

section {
    max-width: 80%;
    margin: 40px auto;
    padding: 30px;
    border-radius: 15px;
}

.team-foto {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* ===== PAGINA-SPECIFIEK: index ===== */

.in-het-kort {
    color: white;
    background-color: #475DA7;
        max-width: 60%;
    margin: 40px auto;
    padding: 30px;
    border-radius: 15px;
    text-align: left;
}

.in-het-kort li {
    font-size: 1.8rem;
    line-height: 1.9;
}

.in-het-kort h2 {
    color: white;
}

@media (max-width: 600px) {
    .in-het-kort,
    section {
        max-width: 90%;
        padding: 20px;
    }
    .in-het-kort li {
        font-size: 1.3rem;
    }
}

/* ===== PAGINA-SPECIFIEK: Visie & Missie ===== */

.visie-inhoud {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    text-align: left;
}

.visie-tekst {
    flex: 1;
}

.visie-foto {
    max-width: 300px;
    width: 100%;
    border-radius: 10px;
    flex-shrink: 0;
}

.missie-foto {
    max-width: 500px;
    width: 100%;
    border-radius: 10px;
    display: block;
    margin: 30px auto 0;
}

@media (max-width: 700px) {
    .visie-inhoud {
        flex-direction: column;
    }
}

.boodschap p {
    text-align: justify;
    hyphens: auto;
}

/* ===== PAGINA-SPECIFIEK: ons verhaal ===== */
.grondleggers {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.grondlegger {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.grondlegger .team-foto {
    max-width: 250px;
}

.geschiedenis-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.geschiedenis-fotos img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* ===== PAGINA-SPECIFIEK: samenwerking ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

.partners-grid img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin: 0 auto;
}


/* ===== PAGINA-SPECIFIEK: werking ===== */
.werking-raster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

@media (max-width: 900px) {
    .werking-raster {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .werking-raster {
        grid-template-columns: 1fr;
    }
}

.werking-kaart {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
}

.werking-kaart img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.werking-kaart h2 {
    text-align: left;
    font-size: 1.6rem;
}

.werking-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.werking-kaart.uitgeklapt .werking-extra {
    max-height: 1000px;
}

.lees-meer-knop {
    background: none;
    border: none;
    color: var(--groen);
    font-family: 'Prompt', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
}

.lees-meer-knop:hover {
    text-decoration: underline;
}

.raster-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 600px) {
    .raster-2 {
        grid-template-columns: 1fr;
    }
}

/* ===== PAGINA-SPECIFIEK: ik zoek hulp ===== */
.raster-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .raster-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .raster-4 {
        grid-template-columns: 1fr;
    }
}



.uren-tabel {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    border-collapse: collapse;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
}

.uren-tabel th,
.uren-tabel td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 1.1rem;
    line-height: 1.5;
}

.uren-tabel td {
    font-weight: 700;
    color: var(--donkergroen);
    letter-spacing: 0.5px;
}

.uren-tabel th {
    background-color: var(--donkergroen);
    color: white;
    font-family: 'Bobby Jones', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .uren-tabel th,
    .uren-tabel td {
        padding: 8px;
        font-size: 0.95rem;
    }
}

.opvallend-vak {
    background-color: var(--blauw);
    color: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 700px;
    margin: 30px auto 0;
    text-align: left;
}

.opvallend-vak ul {
    color: white;
    text-align: left;
    display: inline-block;
}

.vraag-stap h2 {
    margin-bottom: 25px;
}

.vraag-knoppen {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.vraag-knoppen-verticaal {
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.knop {
    background-color: var(--groen);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Prompt', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
}

.knop:hover {
    background-color: var(--donkergroen);
}

.resultaat {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 15px;
}

.resultaat-ja {
    background-color: var(--groen);
    color: white;
}

.resultaat-ja a {
    color: white;
    text-decoration: underline;
}

.resultaat-nee {
    background-color: var(--geel);
    color: var(--zwart);
}

.knop-opnieuw {
    background-color: transparent;
    border: 2px solid currentColor;
    margin-top: 20px;
}

.knop-opnieuw:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===== PAGINA-SPECIFIEK: wat kan ik doen ===== */

.rekeningnummer {
    font-family: 'Bobby Jones', sans-serif;
    font-size: 1.5rem;
    color: var(--donkergroen);
    background-color: white;
    display: inline-block;
    padding: 15px 25px;
    border-radius: 10px;
    letter-spacing: 1px;
}

.facebook-feed {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ===== Hamburger ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 12px 0;
    }

    /* dropdowns op mobiel: geen hover, wel klik-uitklap */
    .dropdown-inhoud {
        position: static;
        display: none;
        min-width: 0;
        padding-left: 15px;
    }

    .dropdown.open .dropdown-inhoud {
        display: flex;
    }
}
