﻿/* Algemene typografie en responsiviteit */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    margin-bottom: 60px;
    background-color: #f5f5f5;
    color: #1a1a1a;
    font-family: 'Segoe UI', sans-serif;
}

/* Input/knop-focus styling */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Navigatie / hoofdmenu */
.navbar {
    padding: 15px 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.custom-navbar {
    background-color: #00205b; /* Yamaha donkerblauw */
}

.navbar a,
.navbar-brand {
    color: #dafd01 !important;
    font-weight: bold;
    transition: color 0.2s ease;
}

    .navbar a:hover,
    .navbar-brand:hover {
        color: white !important;
    }

/* Dropdown styling passend bij custom-navbar */
.navbar .dropdown-menu {
    background-color: #00163a; /* iets donkerder dan navbar */
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

    .navbar .dropdown-menu .dropdown-item {
        color: #dafd01; /* VR46 geel */
        padding: 10px 20px;
        font-weight: bold;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .navbar .dropdown-menu .dropdown-item:hover {
            color: white;
            background-color: #00205b; /* Yamaha donkerblauw */
        }

.custom-navbar .nav-link {
    color: #dafd01 !important; /* VR46 geel */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .custom-navbar .nav-link:hover {
        color: white !important;
    }

.custom-navbar .dropdown-menu .dropdown-item {
    color: white;
    font-weight: bold;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .custom-navbar .dropdown-menu .dropdown-item:hover {
        background-color: #00205b;
        color: #dafd01;
    }
.navbar-nav .nav-link.dropdown-toggle {
    cursor: default;
}

/* Gele knopstijl */
a.button-yellow, .btn-yellow {
    background-color: #dafd01;
    color: #00205b;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

    a.button-yellow:hover, .btn-yellow:hover {
        background-color: #18648e; /* // #e4da00;*/
        color: #00163a;
    }

/* Taalvlaggen */
.language-switcher img {
    border-radius: 50%;
    transition: transform 0.2s ease-in-out;
    vertical-align: middle;
    border: none;
}

    .language-switcher img:hover {
        transform: scale(1.2);
    }

/* Tekst opmaak */
.text-lowercase {
    text-transform: lowercase;
}

.about-flex {
    display: flex;
    align-items: stretch; /* Beide kolommen even hoog */
    gap: 20px;
    margin-bottom: 40px;
}

.about-image {
    width: 50%;
}

    .about-image img {
        width: 100%;
        height: auto; /* Laat de afbeelding zijn eigen hoogte bepalen */
        object-fit: cover;
        display: block;
        border-radius: 12px;
    }

.about-text {
    width: 50%;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Zorg dat afbeelding en tekst dezelfde hoogte krijgen */
.about-image,
.about-text {
    display: flex;
    flex-direction: column;
}

    .about-image img {
        flex-grow: 1;
        height: 100%; /* Zorgt dat de afbeelding meegroeit met de hoogte van het tekstblok */
    }

/* Responsive gedrag */
@media (max-width: 768px) {
    .about-flex {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

        .about-image img {
            height: auto;
        }
}
/* Uitklapmenuutje */
@media (min-width: 768px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.navbar .dropdown-menu.show {
    display: block;
}

.accordion-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    padding: 0;
    transition: box-shadow 0.3s ease;
}

    .accordion-section.open {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

/* Vraag (kop) */
.accordion-header {
    color: #00205b;
    font-weight: bold;
    margin: 0;
    padding: 18px 20px;
    position: relative;
    cursor: pointer;
}

    /* Plus/min teken */
    .accordion-header::after {
        content: "+";
        position: absolute;
        right: 20px;
        font-size: 20px;
        color: #00205b;
        transition: transform 0.3s ease;
    }

.accordion-section.open .accordion-header::after {
    content: "−";
    transform: rotate(180deg);
}

/* Preview tekst */
.accordion-preview {
    padding: 0 20px 18px 20px;
    color: #1a1a1a;
}

/* Volledige content */
.accordion-full-content {
    display: none;
    padding: 0 20px 20px 20px;
    color: #1a1a1a;
}

.accordion-section.open .accordion-preview {
    display: none;
}

.accordion-section.open .accordion-full-content {
    display: block;
}
/* Koppen geel/donkerblauw */
h1, h2, h3 {
    color: #00205b; /* donkerblauw i.p.v. felgeel */
    font-weight: 700;    
}

h1 {
    margin-left: 30px;
}

.last-modified {
    margin-left: 30px;
}

.read-more-link {
    text-align: right;
}

    .read-more-link::after {
        content: " \2794";
        margin-left: 8px;
    }

tr.clickable:hover {
    background-color: #f5f5f5;
    font-weight: bold;
}

td.clickable:hover {
    background-color: #f5f5f5;
    font-weight: bold;
}

.avb-section img {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.avb-section iframe {
    max-width: 800px;
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
}

img, iframe {
    border-radius: 12px;
}

/* ---------- CONTAINER ---------- */
.container, main, section {
    background-color: transparent;
    color: inherit;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-block {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    margin-top: 60px;
}

    footer a {
        color: #cccccc;
        text-decoration: underline;
    }
