/* ---------- BASE ---------- */
:root {
    --black: #6b0707;
    --red: #8E1616;
    --cream: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: var(--cream);
    background-color: black;
    background-image: url('media/backgroundl.png');
    scroll-behavior: smooth;
}



nav {
    background-color: var(--black);
    color: var(--cream);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

nav .logo {
    font-family: 'Geo', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
    color: white;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative; /* needed for ::after positioning */
    color: var(--cream);
    font-family: 'Geo', sans-serif;
    font-weight: bold;
    font-size: 14pt;
    text-decoration: none; /* remove default underline */
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;          /* start hidden */
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;       /* appear on hover */
}

/* ---------- CV SECTION ---------- */
.cv-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    padding: 8vh 2rem;
    gap: 2rem;
}

.cv-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

.cv-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.cv-content h1 {
    font-family: 'Geo', sans-serif;
    font-size: 4rem;
    text-align: center;
    color: var(--cream);
    margin-bottom: 2rem;
}

.cv-section {
    background: var(--black);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cv-section h2 {
    font-family: 'Geo', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--cream);
}

.cv-section p, .cv-section ul, .cv-section li {
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.cv-section ul {
    list-style: disc;
    padding-left: 1.5rem;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: var(--black);
    color: var(--cream);
    text-align: center;
    padding: 1rem;
    font-family: 'Arvo', serif;
    margin-top: 4rem;
}

/* ---------- FADE IN ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .cv-wrapper { padding: 4vh 1rem; }
    .cv-content h1 { font-size: 2.5rem; }
    .cv-section { padding: 1.5rem; }
}


/* ---------- RESPONSIVE NAV ETC ---------- */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        align-items: center;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: var(--black);
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.25s ease;
        border-top: 1px solid var(--red);
    }

    .nav-links.show {
        max-height: 400px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--red);
    }

    h1 {
        font-size: 5em;
    }

    .port {
        font-size: 2em;
    }

    section {
        padding: 2rem 1rem;
    }
}

/* ---------- HAMBURGER ---------- */
.hamburger {
    display: none; /* standaard verbergen op desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 32px;
    background: transparent; /* geen witte achtergrond */
    border: none;
    cursor: pointer;
}

.hamburger .bar {
    height: 3px;
    background: var(--cream);
    border-radius: 2px;
}

/* Alleen tonen op mobiel */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}