//------------------------------------------------------
// /css/style.css
// Author: RJ van der Wilk
//------------------------------------------------------

/* ----------------------------------------------------
   BASIS
---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #111;
    color: #eee;
    transition: background 0.3s, color 0.3s;
}

/* ----------------------------------------------------
   KLEUREN (alleen donker thema)
---------------------------------------------------- */
:root {
    --bg: #111;
    --text: #eee;
    --topbar-bg: #000;
    --topbar-border: #222;
    --accent: #ff0000;
}

/* ----------------------------------------------------
   HEADER / TOPBAR
---------------------------------------------------- */
.topbar {
    width: 100%;
    background: var(--topbar-bg);
    border-bottom: 2px solid var(--topbar-border);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* centreren hele topbar */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO BLOK */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 20px; /* logo blijft links */
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 22px;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 1px;
}

/* ----------------------------------------------------
   NAVIGATIE
---------------------------------------------------- */
nav {
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center; /* MENU GECENTREERD */
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accent);
}

.nav-disabled {
    color: var(--accent);
    font-weight: bold;
}

/* ----------------------------------------------------
   HAMBURGER (mobiel)
---------------------------------------------------- */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text);
    cursor: pointer;
    position: absolute;
    right: 20px;
}

/* ----------------------------------------------------
   CONTENT
---------------------------------------------------- */
.content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.6;
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent);
}

h2 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.footer {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 2px solid var(--topbar-border);
    color: var(--text);
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.6;
}

/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */
@media (max-width: 800px) {

    nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: var(--topbar-bg);
        z-index: 9999;
        border-top: 2px solid var(--topbar-border);
    }

    nav ul {
        display: none;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        justify-content: flex-start; /* mobiel: links onder elkaar */
    }

    nav ul.show {
        display: flex;
    }

    nav a, .nav-disabled {
        font-size: 20px;
        padding: 10px 0;
    }

    .hamburger {
        display: block;
        z-index: 10000;
    }
}
