﻿/* =====================================================
   BASIS
===================================================== */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #0d3858;
    background: #ffffff;
}

/* =====================================================
   HEADER (FIXED – STABIEL OP MOBIEL)
===================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(255,255,255,1);
    transition: background 0.25s ease, backdrop-filter 0.25s ease;
}

    header.is-sticky {
        background: rgba(255,255,255,0.5);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* logo */
.header-logo svg {
    width: 170px;
    height: auto;
}

/* =====================================================
   HEADER MENU'S (DESKTOP)
===================================================== */

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

/* top menu */
.top-menu,
.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.top-menu {
    gap: 10px;
    margin-bottom: 6px;
}

    .top-menu a {
        font-size: 13px;
        font-weight: 600;
        color: #0d3858;
        padding: 6px 14px;
        border: 1px solid #0d3858;
        border-radius: 999px;
        text-decoration: none;
        white-space: nowrap;
    }

        .top-menu a:hover {
            background: #0d3858;
            color: #fff;
        }

/* main menu */
.main-menu {
    gap: 22px;
}

    .main-menu a {
        font-size: 15px;
        font-weight: 700;
        color: #0d3858;
        text-decoration: none;
    }

        .main-menu a:hover,
        .main-menu a.active {
            text-decoration: underline;
        }

/* =====================================================
   HAMBURGER
===================================================== */

.hamburger {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0d3858;
}

/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(6px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1500;
    overflow-y: auto;
}

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 20px;
    }

    .mobile-menu li {
        margin-bottom: 14px;
    }

    .mobile-menu a {
        font-size: 16px;
        font-weight: 700;
        color: #0d3858;
        text-decoration: none;
    }

    .mobile-menu .divider {
        height: 1px;
        background: rgba(0,0,0,0.1);
        margin: 16px 0;
    }

/* =====================================================
   CONTENT
===================================================== */

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px; /* header compensatie */
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    background: #0d3858;
    color: #ffffff;
    margin-top: 80px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-col h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
}

.footer-col p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
}

    .footer-col a:hover {
        text-decoration: underline;
    }

/* social */
.footer-social {
    display: flex;
    gap: 14px;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

/* footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.25);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 13px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .header-right {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .header-logo svg {
        width: 130px;
    }

    .site-container {
        padding: 110px 16px 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (min-width: 768px) {

    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr auto;
        text-align: left;
    }
}
