/*********************************************************************************/
/* Basic / Reset                                                                 */
/*********************************************************************************/
html, body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html {
	height: auto;
	min-height: 100vh;
}

body {
	display: flex;
	flex-direction: column;
	flex: 1;
    background: #090909;
    font-family: 'Oxygen', sans-serif;
    font-size: 11pt;
    line-height: 2em;
    color: #000;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin: 0;
}

strong, b {
    font-weight: bold;
    color: #000;
}

em, i {
    font-style: italic;
}

a {
    color: #ff0000;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

p, ul, ol, dl, table {
    margin-bottom: 1em;
    font-weight: normal;
}

section, article {
    margin-bottom: 3em;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/*********************************************************************************/
/* Grid / Columns (Flexbox)                                                      */
/*********************************************************************************/
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5em;
}

.col-3 {
    flex: 1 1 22%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}


.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; padding: 0 0.5em; box-sizing: border-box; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 0.5em; box-sizing: border-box; }
.col-8 { flex: 0 0 66.6667%; max-width: 66.6667%; padding: 0 0.5em; box-sizing: border-box; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 0.5em; box-sizing: border-box; }

/*********************************************************************************/
/* HEADER & LOGO – Home & Subpages                                               */
/*********************************************************************************/
#header {
	flex: 0 0 auto;
    position: relative;
    width: 100%;
    min-height: 250px;             /* behoud vaste hoogte */
    padding: 1em 0 1em 0;          /* boven en onder padding */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;       /* verticaal centreren van logo */
    align-items: center;           /* horizontaal centreren */
    text-align: center;
    background: #090909;
    overflow: hidden;
    z-index: 1;
}

#header > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3em;              /* ruimte boven logo */
    width: 90%;
    max-width: 1200px;
    box-sizing: border-box;
    z-index: 1;
	filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.8));
}

/* Logo & titels */
#logo,
#header h1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    line-height: 1;
    z-index: 2;
}

#logo .logo-title,
#header h1 .logo-title,
#logo .logo-subtitle,
#header h1 .logo-subtitle {
    display: block;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 5px 5px 5px #000;
    font-weight: 700;
}

#logo .logo-title,
#header h1 .logo-title {
    font-size: 75px;
    letter-spacing: 2px;
    margin-bottom: 0.3em;
}

#logo .logo-subtitle,
#header h1 .logo-subtitle {
    font-size: 50px;
    letter-spacing: 2px;
    margin-bottom: 0.5em;
}

/* Header achtergrond */
.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.header-bg picture,
.header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nav-spacing */
#nav {
    margin-top: 1em; /* ruimte tussen logo en nav */
    z-index: 2;
}

/*********************************************************************************/
/* NAVIGATION - DESKTOP                                                           */
/*********************************************************************************/
#nav {
    position: relative;
    z-index: 2;
    margin-top: 1em;
	margin-bottom: 1em;
}

#nav ul {
    list-style: none;
    margin: 0 auto;
    padding: 0 1.5em;
    display: flex;
	width: fit-content;
    justify-content: center;
    background: #131313;
    border-radius: 40px;
    white-space: nowrap;
}

#nav > ul > li { display: inline-block; }

#nav > ul > li > a,
#nav > ul > li > span {
    display: block;
    padding: 1em 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 1em;
    color: #A5A5A5;
    text-decoration: none;
}

#nav > ul > li > a:hover,
#nav li.active a {
    color: #FFF;
}

/*********************************************************************************/
/* HAMBURGER MENU & MOBILE NAV PANEL                                             */
/*********************************************************************************/
#titleBar {
    display: none;
    background: #1a1a1a;
    padding: 0.4em 0.8em;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    align-items: center;
    justify-content: flex-start;
    gap: 0.5em;
	position: relative;
	z-index: 5;
}

#titleBar .toggle {
    font-size: 1.2em;
    vertical-align: middle;
}

#titleBar span {
    font-size: 0.9em;
    letter-spacing: 1px;
    text-transform: none;
    vertical-align: middle;
}

/* Mobiel navigatiepaneel */
#navPanel {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: max-height 0.3s ease, padding 0.3s ease;
	position: relative;
	z-index: 10;
}

#navPanel.show {
    max-height: 500px;
    padding: 0.5em 0;
}

#navPanel .link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0.8em 1em;
    border-top: 1px solid #212121;
    text-transform: uppercase;
    font-size: 0.95em;
}

/*********************************************************************************/
/* TWO COLUMN SECTION ABOVE FOOTER                                               */
/*********************************************************************************/
.info-two-column {
    background: #fff url('images/overlay.png') repeat;
    padding: 1em 0 0 0;
}

.two-col-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -1em;
}

.info-col {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    margin-left: 1em;
    margin-bottom: 1em;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 4em;
}

.info-item img {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    border-radius: 6px;
    margin-right: 1em;
}

.info-item h3 {
    margin: 0;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.3em;
}

.info-item h3 a { color: inherit; text-decoration: none; }

.info-item h3 a:hover { text-decoration: underline; }

.info-item a img {
    display: block;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.info-item a:hover img {
    border-color: #b71c1c;
}

/*********************************************************************************/
/* MAIN CONTENT                                                                  */
/*********************************************************************************/
#main { flex: 1 0 auto; min-height: 100%; padding: 3em 0 0 0; background: #fff url('images/overlay.png') repeat; }

.divider { border-top: 1px solid #dbdbdb; margin: 1em 0 1em 0; overflow: hidden; }

.center-text { text-align: center; margin-bottom: 3em; font-size: 1em; line-height: 1.8em; }

.center-text a:hover { text-decoration: underline; }

.row {
    display: flex;
	align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;   /* centreren van kolommen in container */
    margin: 0 -0.5em 0 -0.5em;
}

.col-3 {
    box-sizing: border-box;
    padding: 0 0.5em;              /* interne padding */
	margin: 0 0.5em 0 0.5em;
    flex: 0 0 calc(25% - 1em);   /* 4 kolommen naast elkaar, gap meegerekend */
    max-width: calc(25% - 1em);
    display: flex;
    flex-direction: column;
}

.col-3 section { display: flex; flex-direction: column; flex-grow: 1; }
.col-3 section p strong,
.col-3 section p em { text-align: left; display: block; }
.col-3 section p em {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0 0 2em 0;           /* marge onder beschrijving */
    font-size: inherit;
	flex-grow: 0;
}

.col-3 .image-container { display: flex; justify-content: center; width: 80%; margin: 0 auto 2.5em auto; }
.col-3 .image-container img { width: 270px; max-width: 100%; height: auto; border-radius: 8px; align-self: center; }

.col-3 section .button {
    display: inline-block;
    width: auto;                     /* automatisch afhankelijk van inhoud */
    min-width: 120px;
    padding: 0.5em 1em;
    text-align: center;
    margin: 1.5em 0 1.5em 0;                 /* links uitlijnen */
    align-self: flex-start;          /* knop links uitlijnen */
	margin-top: auto;
}

.button {
    background: #1d1d1d;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9em;
    color: #FFF;
    padding: 0.5em 1.5em;
    transition: color 0.35s, background-color 0.35s;
}

.button:hover {
    background: #141414;
    color: #FFF;
	background-color: darkred;
}

.image-container {display: inline-block; width: auto; }

.image-container a.image {
    display: inline-flex;
    position: relative; /* pseudo-element kan nu absoluut positioneren */
    overflow: hidden;
    border-radius: 10px;
}

.image-container a.image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Hover-border via pseudo-element */
.image-container a.image::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 10px;
    border: 1px solid transparent; /* standaard onzichtbaar */
    pointer-events: none;           /* klikbare link blijft werken */
    transition: border-color 0.3s ease;
}

.image-container a.image:hover::after {
    border-color: #b71c1c;          /* kleur verschijnt bij hover */
}

/*********************************************************************************/
/* Opmaak voor vervolgpagina's                                                   */
/*********************************************************************************/
#main.subpage {
    padding-top: 4em;    /* ruimte tussen header en main */
    padding-bottom: 4em; /* ruimte tussen main en footer */
}

.title-image {
    display: flex;
    align-items: flex-start;   /* bovenkant uitlijnen */
    gap: 1.5em;                /* ruimte tussen titel en afbeelding */
    margin-bottom: 1em;
}

.title-image h1 {
    flex: 1;                   /* neemt beschikbare ruimte links */
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.title-image img {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    border-radius: 6px;
    margin-right: 1em;
	margin-bottom: 2em;
}

.text-block {
    margin-bottom: 2em;
    overflow: hidden;           /* container omsluit de floated afbeelding */
}

.text-block h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1.5em;
	line-height: 1.2
}

.text-block img {
    float: right;               /* afbeelding rechts */
    width: 200px;
    height: auto;
	border-radius: 8px;
    margin-left: 2em;           /* ruimte tussen tekst en afbeelding */
    margin-bottom: 1em;       /* ruimte onder de afbeelding */
}

.text-block img.linkedin-icon-img {
	float: none;
	display: inline-block;
	width: 78px;
	height: 78px;
	margin: 1em 0 0 0;
}

.text-block a.linkedin-icon {
	display: block;
}

.text-block h2 {
    margin-top: 1em;
    font-size: 1.1rem;
    font-weight: 600;
	margin-bottom: 0.5em;
	line-height: 1.4;
}

.text-block p {
    line-height: 1.8em;
    margin-bottom: 1em;
}

/* Standaard stijl voor links */
.text-block a {
	display: inline-block;
	margin-bottom: 0em;
    color: red;           /* kleur van de link */
    text-decoration: none; /* standaard geen onderstreping */
}

/* Hover / focus stijl */
.text-block a:hover,
.text-block a:focus {
    text-decoration: underline; /* onderstreping bij aanwijzing */
}

/* Button-stijl voor subpage */
.subpage .button {
    display: inline-block;       /* zodat padding werkt zoals verwacht */
    padding: 0.6em 1.5em;       /* meer “dikte” */
    font-size: 1rem;             /* iets grotere tekst */
    font-weight: 500;            /* dikker lettertype */
    color: #fff;                 /* tekstkleur */
    background-color: black;   /* rode achtergrond (voorbeeld) */
    text-decoration: none;        /* geen onderstreping */
    border-radius: 6px;           /* afgeronde hoeken */
    transition: background-color 0.3s; /* subtiele hover-effecten */
	margin-top: 3em;
}

/* Hover-stijl */
.subpage .button:hover {
    background-color: darkred;   /* iets donkerder rood bij hover */
}

.text-block.portraits {
    display: flex;
    justify-content: center;  /* centreren van de rij */
    align-items: flex-start;
    flex-wrap: wrap;          /* extra rijen als nodig */
}

.text-block.portraits figure {
    text-align: center;
    flex: 1 1 150px;          /* basisbreedte = 150px, schaalbaar */
    max-width: 200px;
    min-width: 120px;
    margin-right: 1em;        /* vervangt gap */
    margin-bottom: 1.5em;     /* ruimte tussen rijen */
}

.text-block.portraits figure:last-child {
    margin-right: 0;          /* laatste geen marge rechts */
}

.text-block.portraits figure img {
    width: 100%;              /* vult de figuur */
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.text-block.portraits figure figcaption {
    margin-top: 0.5em;
    font-size: 1rem;
    font-weight: 600;
}


/*********************************************************************************/
/* FOOTER                                                                        */
/*********************************************************************************/
#footer {
    background: #121212;
    color: rgba(255,255,255,0.75);
    padding: 4em 0 0 0;
}

#footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

#footer .col-8 { flex: 1 1 500px; min-width: 300px; }
#footer .col-4 {
    flex: 1 1 300px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.footer-title { color: #FFF; font-size: 2em; font-weight: bold; margin: 0 0 0.5em 0; }
.footer-topics {
    list-style: none;
    margin: 0 0 1em 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
	padding-top: 0em;
}

.footer-topics li {
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 20px #000;
    margin: 0.3em 0;
    line-height: 0.5em;
}

#footer .col-4 .image img {
    width: auto;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-top: 1em;
}

#footer a:hover { text-decoration: underline; }

#copyright {
    text-align: center;
    padding: 0.5em 0;
    color: rgba(255,255,255,0.5);
}
#copyright a {
    text-decoration: none;
    color: rgba(255,255,255,0.3);
}

/*********************************************************************************/
/* CookieConsent                                                                 */
/*********************************************************************************/
#cookieConsent {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: fixed;
    bottom: 1em;
    left: 1em;
    right: 1em;
    background-color: rgba(20, 20, 20, 0.8);
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
    border-radius: 8px;
    font-family: "Oxygen", Helvetica, sans-serif;
    text-align: center;
}

#cookieConsent .cookie-text a {
    color: #4B8EE7;
    text-decoration: underline;
}

.cookie-button-container {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

#cookieConsent a.cookieConsentOK {
    background-color: #FF0000;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

#cookieConsent a.cookieConsentOK:hover {
    background-color: #cc0000;
}

/*********************************************************************************/
/* MEDIA QUERIES                                                                 */
/*********************************************************************************/

@media (max-width: 1024px) {
	body, p, a, em, ul, ol, dl, table, .center-text, .text-block { font-size: 0.85rem; line-height: 1.6em; }
    #header { min-height: 180px; }
    #logo .logo-title, #header h1 .logo-title { font-size: 50px; line-height: 1.1em; letter-spacing: 1px; }
    #logo .logo-subtitle, #header h1 .logo-subtitle { font-size: 40px; line-height: 1.1em; letter-spacing: 1px; }
	#nav > ul > li > a,
    #nav > ul > li > span { padding: 1em 1em; font-size: 0.8em; }
    .button, .subpage .button { font-size: 0.85rem; padding: 0.5em 1em; }
    .col-3 section p strong,
    .col-3 section p em { font-size: 0.85rem; }
	.image-container {width: 90%; max-width: 300px; }
    .text-block img { width: 150px; margin-left: 2em; margin-bottom: 2em; }
	.text-block.portraits { justify-content: center; }
    .text-block.portraits figure { margin: 0.5em; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    #footer .row { flex-wrap: nowrap; justify-content: space-between; }
    #footer .col-8, #footer .col-4 { flex: 1 1 auto; min-width: 250px; }
    #footer .col-8 { text-align: left; margin-bottom: 0; }
    #footer .col-4 { text-align: right; margin-bottom: 0; display: flex; flex-direction: column; align-items: flex-end; }
    .footer-topics { display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-bottom: 0; }
    .footer-topics li { font-size: 1.8em; }
    #footer .col-4 .image { display: block; width: auto; text-align: right; margin: 0 0 0 0; }
    #footer .col-4 .image img { max-width: 320px; width: 100%; height: auto; margin: 0; }
	.text-block.portraits figure { flex: 1 1 30%; max-width: 150px; min-width: 130px; margin-right: 3em; margin-bottom: 1.5em; }
    .text-block.portraits figure:last-child { margin-right: 0; }
}

@media (max-width: 768px) { 
	body, p, a, em, ul, ol, dl, table, .center-text, .text-block { font-size: 0.85rem; line-height: 1.6em; }
	#header { min-height: 180px; padding: 1em 0; justify-content: flex-start; overflow: visible; }
    #logo .logo-title, #header h1 .logo-title { font-size: 25px; line-height: 1.2em; letter-spacing: 1px; }
    #logo .logo-subtitle, #header h1 .logo-subtitle { font-size: 20px; line-height: 1.2em; letter-spacing: 1px; padding-bottom: 0.5em; }
    #titleBar { display: flex; align-items: center; justify-content: center; background: rgba(20,20,20,0.8); padding: 0.5em 0; border-radius: 6px; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.2); width: 100px; max-width: 90%; margin: 0 auto 1em auto; line-height: 1; transition: background 0.3s ease; }
	#titleBar .toggle { display: flex; justify-content: center; align-items: center; font-size: 1.4em; color: #fff; letter-spacing: 4px; line-height: 1; transform: translateY(-2px); }
    #titleBar:hover { background: rgba(20,20,20,0.95); }
    #nav { display: none; }
    .col-3 { flex: 1 1 100%; max-width: 100%; margin-bottom: 3em; padding: 0; border-bottom: 1px solid #dbdbdb; }
    .col-3:last-child { border-bottom: none; }
	.col-3 section { text-align: center; }
    .col-3 section .button { width: auto; margin: 1em auto 0.5em auto; align-self: center; }
	.divider-intro {margin-top: 0; }
	.image-container { width: 80%; max-width: 150px; margin: 2em auto 1.5em auto; }
    .text-block img { float: none; display: block; margin: 0 auto 3em auto; width: 150px; }
    .text-block h1 { font-size: 1.8rem; text-align: left; margin-bottom: 1em; }
	.text-block.portraits { flex-direction: column; align-items: center; }
    .text-block.portraits figure { width: 80%; max-width: 150px; margin: 0 0 2em 0; }
    .text-block.portraits figure img { width: 100%; height: auto; }
    #footer .row { flex-direction: column; align-items: stretch; }
    #footer .col-8 { flex: 0 0 auto; text-align: left; margin-bottom: 1.5em; }
    #footer .col-4 { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-bottom: 1.5em; align-self: flex-end; }
    .footer-topics { display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-bottom: 1em; }
    .footer-topics li { font-size: 1.8em; margin: 0.3em 0; }
    #footer .col-4 .image { display: block; width: auto; text-align: right; margin: 0 0 1em 0; }
    #footer .col-4 .image img { display: inline-block; max-width: 300px; width: 100%; height: auto; margin: 0; }
}
