/* ============================
   Kleuren & basisinstellingen
   ============================ */
:root {
    --creme: #f5f0e6;
    --beige: #e8dcc2;
    --kaki: #b4a484;
    --text: #2b2b2b;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--creme);
    color: var(--text);
}


/* ============================
   Linker & rechter balk
   ============================ */
.side-bar {
    position: fixed;
    top: 0;
    width: 120px;
    height: 100vh;
    background: var(--kaki);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    z-index: 999; /* Zorgt dat ze altijd zichtbaar zijn */
}

.left { left: 0; }
.right { right: 0; }


/* ============================
   Navigatiebalk bovenaan
   ============================ */
.top-bar {
    margin-left: 120px;   /* ruimte voor linker balk */
    margin-right: 120px;  /* ruimte voor rechter balk */
    height: 80px;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 2px solid var(--kaki);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: bold;
}

.nav a:hover {
    color: var(--kaki);
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
}

.logo span {
    color: var(--kaki);
}


/* ============================
   Main content
   ============================ */
.main-area {
    margin-left: 120px;   /* ruimte voor linker balk */
    margin-right: 120px;  /* ruimte voor rechter balk */
    padding: 40px;
    min-height: calc(100vh - 160px); /* ruimte voor header + footer */
}

section {
    margin-bottom: 60px;
}

h1, h2 {
    color: var(--kaki);
}


/* ============================
   Formulier styling
   ============================ */
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--kaki);
}

input, select, textarea {
    padding: 10px;
    border: 1px solid var(--kaki);
    border-radius: 6px;
    font-size: 1rem;
}

textarea {
    min-height: 120px;
}

button {
    background: var(--kaki);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    opacity: 0.9;
}


/* ============================
   Footer
   ============================ */
.footer {
    position: fixed;
    bottom: 0;
    left: 120px;      /* ruimte voor linker balk */
    right: 120px;     /* ruimte voor rechter balk */
    background: var(--beige);
    padding: 20px;
    text-align: center;
    border-top: 2px solid var(--kaki);
    font-size: 0.9rem;
    z-index: 998;     /* net onder de balken */
}

