/* ===== Basis ===== */
body {
    margin: 0;
    font-family: sans-serif;
    background-image: url("achtergrond.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    /* Flex layout voor sticky footer */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Zorgt dat body altijd de hele hoogte heeft */
}

main {
    flex: 1; /* Main-content vult de beschikbare ruimte */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Overlay toevoegen */
.background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;                           /* Overlay ligt boven de achtergrond */
}

/* Tekst boven overlay */
.background * {
    position: relative;
    z-index: 2; /* Tekst ligt boven overlay */
}


/* ===== Header ===== */
.site-header, .video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: rgb(0, 0, 0);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-align: center; /* centreren */
    color: #e63946;
}
.logo span {
    font-weight: normal;
    text-align: center; /* centreren */
    color: #333; /* andere kleur voor contrast */
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s;
}

/* Nav menu */
.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 600;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffd6d6;
}

/* ===== Footer ===== */
footer {
    background: #fcfcfc;
    color: rgb(0, 0, 0);
    padding: 1rem;
    text-align: center;
    margin-top: auto; /* Duwt de footer naar beneden */
}

footer a {
    color: white;
    margin: 0 0.5rem;
    transition: 0.3s;
}

footer a:hover {
    color: #ffd6d6;
}

/* ===== Buttons ===== */
button, .logout-btn {
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-weight: bold;
    background: white;
    color: #e63946;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

button:hover, .logout-btn:hover {
    background: #fce8e8;
    transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #e63946;
        padding: 1rem 0;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}
