:root {
    --brand-color: #001930;
    --brand-color-light: #6366f1;
    --text-color: #333;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #cbd5e1;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
}

/* --- BASE STYLES & LAYOUT --- */
body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--text-color);
    
    /* Sticky Footer Magic */
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    /* Achtergrond (voorheen in base.twig) */
    background-color: var(--brand-color);
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
}

/* Dark overlay over de background image */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(180deg, rgba(71,13,0,0.79) 0%, var(--brand-color) 80%);
    z-index: 0;
    pointer-events: none;
}

/* Zorg dat content boven de overlay ligt */
.site-header, 
.content-wrapper, 
.app-footer {
    position: relative;
    z-index: 1;
}

/* Main Content Wrapper: Vult de ruimte op om footer naar beneden te duwen */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.container {
    margin: 0 auto;
    padding: 0 50px;
}

/* --- HEADER COMPONENTS --- */
.site-header {
    position: sticky; /* Blijft plakken bovenaan */
    top: 0;
    z-index: 100; /* Zorg dat hij boven de content zweeft */
    
    /* Apple Glass Effect */
    background-color: rgba(0, 25, 48, 0.40); /* Je brand-color, maar 75% zichtbaar */
    backdrop-filter: blur(12px);             /* Het vervaag effect */
    -webkit-backdrop-filter: blur(12px);     /* Voor Safari/iOS */
    
    /* Subtiele scheidingslijn (glas randje) */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Wat padding om het 'voller' te maken */
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 50px;
    display: block;
    width: auto;
}


.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 20px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .nav-link {
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* --- GENERIC CARD COMPONENT --- */
.card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-top: 4px solid var(--brand-color);
    width: 100%;
    margin: 0 auto;
    max-width: 80%;
    box-sizing: border-box;
}

/* --- APP FOOTER (Strakke versie) --- */
.app-footer {
    /* Positionering (behoud sticky footer logica) */
    margin-top: auto;
    width: 100%;
    
    /* Apple Glass Effect */
    background-color: rgba(0, 25, 48, 0.30); /* Iets transparanter dan de header */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Subtiele scheidingslijn aan de bovenkant */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Tekstkleur aanpassen (was donkergrijs, moet nu licht zijn voor contrast) */
    color: rgba(255, 255, 255, 0.6); 
    font-size: 0.875rem;
    padding: 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

/* Footer links ook aanpassen naar lichte kleuren */
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff; /* Wit bij hover */
    text-shadow: 0 0 10px rgba(255,255,255,0.5); /* Kleine 'glow' bij hover */
}