/* ========================================================= */
/* 1. Algemene instellingen en variabelen                    */
/* ========================================================= */

:root {
    --brand-orange: #FC6B0C;
    --brand-orange-hover: #ff6a2d;
    --header-dark: #000000;
    --nav-height: 50px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #111;
    background: black;
}

/* ========================================================= */
/* 2. Lay-out & wrappers                                     */
/* ========================================================= */

.home-wrapper {
    background-color: var(--header-dark);
    color: white;
}

.main-content {
    background: black;
    color: white;
    padding: 5px 15px;
}

/* ========================================================= */
/* 3. Header & Navigatie                                     */
/* ========================================================= */

.site-header {
    background: var(--header-dark);
    color: white;
    position: relative;
}

.header-top {
    text-align: center;
    padding: 1px 0 0;
}

.logo-wrap {
    display: inline-block;
}

.site-logo {
    height: 200px;
    object-fit: contain;
    max-width: 90%;
}

/* Desktop Menu */
.main-nav {
    background: var(--brand-orange);
}

.nav-links {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.3s ease-in-out;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    display: block;
    padding: 0 18px;
    line-height: var(--nav-height);
    font-weight: bold;
    text-decoration: none;
    color: black;
    border-radius: 10px;
    margin: 0 5px;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links li a:hover {
    background-color: var(--brand-orange-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
}

.nav-links li a.active {
    background-color: rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--header-dark);
}

/* Desktop submenus */
.nav-links li.has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 99;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 10px;
}

.nav-links li.has-submenu:hover .submenu {
    display: block;
}

.nav-links li.has-submenu .submenu li a {
    padding: 12px 18px;
    line-height: normal;
    white-space: nowrap;
    color: black;
    border-radius: 0;
    margin: 0;
}

.nav-links li.has-submenu .submenu li a:hover {
    background-color: var(--brand-orange-hover);
    color: white;
}

/* ========================================================= */
/* 4. Hoofdsecties & componenten                             */
/* ========================================================= */

/* Intro sectie */
.intro-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: 40px auto;
    gap: 20px;
    padding: 0 15px;
}

.intro-text {
    flex: 1 1 45%;
    background: #000;
    padding: 20px;
    color: white;
}

.intro-text h2 {
    color: var(--brand-orange);
    margin-top: 0; /* Voorkomt extra ruimte bovenaan de titel */
}

.intro-slider {
    flex: 1 1 45%;
    position: relative;
    overflow: hidden;
}

/* Slideshow */
.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pijltjes */
.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 animatie */
.fade {
    animation: fade 1s;
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

/* Navigatiepunten slideshow */
.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: #ffffff;
}

/* Knoppen sectie (definitieve 3-koloms lay-out) */
.button-section,
.big-button-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    margin: 40px auto;
    gap: 15px;
    padding: 0 15px;
}

/* ========================================================= */
/* 5. Herbruikbare componenten                               */
/* ========================================================= */

/* Algemene basisstijl voor alle grote knoppen */
.big-button-base {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: black;
    color: white;
    text-decoration: none;
    min-height: 150px;
    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;
}

/* Specifieke breedtes en padding voor de verschillende knoppen */
.big-button,
.contributie-big-button {
    flex: 1 1 calc(33.333% - 15px);
    padding: 20px;
    flex-direction: column;
}

/* Specifieke aanpassingen voor de nieuwe knoppen */
.map-button {
    flex-basis: auto;
    padding: 10px 20px;
    min-height: auto;
    width: 250px;
    flex-direction: row;
    gap: 10px;
}

.contact-button {
    flex-basis: auto;
    padding: 15px 30px;
    min-height: auto;
    width: 300px;
}

/* Deel 2: Hover-effecten voor alle knoppen */
.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;
}

/* Deel 3: Algemene titelstijl voor alle knoppen */
.big-button-base .button-title {
    color: var(--brand-orange);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* Deel 4: Titelkleur bij hover voor alle knoppen */
.big-button-base:hover .button-title {
    color: black;
}

/* Deel 5: Stijl voor de kleine tekst */
.big-button-base small {
    font-size: 0.9rem;
    line-height: 1.4;
    color: lightgray;
}

/* Deel 6: Kleur van de kleine tekst bij hover */
.big-button-base:hover small {
    color: black;
}

/* Stijl voor het Google Maps logo in de knop */
.map-button .maps-logo {
    height: 30px;
    width: auto;
    filter: invert(1);
    transition: filter 0.2s ease;
}

/* Hover-effect voor het logo */
.map-button:hover .maps-logo {
    filter: invert(0);
}

/* ========================================================= */
/* 6. Paginastijlen (Contributie & Bedankt)                  */
/* ========================================================= */

.page-header {
    background: var(--header-dark);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.page-header h2 {
    color: var(--brand-orange);
    font-size: 2.5rem;
    margin: 0 0 10px;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.contribution-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background: var(--header-dark);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.contribution-container h2 {
    color: var(--brand-orange);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.contribution-container p {
    text-align: center;
    margin-bottom: 30px;
}

.contribution-category {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 8px;
}

.contribution-category h3 {
    color: var(--brand-orange);
    font-size: 1.3rem;
    margin-top: 0;
    border-bottom: 2px solid #555;
    padding-bottom: 8px;
}

.contribution-category label {
    display: block;
    cursor: pointer;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.contribution-category label:hover {
    background-color: #222;
}

.contribution-category input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.1);
}

.user-details label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: lightgray;
}

.user-details input[type="text"],
.user-details input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #222;
    color: white;
}

.contribution-container button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--brand-orange);
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contribution-container button:hover {
    background-color: var(--brand-orange-hover);
    transform: translateY(-2px);
}

/* Bedankt-pagina stijlen */
.thank-you-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    text-align: center;
    background: var(--header-dark);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.thank-you-container h2 {
    color: var(--brand-orange);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-container p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.thank-you-container .big-button {
    margin-top: 30px;
    display: inline-block;
    width: auto;
    padding: 15px 30px;
}

/* Footer */
.footer {
    background-color: var(--header-dark);
    color: white;
    padding: 15px 0;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-webdesign {
    background-color: var(--brand-orange);
    color: black;
    text-align: center;
    padding-top: 0px;
}

/* Cookie melding */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #fff;
    border: 2px solid var(--brand-orange);
    padding: 15px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
}

.cookie-consent button {
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

/* ========================================================= */
/* 7. Paginastijlen (Extra)                                  */
/* ========================================================= */

.page-text-container {
    max-width: 1080px;
    margin: 5px auto;
    padding: 10px;
    background: #000;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.page-text-container h2 {
    color: var(--brand-orange);
}

/* ========================================================= */
/* 8. Media Queries (Desktop & Mobiel)                       */
/* ========================================================= */

/* Desktop: Hamburger menu verbergen */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .mobile-text {
        display: none;
    }

    .desktop-text {
        display: block;
    }
}

/* Mobiel: Hamburger menu tonen en navigatie aanpassen */
@media (max-width: 768px) {
    /* Ruimte tussen logo en navigatiebalk verkleinen op mobiel */
    .site-logo {
        height: 160px; /* Pas de hoogte van het logo aan */
    }

    .header-top {
        padding: 0px 0 0; /* Pas de padding van de top-header aan */
    }
    
    /* Intro sectie */
    .intro-section {
        flex-direction: column;
        margin-top: 0px; /* VERKLEIN DEZE WAARDE */
        margin-bottom: 0px; /* VOEG DEZE REGEL TOE */
    }

    .intro-text,
    .intro-slider {
        flex: 1 1 100%;
    }
    
    /* Hamburger menu tonen */
    .hamburger {
        display: block;
        position: absolute;
        left: 15px;
        top: 20px;
        z-index: 1001;
        color: var(--brand-orange);
        font-size: 28px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 999;
    }

    .overlay.show {
        display: block;
    }

    .main-nav .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('/roos.png');
        background-size: cover;
        background-position: center;
    }

    .nav-links.show {
        display: flex;
        transform: translateY(0);
    }

    .nav-links li a {
        width: 100%;
        color: white;
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background-color 0.2s ease;
    }

    .nav-links li a:hover,
    .nav-links li a:focus {
        background-color: transparent;
        color: var(--brand-orange);
        border-bottom: 1px solid var(--brand-orange);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links li.has-submenu > a {
        position: relative;
    }

    .nav-links li.has-submenu > a::after {
        content: '+';
        position: relative;
        right: -2px;
        font-size: 20px;
        line-height: var(--nav-height);
        transition: transform 0.3s ease;
    }

    .nav-links li.has-submenu.open > a::after {
        transform: rotate(45deg);
        content: '+';
    }

    .nav-links li.has-submenu .submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .nav-links li.has-submenu.open .submenu {
        max-height: 500px;
    }

    .nav-links li.has-submenu .submenu li a {
        padding-left: 40px;
        font-size: 14px;
        color: solid var(--brand-orange);
    }

    .main-nav {
        background-color: transparent;
    }

    /* Knoppen op mobiel */
    .button-section,
    .big-button-section {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 0px auto;
    }

    .big-button,
    .contributie-big-button {
        flex-basis: auto;
        width: 90%;
        min-height: 50px;
        margin: 0;
    }

    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: block;
    }
    
    /* Stijlen voor de Google Maps knop op mobiel */
    .map-button {
        background-color: var(--brand-orange);
        color: black;
        border-color: black;
    }

    .map-button .button-title {
        color: black;
    }

    .map-button .maps-logo {
        filter: invert(0);
    }
}