/* ===== Algemene Stijlen & Variabelen ===== */
:root {
    --primary-color: #2c3e50; /* Donkerblauw/grijs */
    --secondary-color: #007BFF; /* Een helderder, moderner blauw */
    --background-color: #f4f6f9;
    --text-color: #333;
    --card-bg: #ffffff;
    --header-height: 70px;
    --border-radius: 8px; /* Variabele voor consistente ronde hoeken */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif; /* Verbeterde font stack */
    line-height: 1.7; /* Iets meer ruimte voor leesbaarheid */
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 5rem 2rem; /* Meer verticale ruimte */
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem; /* Meer ruimte onder de titels */
}

p {
    margin-bottom: 1rem;
    max-width: 700px; /* Maakt lange teksten beter leesbaar */
}

/* ===== NIEUW: Algemene Link Stijl ===== */
/* Dit zorgt ervoor dat alle links standaard geen onderstreping hebben */
a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #0056b3; /* Iets donkerder bij hover */
}


/* ===== Header & Navigatie (VERBETERD) ===== */
header {
    background: var(--card-bg);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); /* Subtielere schaduw */
    height: var(--header-height);
}

nav {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 100%;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
}

/* Dit maakt de navigatie-links chiquer */
nav ul li a {
    padding: 0.5rem 1rem; /* Beter te mikken */
    margin: 0 0.25rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500; /* Iets minder zwaar dan 700 */
    position: relative; /* Nodig voor het animatie-streepje */
    transition: color 0.3s ease;
}

/* Het hover-effect: een streepje dat eronder verschijnt */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%; /* Maak het streepje zichtbaar op hover/actief */
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color); /* Kleur verandert niet, het streepje is de indicator */
}

/* ===== Facts Sectie ===== */
#facts {
    height: var(--header-height);
}

#facts h1 {
    color: var(--card-bg);
}

/* ===== Hero Sectie ===== */
#hero {
    position: relative; 
    background: var(--primary-color);
    color: white;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
}

#hero video {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
}

#hero .hero-content {
    z-index: 2;
}

#hero h1 {
    font-size: 3.2rem;
    color: white;
    font-weight: 700;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
    color: rgba(255, 255, 255, 0.85); /* Iets zachter wit */
}


/* ===== Knoppen / CTAs (VERBETERD) ===== */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px; /* Geeft een premium gevoel */
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.cta-button:hover {
    background: #0069d9;
    transform: translateY(-3px); /* Iets meer 'lift' */
    box-shadow: 0 7px 20px rgba(0, 123, 255, 0.3);
}

/* Chique 'outline' stijl voor secundaire knoppen */
.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid #e1e4e8;
    box-shadow: none;
}
.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}


/* ===== Projecten Sectie - De Tiles ===== */
#projects {
    background-color: var(--card-bg); /* Witte achtergrond voor deze sectie */
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-tile {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Subtielere schaduw */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e4e8; /* Lichte rand */
}

.project-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12); /* Iets sterkere schaduw bij hover */
}

.project-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-tile .tile-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tile h3 {
    margin-bottom: 0.5rem;
}

.project-tile p {
    flex-grow: 1;
    font-size: 0.95rem;
    color: #555; /* Iets lichter dan de hoofdtekst */
}

.project-tile .tags span {
    display: inline-block;
    background: #eaf2ff; /* Lichte kleur passend bij het blauw */
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 5px;
    margin-bottom: 5px;
}


/* ===== Vaardigheden Sectie ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skills-grid div {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.skills-grid h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.skills-grid ul {
    list-style: none;
    padding: 0;
    text-align: left; /* Beter leesbaar */
}

.skills-grid ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 20px; /* Ruimte voor een icoontje/bullet */
}

/* Aangepaste 'bullet' voor een strakkere look */
.skills-grid ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 900;
}

/* ===== Contact & Footer ===== */
#contact {
    text-align: center;
    background-color: #fff;
}
#about, #contact p {
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    margin-top: 2rem;
}
.contact-links a {
    margin: 0.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: white;
}

/* ===== Responsive Design ===== */
@media(max-width: 768px) {
    nav ul { display: none; }
    #hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .container { padding: 3rem 1rem; }
}