/* ---------- Reset & Basis ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--text-dark);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- Kleuren ---------- */
:root {
    --cream: #f9f6f0;
    --text-dark: #333;
    --text-light: #666;
    --primary-blue: #008FA9;
    --secondary-blue: #007185;
    --third-blue: #749BC2;
    --fourth-blue: #4682A9;
    --fifth-blue: #91C8E4;
    --light-blue: #e8f4f8;
    --accent-yellow: #FFD166;
}

/* ---------- Wrapper voor Sticky Header ---------- */
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0;
    background: #fff;
}

.container {
    width: 100%;;
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
}

/* ---------- Header ---------- */
.upper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 100%;
    margin: 0 auto;
}

header img {
    width: 75px;
    height: auto;
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

header a {
    width: 80px;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* ---------- Navigatie ---------- */
nav {
    background-color: var(--primary-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

nav ul li a {
    display: block;
    padding: 12px 30px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    outline: none;
    position: relative;
}

nav ul li a:hover {
    background-color: var(--secondary-blue);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--accent-yellow);
    transition: all 0.3s;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 80%;
}

/* ---------- Sidebar Mobile ---------- */
.sidebar {
    position: fixed;
    top: 0; right: 0;
    height: 100%;
    width: 300px;
    background-color: var(--primary-blue);
    box-shadow: -4px 0 8px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    justify-content: start;
    padding-top: 60px;
    z-index: 1000;
}

.sidebar li {
    width: 100%;
}

.sidebar li:first-child {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: var(--secondary-blue);
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--secondary-blue);
    color: #ffffff;
    padding: 40px 20px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="50" height="50" opacity="0.05"><path d="M50,20 A30,30 0 1,1 50,80 A30,30 0 1,1 50,20 Z" fill="white"/><circle cx="35" cy="35" r="5" fill="white"/><circle cx="65" cy="35" r="5" fill="white"/><path d="M35,55 Q50,65 65,55" stroke="white" stroke-width="3" fill="none"/></svg>');
    background-size: 80px;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-bottom: 25px;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--accent-yellow);
}

.footer-section p{
    margin-bottom: 7px;
}

.small-text {
    font-size: 0.9rem !important;
    opacity: 0.8;
}

.footer-section a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-section a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
    font-size: 1rem;
}

/* ---------- Responsief ---------- */
@media (max-width: 768px) {
    nav ul.hideOnMobile {
        display: none;
    }
    .menu-button {
        display: block;
    }
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}