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

html {
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f8fafc;
}

h1 {
    background-image: linear-gradient(to right, #b91c1c, 80%, #ef4444);
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 2px solid #ddd;
    background: white;
}

header button {
    background-color: transparent;
    border: none;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

main {
    display: flex;
    min-height: calc(100vh - 74px);
}

nav {
    width: 250px;
    min-width: 250px;
    min-height: 100%;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    background: white;
}

a {
    text-decoration: none;
}

.listItem {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #4b5563;
    padding: 0.9rem 1.5rem;
    margin: 4px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.listItem:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

.listItem.active {
    background-color: #dc2626;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
}

.searchHeader {
    background-color: white;
    display: flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 350px;
    transition: all 0.2s ease;
}

.searchHeader:focus-within {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.searchHeader i {
    color: #94a3b8;
}

.searchHeader input {
    border: none;
    background: transparent;
    outline: none;
    margin-left: 10px;
    width: 100%;
    font-size: 0.95rem;
    color: #334155;
}

.documentatieMain {
    width: 100%;
    padding: 2rem;
    overflow-y: auto;
}

.welkom {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(185, 28, 28, 0.35);
}

.welkom h2 {
    margin-bottom: 0.5rem;
    font-size: 1.7rem;
}

.kaartGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.kaart {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.kaart h3 {
    color: #dc2626;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kaart ul,
.kaart ol {
    margin-left: 1.2rem;
    line-height: 1.7;
    color: #334155;
}

.kaart li {
    margin-bottom: 0.25rem;
}

.kaart a {
    color: #0f766e;
    font-weight: 600;
}

.kaart a:hover {
    color: #0d9488;
}

.acties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.acties a {
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fff5f5;
    font-weight: 600;
    transition: all 0.2s ease;
}

.acties a:hover {
    transform: translateY(-1px);
    background: #fee2e2;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav {
        position: absolute;
        left: -100%;
        top: 74px;
        width: 100%;
        min-width: 100%;
        z-index: 1000;
        transition: 0.3s ease;
        min-height: calc(100vh - 74px);
    }

    nav.nav-active {
        left: 0;
    }

    .searchHeader {
        display: none;
    }

    .documentatieMain {
        padding: 1.2rem;
    }
}
