/* ========================================================================
   GLOBAL SETTINGS & VARIABLES
   ======================================================================== */
:root {
    --primary: #002D62;      
    --accent: #00ADEE;       
    --bg-color: #F4F7FA;     
    --text-color: #1C1C1C;   
    --white: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

/* ========================================================================
   NAVIGATION HEADER & DESKTOP MENU
   ======================================================================== */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo-link { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
}
.logo-img { 
    height: 45px; 
    width: auto; 
}

/* Fail-safe verbergen van de checkbox */
.menu-toggle-cb {
    display: none !important;
}

/* Hamburger-knop basisopbouw (standaard verborgen op desktop) */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}
.menu-btn span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: var(--primary); /* Hoog-contrast diepblauw */
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Desktop navigatie-indeling */
nav {
    display: flex !important;
}
nav a { 
    margin-left: 2rem; 
    text-decoration: none; 
    color: var(--primary); 
    font-weight: 600; 
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s;
}
nav a:hover, nav a.active { 
    color: var(--accent); 
}

/* ========================================================================
   TYPOGRAPHY
   ======================================================================== */
h1 { 
    font-family: 'Comfortaa', cursive; 
    color: var(--primary); 
    font-size: 3.5rem; 
    text-align: center; 
    margin: 0; 
    padding: 0 20px; 
    line-height: 1.2;
}
h1 span { 
    display: block; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 1.5rem; 
    font-weight: 500; 
    margin-top: 15px; 
    color: var(--accent); 
}
h2 { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--primary); 
    font-size: 2.2rem; 
    margin-bottom: 1rem; 
}
h3 { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--accent); 
    font-size: 1.4rem; 
    margin-bottom: 0.5rem; 
    margin-top: 1.5rem; 
}
p { font-size: 1.05rem; margin-bottom: 1.5rem; }
ul, ol { margin-bottom: 1.5rem; font-size: 1.05rem; padding-left: 20px; }
li { margin-bottom: 0.5rem; }

/* ========================================================================
   HERO BANNERS
   ======================================================================== */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.85)), url('images/banner-home.jpg') center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.hero-large { height: 550px; }
.hero-dark { background: linear-gradient(rgba(0, 45, 98, 0.4), rgba(0, 45, 98, 0.6)), url('images/banner-home.jpg') center/cover no-repeat; }
.hero-dark h1 { color: var(--white); }

/* ========================================================================
   LAYOUT GRID & SECTIONS
   ======================================================================== */
.container { max-width: 1100px; margin: 0 auto; padding: 4rem 20px; }
.container-narrow { max-width: 900px; }
.container-reading { max-width: 850px; }

.section { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; margin-bottom: 5rem; }
.section.reverse { flex-direction: row-reverse; } 
.text-box { flex: 1; min-width: 300px; }
.img-box { flex: 1; min-width: 300px; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,45,98,0.1); }
.img-box img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.img-box:hover img { transform: scale(1.03); } 

/* SIDE-SLIDER (POSEIDON) */
.side-slider { position: relative; width: 100%; display: flex; flex-direction: column; }
.side-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; width: 100%; }
.side-slides::-webkit-scrollbar { display: none; }
.side-slides { -ms-overflow-style: none; scrollbar-width: none; }
.side-slide { flex: 0 0 100%; width: 100%; scroll-snap-align: start; }
.side-slide img { width: 100%; height: 380px; object-fit: cover; display: block; }
.side-nav { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.side-nav a { width: 10px; height: 10px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: 0.3s; }
.side-nav a:hover { background-color: var(--accent); }

/* TASSO PORTRAIT VIDEO */
.img-box-iframe-portrait { flex: 0 0 320px; width: 320px; max-width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,45,98,0.1); background-color: #000000; }
.img-box-iframe-portrait iframe { width: 100%; aspect-ratio: 9 / 16; height: auto; border: 0; display: block; }

/* CINEMATIC LAYOUT */
.cinematic-block { width: 100%; margin-bottom: 6rem; }
.video-box-full { width: 100%; max-width: 1100px; margin: 2rem auto; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,45,98,0.1); background-color: #000000; }
.video-box-full video { width: 100%; height: auto; max-height: 520px; object-fit: cover; display: block; }
.video-box-full iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.faq-full-width-img { width: 100%; max-width: 100%; height: auto; display: block; margin-top: 20px; border-radius: 6px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); box-sizing: border-box; }

.highlight-box { background-color: var(--white); padding: 2.5rem; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-left: 5px solid var(--accent); }
.divider { height: 1px; background-color: var(--accent); opacity: 0.3; margin: 3rem 0; }
article { background-color: var(--white); padding: 3.5rem; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,45,98,0.03); margin-bottom: 4rem; }
.meta { font-family: 'Montserrat', sans-serif; font-size: 0.9rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; display: block; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.info-box { background-color: var(--white); padding: 3rem; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,45,98,0.05); }
.info-box h3 { font-family: 'Montserrat', sans-serif; color: var(--accent); font-size: 1.5rem; margin-top: 0; margin-bottom: 1.5rem; border-bottom: 1px solid #eee; padding-bottom: 15px;}
.map-container { width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,45,98,0.05); }
.map-container iframe { width: 100%; height: 450px; border: 0; display: block; }

/* FAQ SYSTEM */
.faq-category { margin-bottom: 4rem; }
.faq-category h2 { border-bottom: 2px solid var(--accent); padding-bottom: 10px; display: inline-block; }
details { background: var(--white); margin-bottom: 1rem; padding: 1.2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,45,98,0.03); transition: all 0.3s; }
details[open] { border-left: 4px solid var(--accent); box-shadow: 0 4px 20px rgba(0,45,98,0.06); }
summary { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--primary); cursor: pointer; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); font-weight: 400; }
details[open] summary::after { content: '-'; }
details p { margin-top: 1rem; margin-bottom: 0; }

/* BUTTONS */
.btn-filled { display: inline-block; background: var(--primary); color: var(--white); padding: 14px 28px; text-decoration: none; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-weight: 600; transition: background 0.3s; margin-top: 10px; border: none; cursor: pointer; }
.btn-filled:hover { background: var(--accent); }
.btn-outline { display: inline-block; border: 2px solid var(--accent); color: var(--accent); padding: 12px 26px; text-decoration: none; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-weight: 600; transition: all 0.3s; margin-top: 10px; }
.btn-outline:hover { background: var(--accent); color: var(--white); }

/* ========================================================================
   MOBIEL BRUUT-GEWELD HAMBURGER REGELS (MAX-WIDTH: 900pX)
   ======================================================================== */
@media (max-width: 900px) {
    /* Toon de hamburger-knop met absolute prioriteit */
    .menu-btn {
        display: flex !important;
    }

    /* Transformeer het menu naar de neerklapbare lade */
    nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: var(--white) !important;
        flex-direction: column !important;
        padding: 5px 0 !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    nav a {
        margin-left: 0 !important;
        padding: 15px 25px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid #f0f4f8 !important;
        font-size: 1.1rem !important;
    }
    nav a:last-child { border-bottom: none; }
    nav a.active { background-color: #f4f7fa; color: var(--accent) !important; }

    /* Zodra de checkbox geactiveerd wordt (via de label-klik): open het menu! */
    #menu-toggle:checked ~ nav {
        display: flex !important;
    }

    /* Verander de hamburger-lijntjes in een kruis (X) */
    #menu-toggle:checked + .menu-btn span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
        background-color: var(--accent);
    }
    #menu-toggle:checked + .menu-btn span:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle:checked + .menu-btn span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
        background-color: var(--accent);
    }

    .section, .section.reverse, .contact-grid { flex-direction: column; grid-template-columns: 1fr; gap: 2rem; }
    .img-box-iframe-portrait { flex: 1; max-width: 100%; width: 100%; }
    article { padding: 2rem; }
}