/*
 * Curio Leeromgeving - basisstijl
 * Kleuren afgeleid van de publieke Curio-huisstijl. Pas de waarden
 * hieronder aan zodra je het officiële huisstijlhandboek van Curio
 * (typografie, exacte tinten, logo-regels) hebt ontvangen - dit is een
 * verantwoorde eerste aanzet, geen vervanging van de brandguide.
 */

:root {
    --curio-turquoise: #01D6E8;
    --curio-blue: #004FFF;
    --curio-purple: #69197C;
    --curio-wit: #FFFFFF;

    --tekst: #1a1a2e;
    --tekst-zacht: #4a4a5e;
    --achtergrond: #FFFFFF;
    --achtergrond-zacht: #f5f7fb;
    --rand: #e2e5ef;

    --radius: 12px;
    --max-breedte: 960px;

    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--tekst);
    background: var(--achtergrond);
    line-height: 1.55;
}

a {
    color: var(--curio-blue);
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--curio-blue);
    color: #fff;
    padding: 10px 16px;
    z-index: 100;
}

.skip-link:focus {
    left: 8px;
    top: 8px;
}

/* --- Header --- */
.site-header {
    background: linear-gradient(120deg, var(--curio-blue), var(--curio-purple));
    color: #fff;
    padding: 28px 20px;
}

.site-header-inner {
    max-width: var(--max-breedte);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
}

.site-header nav a {
    color: #fff;
    opacity: 0.9;
    margin-left: 20px;
    font-size: 0.95rem;
}

.site-header nav a:hover {
    opacity: 1;
}

.hero {
    max-width: var(--max-breedte);
    margin: 0 auto;
    padding: 8px 20px 0;
}

.hero h1 {
    font-size: 2rem;
    margin: 12px 0 6px;
}

.hero p {
    color: rgba(255,255,255,0.92);
    max-width: 640px;
}

.site-header .hero h1,
.site-header .hero p {
    color: #fff;
}

/* --- Layout --- */
main {
    max-width: var(--max-breedte);
    margin: 0 auto;
    padding: 36px 20px 60px;
}

.pagina-titel {
    margin-top: 0;
}

/* --- Weekkaarten --- */
.weken-lijst {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 24px 0;
    list-style: none;
}

.week-kaart {
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    padding: 22px;
    background: var(--achtergrond-zacht);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.week-kaart:hover {
    box-shadow: 0 6px 20px rgba(0,79,255,0.12);
    transform: translateY(-2px);
}

.week-kaart .badge {
    display: inline-block;
    background: var(--curio-turquoise);
    color: #003a40;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
}

.week-kaart h2 {
    margin: 4px 0 0;
    font-size: 1.25rem;
}

.week-kaart .datum {
    color: var(--tekst-zacht);
    font-size: 0.9rem;
}

.week-kaart .beschrijving {
    color: var(--tekst-zacht);
    font-size: 0.95rem;
}

.week-kaart .lees-meer {
    margin-top: auto;
    font-weight: 600;
}

.geen-content {
    background: var(--achtergrond-zacht);
    border: 1px dashed var(--rand);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    color: var(--tekst-zacht);
}

/* --- Materialenlijst (weekdetail) --- */
.terug-link {
    display: inline-block;
    margin-bottom: 16px;
}

.materialen-lijst {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.materiaal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    padding: 16px 18px;
    background: var(--achtergrond-zacht);
}

.materiaal-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.materiaal-icoon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--curio-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.materiaal-icoon.pdf { background: var(--curio-purple); }
.materiaal-icoon.slides { background: var(--curio-blue); }

.materiaal-titel {
    font-weight: 600;
}

.materiaal-meta {
    color: var(--tekst-zacht);
    font-size: 0.85rem;
}

.btn {
    display: inline-block;
    background: var(--curio-blue);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    background: var(--curio-purple);
    text-decoration: none;
}

.btn-secundair {
    background: transparent;
    color: var(--curio-blue);
    border: 1px solid var(--curio-blue);
}

.btn-secundair:hover {
    background: var(--achtergrond-zacht);
    color: var(--curio-blue);
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--rand);
    padding: 24px 20px;
    color: var(--tekst-zacht);
    font-size: 0.85rem;
}

.site-footer-inner {
    max-width: var(--max-breedte);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- Formulieren (admin) --- */
.form-groep {
    margin-bottom: 18px;
}

.form-groep label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-groep input[type=text],
.form-groep input[type=password],
.form-groep input[type=datetime-local],
.form-groep input[type=number],
.form-groep select,
.form-groep textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--rand);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-groep textarea {
    min-height: 90px;
}

.melding {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.melding-fout {
    background: #fdecea;
    color: #7c1d13;
    border: 1px solid #f3b6ae;
}

.melding-succes {
    background: #e8f7ee;
    color: #1a6b3c;
    border: 1px solid #b3e3c5;
}

.admin-shell {
    max-width: 720px;
}

.admin-login-shell {
    max-width: 380px;
    margin: 60px auto;
}

table.beheer-tabel {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table.beheer-tabel th,
table.beheer-tabel td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--rand);
    font-size: 0.92rem;
}

.acties a, .acties button {
    margin-right: 10px;
    font-size: 0.85rem;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.status-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}

.status-pill.gepubliceerd {
    background: #e8f7ee;
    color: #1a6b3c;
}

.status-pill.gepland {
    background: #fff6db;
    color: #7a5b00;
}
