/* ========================================================= */
/* 1. Algemene instellingen & variabelen */
/* ========================================================= */

:root {
    --brand-orange: #FC6B0C;
	--brand-orange-hover: #ff6a2d;
	--brand-orange-transparent: rgba(252, 107, 12, 0.5);
	--header-dark: #000000;
	--nav-height: 50px;
	--color-text-light: #fff;
	--color-bg-dark: #1a1a1a;
	--color-bg-darker: #111;
	--color-bg-darkest: #000000;
}    

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Calibri, sans-serif;
    color: white;
    background: var(--color-bg-darkest);
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h2,
h3,
h4 {
    color: var(--brand-orange);
}

.page-text-container {
    position: relative;
    padding: 20px;
}

/* ========================================================= */
/* 2. Lay-out & wrappers */
/* ========================================================= */

.main-wrapper {
    flex-grow: 1;
}

.page-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
}

.home-wrapper,
.main-content {
    background: var(--color-bg-darkest);
    color: white;
}

.main-content {
    padding: 5px 15px;
}

.contributie-pagina .page-text-container,
.inschrijven-pagina .page-text-container,
.bedankt-pagina .page-text-container,
.page-header-contributie {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================================= */
/* 3. Header & Navigatie (Desktop) */
/* ========================================================= */
.site-header {
    background-color: var(--header-dark);
    padding: 10px 20px;
    position: relative;
    z-index: 1000;
}

.site-header .logo-wrap {
    text-align: center;
    padding-top: 10px;
}

.site-logo {
    max-width: 100%;
    height: 150px;
    display: block;
    margin: 0 auto;
}
/* Standaard: Hamburger menu is onzichtbaar op desktop */
.hamburger-menu {
    display: none;
}

.hamburger-menu .line {
    display: none;
}
/* Desktop navigatie is standaard zichtbaar */
.main-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: block;
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: var(--brand-orange);
    color: black;
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    /* Een nog lichtere, frisse oranje kleur */
    background-color: #FFB380; 
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Iets diepere schaduw voor meer contrast */
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    font-weight: bold; 
}

/* Voor de zekerheid: zorg dat de links de dikte overnemen */
.submenu a {
    font-weight: bold;
}

.nav-links li.has-submenu:hover .submenu,
.nav-links li.has-submenu:focus-within .submenu {
    display: block;
}

.nav-links li.has-submenu .submenu li a {
    padding: 10px 15px;
    color: black;
    font-weight: bold;
    border-radius: 0;
    margin: 0;
    font-size: 1em;
    text-align: left;
}

.nav-links li.has-submenu .submenu li a:hover {
    background-color: var(--brand-orange-hover);
    color: white;
}

/* Mobiele navigatie elementen standaard verbergen */
.hamburger,
.mobile-text,
.overlay {
    display: none;
}

.desktop-text {
    display: block;
}

/* ========================================================= */
/* 4. Hoofdsecties & componenten */
/* ========================================================= */

.intro-section {
    display: flex;
    flex-direction: row; /* Tekst links, slider rechts */
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 70px 0px; /* 140px bovenin om ruimte voor je nav te maken */
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. De tekst kolom */
.intro-text {
    flex: 1;
  
	max-width: 500px;
    z-index: 2; /* Zorg dat tekst boven eventuele achtergronden staat */
}

/* 3. De slider container */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px; /* Vaste hoogte */
    margin: 20px auto;
    overflow: hidden;
    background-color: #000; /* Zwarte balken aan de zijkant bij smalle foto's */
}

.slide {
    width: 100%;
    height: 100%;
    background-size: contain !important; /* Dwingt de hele foto in beeld */
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: none;
}
/* PIJLTJES STYLING - Zorgen dat ze bovenop liggen */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100; /* Altijd boven de foto */
    background: rgba(252, 107, 12, 0.8); /* Jouw oranje kleur */
    color: white !important;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
    background: #fff;
    color: #FC6B0C !important;
}
/* 4. De slides zelf */
#slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Begin onzichtbaar */
    transition: opacity 1s ease-in-out; /* Mooie overloop */
    display: block !important; /* Zorg dat ze niet op display:none staan */
}

.slide.active {
    opacity: 1; /* Alleen de actieve foto is zichtbaar */
    z-index: 1;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-size: 24px;
    user-select: none;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s;
}

.prev {
    left: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.next {
    right: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.fade {
    animation: fade 1s;
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

.dots-container {
    text-align: center;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot,
.dot:hover {
    background-color: #fff;
}

/* ========================================================= */
/* 5. Herbruikbare componenten */
/* ========================================================= */

.big-button-base {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-bg-darkest);
    color: white;
    text-decoration: none;
    min-height: 100px;
    border-radius: 18px;
    border: 2px solid var(--brand-orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s, color 0.2s, border-color 0.2s ease;
    overflow: hidden;
    flex-direction: column;
    padding: 20px;
}

.big-button-base:hover {
    background-color: var(--brand-orange);
    color: black;
    transform: scale(1.03);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.big-button-base .button-title {
    color: var(--brand-orange);
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.big-button-base:hover .button-title {
    color: black;
}

.big-button-base small {
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--color-text-light);
}

.big-button-base:hover small {
    color: black;
}

.map-button {
    flex-basis: auto;
    padding: 10px 20px;
    min-height: auto;
    width: 250px;
    flex-direction: row;
    gap: 10px;
}

.map-button .maps-logo {
    height: 30px;
    width: auto;
    filter: invert(1);
    transition: filter 0.2s ease;
}

.map-button:hover .maps-logo {
    filter: invert(0);
}

.contact-button {
    flex-basis: auto;
    padding: 15px 30px;
    min-height: auto;
    width: 300px;
}

.cta-button {
    background-color: var(--brand-orange);
    color: black;
    padding: 12px 25px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #ff8c00;
}

.delete-button {
    background-color: #a42c2c;
    border-color: #a42c2c;
    margin-top: 10px;
    margin-bottom: 0;
}

.cta-button-small {
    background-color: black;
    color: white;
    border: 2px solid var(--brand-orange);
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    padding: 8px 15px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.cta-button-small:hover {
    background-color: var(--brand-orange);
    color: white;
    border-color: black;
}

.cta-button.add-button,
.cta-button.delete-button {
    color: white;
}

.button-group {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.button-group .cta-button,
.button-group .secondary-button {
    flex-grow: 1;
    max-width: 200px;
}

.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.message.success {
    background-color: #2c6e49;
    color: white;
}

.message.error {
    background-color: #a42c2c;
    color: white;
}

/* Dropdown menu styling */
.nav-links li.has-submenu {
    position: relative;
}

.nav-links li.has-submenu:hover .submenu,
.nav-links li.has-submenu:focus-within .submenu {
    display: block;
}

.nav-links li.has-submenu .submenu li a {
    padding: 15px;
    color: black;
    font-weight: bold;
    border-radius: 0;
    margin: 0;
}

.nav-links li.has-submenu .submenu li a:hover {
    background-color: var(--brand-orange-hover);
    color: white;
}

/* GECORRIGEERDE SECTIE VOOR KNOPPEN */
.button-section,
.button-section-1,
.button-section-2,
.button-section-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto;
    padding: 0 15px;
    max-width: 1100px;
    gap: 15px;
}

.button-section-1 .big-button-base {
    flex-basis: 100%;
    max-width: 100%;
}

.button-section-2 .big-button-base {
    flex-basis: calc(33.333% - 10px); /* 3 knoppen naast elkaar */
    max-width: calc(33.333% - 10px);
}

.button-section-3 .big-button-base {
    flex-basis: calc(50% - 8px); /* 2 knoppen naast elkaar */
    max-width: calc(50% - 8px);
}

.big-button-section {
    flex-direction: column;
}

.big-button-section .big-button-base {
    width: 100%;
    max-width: 100%;
    min-height: 100px;
}

/* ========================================================= */
/* 6. Footer Stijlen */
/* ========================================================= */
.footer {
    background-color: var(--color-bg-darkest);
    color: white;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--brand-orange);
    margin-top: auto;
}

.footer-content-colored {
    background-color: var(--brand-orange);
    color: black;
    padding: 10px 0;
}

.footer-content-colored p {
    margin: 0;
    font-weight: bold;
}

.footer-content, .footer-webdesign {
    padding: 10px 0;
}

.footer-webdesign a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.footer-webdesign a[href^="mailto:"]:hover {
    color: var(--brand-orange);
    text-decoration: underline;
}

.footer-content p, .footer-webdesign p {
    margin: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparant zwart */
    z-index: -1;
}

/* Standaardstijl voor de mobiele tekst (verbergen op desktop) */
.mobile-text {
    display: none;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #1e1e1e;
    color: white;
    padding: 20px;
    border: 2px solid #ff6600;
    border-radius: 12px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
    .cookie-banner {
        max-width: 400px;
        left: auto; /* Alleen rechtsonder op desktop */
    }
}

.cookie-content h4 { color: #ff6600; margin: 0 0 10px 0; }
.cookie-content p { font-size: 0.9rem; margin-bottom: 15px; }
.cookie-buttons { display: flex; align-items: center; gap: 15px; }
.privacy-link { color: #ccc; font-size: 0.8rem; text-decoration: underline; }

/* ========================================================= */
/* Cookie Banner Styling */
/* ========================================================= */

.cookie-banner {
    position: fixed; /* Blijft op zijn plek tijdens scrollen */
    bottom: 20px;    /* Afstand van de onderkant */
    left: 20px;      /* Afstand van de linkerkant */
    right: 20px;     /* Afstand van de rechterkant (voor mobiel) */
    background: #1e1e1e;
    color: white;
    padding: 25px;
    border: 2px solid var(--brand-orange); /* Gebruikt jouw thema-kleur */
    border-radius: 12px;
    z-index: 10000;  /* Zorgt dat hij boven alles zweeft, ook het menu */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Tekst styling in de banner */
.cookie-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--brand-orange);
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #ddd;
}

/* Knoppen container */
.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Zorgt dat op kleine telefoons de link onder de knop kan */
}

/* De knop zelf */
#accept-cookies {
    padding: 10px 25px;
    cursor: pointer;
    background-color: var(--brand-orange);
    color: black;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
}

#accept-cookies:hover {
    background-color: var(--brand-orange-hover);
}

.privacy-link {
    color: #bbb;
    font-size: 0.85rem;
    text-decoration: underline;
}

/* DESKTOP AANPASSING (Niet over het hele scherm) */
@media (min-width: 768px) {
    .cookie-banner {
        width: 400px;
        right: auto; /* Zet de rechterkant weer 'vrij' */
        bottom: 30px;
        left: 30px;
    }
}

.form-control {
    width: 100%;
    padding: 12px;
    background: #000;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    margin-top: 5px;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--brand-orange);
    outline: none;
}