/* Basis reset voor consistente marges doorheen de website */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}
img, video {
    max-width: 100%;
    height: auto;
}

/* --- Navigatie (Header) Stijlen --- */
/* Maak de modulaire header sticky zodat deze bovenaan blijft staan bij het scrollen */
site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: block;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #005f73;
    color: #fff;
    padding: 1.5rem 5%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative; /* Belangrijk voor de positionering van het mobiele menu */
}
header .logo {
    display: flex;
    align-items: center;
    gap: 1rem; /* Ruimte tussen het logo en de tekst */
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}
header .logo-img {
    max-height: 75px; /* Pas deze waarde aan om je logo groter of kleiner te maken */
    width: auto;
    display: block;
}
header ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
header a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
header a:hover {
    color: #e9d8a6;
}
/* Stijl voor de actieve pagina (maar sla de donatieknop over) */
header a.active:not(.btn-donate) {
    color: #e9d8a6;
    border-bottom: 2px solid #e9d8a6;
    padding-bottom: 0.25rem;
}

/* --- Speciale menu knop voor doneren --- */
.btn-donate {
    background-color: #e9d8a6;
    color: #001219 !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    animation: pulse-animation 2.5s infinite;
}
.btn-donate:hover {
    background-color: #fff;
    color: #001219 !important;
    transform: scale(1.05);
    animation: none; /* Stop de animatie als je er met de muis overheen gaat */
}

/* --- Animatie voor de donatieknop --- */
@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 216, 166, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(233, 216, 166, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 216, 166, 0);
    }
}

/* --- Donatieknoppen Stijlen --- */
.amount-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #005f73;
    background: white;
    color: #005f73;
    border-radius: 4px;
    cursor: pointer;
    flex: 1;
    transition: background-color 0.3s, color 0.3s;
}
.amount-btn.active, .amount-btn:hover {
    background-color: #005f73;
    color: white;
}

/* --- Mobiel Hamburger Menu --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Stijlen voor schermen kleiner dan 850px (tablets en telefoons) */
@media (max-width: 850px) {
    .mobile-menu-toggle {
        display: block; /* Toon de hamburger knop */
    }
    header .logo-text {
        font-size: 1.2rem; /* Maak de tekst iets kleiner voor mobiel */
    }
    header nav {
        display: none; /* Verberg het menu standaard op mobiel */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #004b5c; /* Iets donkerdere achtergrond */
        padding: 1.5rem 5%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    header nav.open {
        display: block; /* Toon menu als het geopend is */
        animation: fadeInMenu 0.3s ease-out forwards;
    }
    header ul {
        flex-direction: column; /* Zet links onder elkaar */
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem 4%;
    }
    header .logo {
        gap: 0.6rem;
    }
    header .logo-img {
        max-height: 48px;
    }
    header .logo-text {
        font-size: 0.95rem;
    }
}

/* Animatie voor het mobiele menu */
@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero Slider (Homepagina) Stijlen --- */
.hero-slider {
    position: relative;
    width: 100%;
    /* 100% kogelvrije methode voor aspect ratio op oude browsers (9 / 21 * 100 = 42.85%) */
    padding-top: 42.85%; 
    background-color: #005f73;
    overflow: hidden;
}
@media (max-width: 768px) {
    .hero-slider {
        /* 5 / 4 * 100 = 125% voor de mobiele uitsnede */
        padding-top: 125%; 
        height: auto;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider {
        padding-top: 50%; /* Meer verticale ruimte voor tablets */
    }
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 3rem 6.5rem; /* Vaste veilige marge aan weerszijden voor sliderknoppen */
    background-size: cover;
    background-position: center;
    background-image: var(--bg-desktop);
    box-sizing: border-box;
}

/* 9 Posities voor de tekst op Desktop */
.slide.pos-top-left      { justify-content: flex-start !important; align-items: flex-start !important; }
.slide.pos-top-center    { justify-content: flex-start !important; align-items: center !important; }
.slide.pos-top-right     { justify-content: flex-start !important; align-items: flex-end !important; }
.slide.pos-middle-left   { justify-content: center !important;     align-items: flex-start !important; }
.slide.pos-center        { justify-content: center !important;     align-items: center !important; }
.slide.pos-middle-right  { justify-content: center !important;     align-items: flex-end !important; }
.slide.pos-bottom-left   { justify-content: flex-end !important;   align-items: flex-start !important; }
.slide.pos-bottom-center { justify-content: flex-end !important;   align-items: center !important; }
.slide.pos-bottom-right  { justify-content: flex-end !important;   align-items: flex-end !important; }

/* Tekstuitlijning passend bij horizontale positie */
.slide.pos-top-left .slide-content,
.slide.pos-middle-left .slide-content,
.slide.pos-bottom-left .slide-content {
    text-align: left;
}
.slide.pos-top-center .slide-content,
.slide.pos-center .slide-content,
.slide.pos-bottom-center .slide-content {
    text-align: center;
}
.slide.pos-top-right .slide-content,
.slide.pos-middle-right .slide-content,
.slide.pos-bottom-right .slide-content {
    text-align: right;
}

/* Elegante afstand tot boven- en onderrand op desktop */
.slide[class*="pos-top"] .slide-content {
    margin-top: 2.5rem;
}
.slide[class*="pos-bottom"] .slide-content {
    margin-bottom: 3.5rem; /* Zorgt dat tekst nooit tegen de onderrand plakt */
}

.slide::before {
    /* Donkere overlay zodat tekst goed leesbaar blijft op alle afbeeldingen */
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Tekstcontainer */
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    width: 100%;
}

/* Ondersteuning voor zowel directe elementen als .slide-content elementen */
.slide h2, .slide p, .slide-content h2, .slide-content p {
    position: relative;
    z-index: 2;
}
.slide h2, .slide-content h2 {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
.slide p, .slide-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

/* Optioneel donker tekstkader/badge */
.slide-content.has-text-card {
    background: rgba(0, 18, 25, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 1.8rem 2.2rem;
    border-radius: 10px;
    border-left: 4px solid #0a9396;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .slide {
        padding: 2.5rem 5rem;
    }
    .slide[class*="pos-top"] .slide-content {
        margin-top: 2rem;
    }
    .slide[class*="pos-bottom"] .slide-content {
        margin-bottom: 3rem;
    }
    .slide-content {
        max-width: 520px;
    }
    .slide h2, .slide-content h2 {
        font-size: 2.2rem;
    }
    .slide p, .slide-content p {
        font-size: 1.1rem;
    }
    .slide-content.has-text-card {
        padding: 1.4rem 1.8rem;
    }
}

/* Mobiel (<= 768px) */
@media (max-width: 768px) {
    .slide {
        background-image: var(--bg-mobile) !important;
        padding: 2.5rem 3.5rem; /* Zorgt dat tekst nooit onder de navigatiepijltjes loopt */
    }
    .slide-content {
        max-width: 100%;
        width: 100%;
        text-align: center !important;
    }
    .slide h2, .slide-content h2 {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 0.5rem;
    }
    .slide p, .slide-content p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    .slide-content.has-text-card {
        padding: 1.2rem 1.4rem;
        border-radius: 8px;
    }
    /* Op mobiel: centreer horizontaal, behoud de gekozen verticale positie met veilige marge */
    .slide[class*="pos-top"] {
        justify-content: flex-start !important;
        align-items: center !important;
    }
    .slide[class*="pos-top"] .slide-content {
        margin-top: 2rem;
    }
    .slide[class*="pos-middle"], .slide.pos-center {
        justify-content: center !important;
        align-items: center !important;
    }
    .slide[class*="pos-bottom"] {
        justify-content: flex-end !important;
        align-items: center !important;
    }
    .slide[class*="pos-bottom"] .slide-content {
        margin-bottom: 4.5rem; /* Royale veilige afstand van de mobiele onderrand */
    }
}

.slide.active {
    opacity: 1;
}
.slider-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}
.slider-controls button {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 5px;
    transition: background 0.3s;
    pointer-events: auto;
}
.slider-controls button:hover {
    background: rgba(0,0,0,0.8);
}
@media (max-width: 768px) {
    .slider-controls {
        padding: 0 0.8rem;
    }
    .slider-controls button {
        padding: 0.6rem 0.9rem;
        font-size: 1.1rem;
    }
}

/* --- Layout voor samenvattingen en sponsors --- */
.events-summary, .sponsors {
    padding: 2.5rem 5%;
    text-align: center;
}
.volunteer-section {
    padding: 2.5rem 5%;
    background-color: #f8fafc;
}
.cards, .sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}
.card {
    background: #f4f4f4;
    padding: 2rem;
    border-radius: 8px;
    width: 320px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.card a {
    display: inline-block;
    margin-top: 1rem;
    color: #0a9396;
    text-decoration: none;
    font-weight: bold;
}
.card a:hover {
    text-decoration: underline;
}
.sponsor {
    display: flex; /* Maakt flexbox op de <a> tag mogelijk */
    align-items: center; /* Centreer horizontaal */
    justify-content: center; /* Centreer verticaal */
    padding: 2rem;
    background: #e9ecef;
    border-radius: 8px;
    font-weight: bold;
    color: #495057; /* Iets donkerder voor betere leesbaarheid */
    min-width: 220px; /* Iets meer breedte voor langere namen */
    min-height: 120px; /* Zorgt voor een consistente hoogte */
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sponsor:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.sponsor[href="#"] {
    cursor: default; /* Geen handje als er geen link is */
}
.sponsor img {
    height: 80px; /* Vaste hoogte voor alle logo's */
    width: auto; /* Breedte past zich aan om de verhouding te bewaren */
    max-width: 100%; /* Voorkomt dat het logo breder wordt dan de container */
}

/* --- Voettekst (Footer) Stijlen --- */
footer {
    background: #001219;
    color: #fff;
    padding: 3rem 5% 1rem 5%;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.footer-section {
    flex: 1;
    min-width: 250px;
}
.footer-section h3 {
    color: #0a9396;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #e9ecef;
}
.footer-section .socials {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}
footer .socials a {
    color: #e9d8a6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(233, 216, 166, 0.1);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
footer .socials a:hover {
    color: #001219;
    background-color: #e9d8a6;
    transform: scale(1.1);
}
footer .socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: #ccc;
}

/* --- Gedeelde Pagina Stijlen (Voor alle sub-pagina's) --- */
.page-container {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60vh;
}
.page-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #005f73;
    font-size: 2.5rem;
}

/* --- Evenementen Pagina Stijlen --- */
.events-list {
    margin-bottom: 3rem;
}
.events-list h2 {
    border-bottom: 2px solid #0a9396;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    color: #0a9396;
}
.event-item-image {
    width: 200px;
    height: auto;
    object-fit: cover;
}
.event-item-content {
    display: flex;
    flex: 1;
}
.event-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.card-link {
    color: #0a9396;
    font-weight: bold;
    text-decoration: none;
}
.event-item {
    display: flex;
    background: #f4f4f4;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.event-date {
    background: #e9d8a6;
    color: #001219;
    padding: 2rem;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    min-width: 150px;
    text-align: center;
}
.event-details {
    padding: 1.5rem;
}
.event-details h3 {
    margin-bottom: 0.5rem;
    color: #005f73;
}
.event-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #555;
    flex-wrap: wrap;
}
.event-meta span {
    display: inline-block;
    padding-left: 1.2rem;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230a9396" width="16" height="16"><path d="M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2zm0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8z"></path><path d="M13 7h-2v6h6v-2h-4z"></path></svg>') no-repeat left center;
}
.past-events .event-item {
    opacity: 0.75;
}
.past-events .event-date {
    background: #ccc;
}
@media (max-width: 768px) {
    .event-item, .event-item-content {
        flex-direction: column;
    }
    .event-item-image {
        width: 100%;
        max-height: 240px;
        height: auto;
        object-fit: cover;
    }
    .event-date {
        width: 100%;
        padding: 0.8rem 1rem;
        min-width: auto;
    }
    .event-details {
        padding: 1.2rem 1rem;
    }
}

/* --- Galerij Pagina Stijlen --- */
.back-to-gallery {
    display: block;
    text-align: left;
    margin-bottom: 2rem;
    color: #0a9396;
}
.gallery-section {
    margin-bottom: 4rem;
}
.gallery-section h2 {
    font-size: 2rem;
    color: #005f73;
    border-bottom: 2px solid #e9d8a6;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense; /* Belangrijk voor masonry-effect */
    gap: 1rem;
}
.album-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: white;
    background-color: #e9ecef;
    aspect-ratio: 4 / 3;
}
.album-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.album-card:hover img {
    transform: scale(1.05);
}
.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}
.photo-grid .gallery-item {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: #e9ecef; /* Placeholder kleur tijdens het laden */
}
/* Maak sommige items groter voor een speels effect */
.photo-grid .gallery-item:nth-child(7n+1) {
    grid-column: span 2;
    grid-row: span 2;
}
.photo-grid .gallery-item:nth-child(9n+1) {
    grid-row: span 2;
}
.photo-grid .gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.photo-grid img {
    width: 100%;
    height: 100%; /* Vul de volledige hoogte van het parent-item */
    object-fit: cover; /* Vult het kader, snijdt bij waar nodig */
    display: block;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    pointer-events: none;
}
@media (max-width: 600px) {
    .album-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        grid-auto-rows: 130px;
        gap: 0.5rem;
    }
    .photo-grid .gallery-item:nth-child(7n+1),
    .photo-grid .gallery-item:nth-child(9n+1) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    .play-button {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Stijl voor als een galerij-afbeelding niet kan worden geladen */
.gallery-item.image-error {
    position: relative;
}
.gallery-item.image-error img {
    display: none; /* Verberg het gebroken afbeeldingsicoon */
}
.gallery-item.image-error::before {
    content: '⚠'; /* Waarschuwingsicoon */
    font-size: 2rem;
    color: #842029;
}
.gallery-item.image-error::after {
    content: 'Afbeelding niet gevonden';
    font-size: 0.8rem;
    color: #555;
}
.gallery-item.image-error::before, .gallery-item.image-error::after {
    position: absolute; left: 50%; transform: translateX(-50%); text-align: center;
}

/* --- Lightbox Stijlen --- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#lightbox.show {
    opacity: 1;
    visibility: visible;
}
.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 25, 0.9);
    cursor: pointer;
}
.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    border-radius: 4px;
}
.lightbox-content iframe {
    width: 80vw;
    height: 45vw; /* 16:9 aspect ratio */
    max-width: 1280px;
    max-height: 720px;
    border: none;
}
.lightbox-caption {
    color: #fff;
    margin-top: 1rem;
    text-align: center;
    padding: 0 1rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    z-index: 10001;
    transition: background 0.3s;
    border-radius: 4px;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(0,0,0,0.8);
}
.lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    line-height: 44px;
}
.lightbox-prev, .lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        padding: 0.25rem 0.75rem;
    }
}
/* --- Over Ons Pagina Stijlen --- */
.about-page section {
    margin-bottom: 3rem;
}
.about-page h2 {
    color: #0a9396;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9d8a6;
    padding-bottom: 0.5rem;
    display: inline-block;
}
.about-page p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.about-page-photo {
    margin: 0 auto 3rem auto;
    max-width: 800px;
    width: 100%;
    text-align: center;
}
.about-page-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background-color: #e9ecef; /* Zorgt voor een achtergrondkleur als de afbeelding niet laadt */
}
.about-page-photo figcaption {
    margin-top: 0.75rem;
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================================================
   CONTACT PAGINA STIJLEN
   ========================================================================== */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.contact-form-section {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.btn-submit {
    padding: 0.75rem;
    background-color: #005f73;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}
.btn-submit:hover {
    background-color: #0a9396;
}
.contact-info-section {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Honeypot veld voor formulieren (anti-spam) */
.honeypot {
    position: absolute;
    left: -5000px;
}

/* ==========================================================================
   DONATIE PAGINA STIJLEN
   ========================================================================== */
.donate-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.donate-form-section { flex: 1; min-width: 300px; max-width: 500px; background-color: #e9ecef; padding: 2rem; border-radius: 8px; }
.donate-form-section h2 { color: #005f73; margin-bottom: 1rem; }
.donate-form { display: flex; flex-direction: column; gap: 1.5rem; }
.amount-options { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.amount-input { padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; flex: 1; min-width: 120px; }
.payment-select { width: 100%; padding: 0.5rem; margin-top: 0.5rem; border-radius: 4px; border: 1px solid #ccc; }
.btn-donate-submit { padding: 1rem; background-color: #0a9396; color: white; border: none; font-weight: bold; font-size: 1.1rem; border-radius: 4px; cursor: pointer; transition: background 0.3s; }
.btn-donate-submit:hover { background-color: #005f73; }
.donate-info-section { flex: 1; min-width: 300px; max-width: 400px; display: flex; flex-direction: column; gap: 2rem; }
.info-card { background-color: #f4f4f4; padding: 2rem; border-radius: 8px; }
.info-card h2 { color: #005f73; margin-bottom: 1rem; }
.text-link { color: #0a9396; font-weight: bold; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ==========================================================================
   BEDANKTPAGINA & ALGEMENE HULP STIJLEN
   ========================================================================== */
.text-center {
    text-align: center;
}
.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}
.thank-you-content h1 {
    color: #0a9396;
    font-size: 3rem;
    margin-bottom: 1rem;
}
.thank-you-content p {
    font-size: 1.2rem;
}

/* ==========================================================================
   SCROLL NAAR BOVEN KNOP
   ========================================================================== */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background-color: #e9d8a6; /* Opvallende gouden accentkleur */
    color: #001219;
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#scrollToTopBtn:hover {
    background-color: #fff;
    transform: translateY(0) scale(1.1);
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #001219;
    color: #fff;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}
.cookie-banner a {
    color: #e9d8a6;
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
}
.cookie-buttons button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.btn-accept { background-color: #0a9396; color: white; }
.btn-accept:hover { background-color: #005f73; }
.btn-decline { background-color: transparent; color: #ccc; border: 1px solid #ccc; }
.btn-decline:hover { background-color: #333; color: white; border-color: #333; }

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    .cookie-buttons {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   DIRECTE DONATIE PAGINA (HANDMATIGE OVERBOEKING)
   ========================================================================== */
.direct-donation-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}
.direct-donation-text {
    flex: 1;
    min-width: 300px;
}
.direct-donation-text h2 {
    color: #005f73;
    margin-bottom: 1rem;
}
.direct-donation-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}
.direct-donation-card {
    flex: 1;
    max-width: 450px;
    min-width: 300px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    border-top: 4px solid #0a9396;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.direct-donation-card h3 {
    color: #005f73;
    margin-bottom: 1rem;
}
.donation-details {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.detail-item span {
    flex-basis: 120px; /* Zorgt voor uitlijning */
    font-size: 0.9rem;
    color: #6c757d;
}
.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.detail-item strong {
    flex: 1;
    font-size: 1rem;
    word-break: break-all; /* Zorgt dat lange IBAN niet uit de box breekt */
}
.copy-btn {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}
.copy-btn:hover {
    background-color: #dee2e6;
}
.copy-btn.copied {
    background-color: #0a9396;
    color: white;
    border-color: #0a9396;
}
@media (max-width: 480px) {
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ==========================================================================
   VRIJWILLIGERS PAGINA
   ========================================================================== */
.volunteer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    margin-top: 0;
}
.volunteer-image-section {
    flex: 1;
    min-width: 300px;
}
.volunteer-image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.volunteer-text-section {
    flex: 1.2; /* Geef de tekst iets meer ruimte */
    min-width: 300px;
}
.volunteer-text-section h2 {
    color: #005f73;
    margin-bottom: 1rem;
}
.volunteer-text-section h3 {
    color: #0a9396;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
.btn-cta {
    display: inline-block;
    margin-top: 2rem;
    background-color: #0a9396;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}
.btn-cta:hover {
    background-color: #005f73;
    transform: scale(1.05);
}

/* ==========================================================================
   SPONSORS STYLING
   ========================================================================== */
.sponsors {
    padding: 4rem 1rem;
    text-align: center;
    background-color: var(--bg-light);
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.sponsor {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sponsor img {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.2s;
}

.sponsor img:hover {
    transform: scale(1.05);
}

.sponsor-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: var(--primary-color, #1E3A8A);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: 80px;
    min-width: 150px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.sponsor-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-color, #1E3A8A);
}

/* ==========================================================================
   ABOUT SUMMARY (HOMEPAGE)
   ========================================================================== */
.about-summary {
    padding: 4rem 1rem;
    text-align: center;
    background-color: #ffffff;
}

.about-summary .container {
    max-width: 800px;
    margin: 0 auto;
}

.about-summary h2 {
    color: var(--primary-color, #1E3A8A);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-summary p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 2rem;
}

.about-summary .btn {
    display: inline-block;
    background-color: #0a9396;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.about-summary .btn:hover {
    background-color: #005f73;
    transform: scale(1.05);
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #001219;
    color: #fff;
    padding: 20px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
}
.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.btn-cookie {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.btn-cookie-accept {
    background-color: #34d399; /* Groen */
    color: #064e3b;
}
.btn-cookie-accept:hover {
    background-color: #10b981;
}
.btn-cookie-decline {
    background-color: transparent;
    color: #94a3b8;
    border: 1px solid #94a3b8;
}
.btn-cookie-decline:hover {
    background-color: #334155;
    color: #fff;
}
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   ALGEMENE MOBIELE RESPONSIVITEIT & KAARTEN (< 600px)
   ========================================================================== */
@media (max-width: 600px) {
    .page-container {
        padding: 2rem 4%;
    }
    .page-container h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    .card {
        width: 100%;
        max-width: 360px;
        padding: 1.5rem;
    }
    .volunteer-image-section,
    .volunteer-text-section,
    .contact-form-section,
    .contact-info-section,
    .direct-donation-card,
    .direct-donation-text,
    .donate-form-section,
    .donate-info-section {
        min-width: 0 !important;
        width: 100% !important;
    }
    .volunteer-grid {
        gap: 1.5rem;
    }
    .direct-donation-grid {
        gap: 1.5rem;
    }
    .donate-grid {
        gap: 1.5rem;
    }
    .contact-grid {
        gap: 1.5rem;
    }
    .sponsor {
        min-width: 140px;
        min-height: 90px;
        padding: 1rem;
    }
}

