/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASISLAYOUT */
html, body {
    height: 100%;
    background: #111418; /* Zacht donker grijs/blauw */
    color: #e5e5e5;
    font-family: "Inter", Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

/* KLEUREN */
:root {
    --accent: #4ea8de;        /* Material UI blauw */
    --accent-hover: #3a8dc2;
    --card-bg: #1a1d23;
    --card-border: #2a2f38;
}

/* HEADER */
header {
    background: #0d0f12;
    padding: 15px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    animation: fadeDown 0.5s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: center; /* Logo links — links gecentreerd */
    align-items: center;
}


/* NAV KNOPPEN */
nav a {
    color: #e5e5e5;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.25s, transform 0.2s;
    position: relative;
    letter-spacing: 0.3px;
}

/* Professionele hover */
nav a:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Subtiele underline animatie */
nav a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* MAIN */
main {
    flex: 1;
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    animation: fadeIn 0.7s ease;
}

/* CARD LAYOUT */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    animation: elevateIn 0.6s ease;
}

/* TITELS */
h1, h2 {
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #f0f0f0;
}

h1 {
    animation: slideIn 0.6s ease;
}

h2 {
    animation: slideIn 0.7s ease;
}

/* LISTS */
ul {
    line-height: 1.8;
    font-size: 1.05rem;
    animation: fadeIn 1s ease;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* FOOTER */
footer {
    background: #0d0f12;
    padding: 20px;
    color: #a9a9a9;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #22272f;
    animation: fadeUp 0.6s ease;
}

/* ANIMATIES */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes elevateIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* RESPONSIVE */
@media (max-width: 700px) {
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        padding: 22px;
    }

    main {
        margin: 25px auto;
    }
}
