/* ---
Med 8 Website: Aangepaste Stijlen
Kleuren (gebaseerd op logo):
Blauw:   #000080 (DarkBlue)
Oranje: #E67E22 (DarkOrange-achtig)
--- */

/* --- KLEUREN & BASIS --- */
:root {
    --color-primary: #000080;  /* Het donkerblauw uit je logo */
    --color-secondary: #333; /* Neutraal donkergrijs */
    --color-accent: #E67E22;   /* Het oranje uit je logo */
    --color-text: #333;
    --color-text-on-dark: #ffffff; /* Wit */
}

html, body {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background-color: #f8f9fa; /* Lichte grijze achtergrond */
    position: relative;
}

/* --- NAVIGATIEBALK --- */
#mainNav {
    background-color: #f8f9fa; /* De lichte achtergrondkleur */
    border-bottom: 3px solid var(--color-accent);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

.navbar-logo {
    height: 30px;
    width: auto;
}

.nav-link {
    font-weight: 500;
}

/* --- HERO SECTIE --- */
.hero-section {
    background-color: #f8f9fa;  /* Lichte body-kleur */
    color: var(--color-text);     /* Donkere tekstkleur */
    padding-top: calc(56px + 4rem);
    padding-bottom: 4rem;
    width: 100%;
}

.hero-text-column h1, .hero-text-column h2 {
    color: var(--color-text);     /* Donkere tekstkleur */
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.hero-text-column .divider {
    background-color: var(--color-accent);
    height: 0.2rem;
    max-width: 5rem;
    margin: 1.5rem 0;
    opacity: 1;
    border: none;
}

.masthead-subheading {
    font-size: 1.25rem;
}

/* Responsive aanpassingen voor Hero */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: calc(56px + 3rem);
        padding-bottom: 3rem;
        text-align: center;
    }
    .hero-logo {
        max-height: 250px;
        margin-bottom: 2rem;
    }
    .hero-text-column .divider {
        margin-left: auto;
        margin-right: auto;
    }
}


/* --- KNOPPEN (Bootstrap Override) --- */
.btn-primary {
    background-color: var(--color-accent) !important; 
    border-color: var(--color-accent) !important;
    color: var(--color-text-on-dark) !important;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #d35400 !important; /* Donkerder oranje */
    border-color: #d35400 !important;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* --- SECTIE STYLING --- */
.page-content {
    background-color: #ffffff;
}

.page-content > section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* --- CONTENT BLOKKEN (Hergebruikt van PaSS) --- */
.content-block {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.content-block h3 {
    font-size: 1.6rem;
    color: var(--color-primary); /* Gebruikt nu Med 8 blauw */
    margin-bottom: 15px;
}

/* Zorgt dat tekst links uitlijnt */
.content-block.text-start {
    text-align: left;
    align-items: flex-start;
}
.content-block.text-start h3 {
    align-self: flex-start;
}

/* --- NIEUW: STIJL VOOR LOGO'S IN CONTENT BLOKKEN --- */
.content-block-logo {
    max-height: 80px; /* Maximale hoogte van het logo */
    max-width: 100%;  /* Zorgt ervoor dat het niet buiten het blok valt */
    width: auto;      /* Behoudt de aspect ratio */
    display: block;   /* Zorgt voor eigen lijn en centreren */
    margin-left: auto; /* Centreert het logo horizontaal */
    margin-right: auto;/* Centeert het logo horizontaal */
    margin-bottom: 1rem; /* Ruimte onder het logo */
}

/* Overrides voor text-start om de image toch te centreren */
.content-block.text-start .content-block-logo {
    margin-left: auto;
    margin-right: auto;
}

/* --- FOOTER --- */
.footer {
    background-color: #343a40; /* Neutraal donkergrijs */
    color: #adb5bd;
    border-top: 1px solid #495057;
}
.footer .text-muted {
    color: #adb5bd !important;
}