/* Algemene instellingen */
html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
}

/* Structuur */
header, nav, main, footer {
    padding: 20px;
}

header {
    background: linear-gradient(90deg, #0073e6, #005bb5);
    color: white;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav {
    background: white;
    text-align: center;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #0073e6;
    font-size: 18px;
    transition: color 0.3s, transform 0.3s;
    font-weight: bold;
}

nav a:hover {
    color: #005bb5;
    transform: scale(1.1);
}

nav a.active {
    color: #0c00b5df;
    transform: scale(1.1);
    text-decoration: underline;
    cursor: default;      /* Geen pointer cursor, want het is actief */
    pointer-events: none; /* Klikken niet mogelijk, want je zit al op die pagina */
}


main {
    flex: 1;
    max-width: 1200px;
    margin: 40px auto;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Layout voor tekst + afbeelding */
.row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.column {
    flex: 1;
}

.tekst {
    text-align: left;
}

/* Afbeeldingen algemeen */
main img {
    max-width: 100%;
    width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Beetje vergroting bij hover */
main img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Specifiek grotere afbeelding voor blokschema.html */
.blokschema-foto {
    width: 600px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 20px auto;
}

/* Footer altijd onderaan */
footer {
    background: #eee;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    border-top: 1px solid #ccc;
}

/* Lijsten (links.html) */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

ul li a {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

ul li a:hover {
    color: #005bb5;
}

/* Mobielvriendelijk */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    nav a {
        font-size: 16px;
    }

    header h1 {
        font-size: 1.8em;
    }

    footer p {
        font-size: 14px;
    }

    main img, .blokschema-foto {
        width: 90%;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 10px 5px;
    }

    nav a {
        font-size: 14px;
    }

    header h1 {
        font-size: 1.5em;
    }

    footer p {
        font-size: 12px;
    }
}
