/* Bloemetjesdag — stijlen */

/* ── Reset & basis ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', Georgia, sans-serif;
    background-color: #fff8f2;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 182, 193, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(144, 238, 144, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 218, 185, 0.1) 0%, transparent 70%);
    color: #3d2b1f;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #c0392b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    line-height: 1.75;
    margin-bottom: 0.9rem;
}

ul {
    padding-left: 1.4rem;
    margin-bottom: 0.9rem;
}

ul li {
    line-height: 1.75;
    margin-bottom: 0.3rem;
}

/* ── Header ────────────────────────────────────────────────── */
header {
    background: linear-gradient(135deg, #c0392b 0%, #e05c8a 40%, #f5a7c7 70%, #ffd6a5 100%);
    padding: 1.5rem 1rem 1.2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.2);
}

.header-bloemen {
    font-size: 1.3rem;
    letter-spacing: 0.3rem;
    margin-bottom: 0.4rem;
    opacity: 0.9;
    overflow: hidden;
}

header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.header-ondertitel {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    margin-top: 0.3rem;
    margin-bottom: 0;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35), 0 2px 12px rgba(120,20,20,0.3);
}

/* ── Navigatie ─────────────────────────────────────────────── */
.hoofdnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #f0d8e0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.4rem 0.4rem;
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.07);
}

.hoofdnav a {
    color: #8b2252;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 0;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    flex: 0 0 calc(33.33% - 0.2rem);
    text-align: center;
}

.hoofdnav a:hover {
    background: #fdf0f5;
    color: #c0392b;
    text-decoration: none;
}

@media (min-width: 600px) {
    .hoofdnav {
        flex-wrap: nowrap;
        padding: 0.5rem 0.6rem;
    }

    .hoofdnav a {
        flex: 0 0 auto;
        padding: 0.4rem 0.65rem;
    }
}

/* ── Main ──────────────────────────────────────────────────── */
main {
    flex: 1;
    padding: 2rem 1rem;
    max-width: 740px;
    margin: 0 auto;
    width: 100%;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
    background: linear-gradient(135deg, #fdf0f5, #fff8f2);
    border-top: 2px solid #f5c6d8;
    text-align: center;
    padding: 1.2rem 1rem;
    font-size: 0.85rem;
    color: #999;
}

.footer-bloemen {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3rem;
}

.footer-links {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: #c0392b;
    font-weight: 600;
}

.footer-scheider {
    margin: 0 0.5rem;
    color: #ddd;
}

.footer-tekst {
    font-style: italic;
    color: #bbb;
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* ── Kaart ─────────────────────────────────────────────────── */
.kaart {
    background: #fff;
    border: 1px solid #f0d8e0;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(192, 57, 43, 0.08), 0 1px 4px rgba(0,0,0,0.04);
}

.kaart h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    color: #c0392b;
    margin-bottom: 1.5rem;
}

/* ── Waarschuwing ──────────────────────────────────────────── */
.waarschuwing {
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.waarschuwing-privé {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #7a5800;
}

.waarschuwing-publiek {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e5f2e;
}

/* ── Formulieren ───────────────────────────────────────────── */
.formulier-groep {
    margin-bottom: 1.2rem;
}

.formulier-groep label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #5a3020;
}

.formulier-groep input[type="text"],
.formulier-groep input[type="number"],
.formulier-groep input[type="password"],
.formulier-groep textarea,
.formulier-groep select {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 2px solid #f0c8d0;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    background: #fff;
    color: #3d2b1f;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.formulier-groep input:focus,
.formulier-groep textarea:focus,
.formulier-groep select:focus {
    border-color: #e05c8a;
    box-shadow: 0 0 0 3px rgba(224, 92, 138, 0.12);
}

.formulier-groep textarea {
    min-height: 130px;
    resize: vertical;
}

/* ── Foutmelding ───────────────────────────────────────────── */
.foutmelding {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.2rem;
    color: #8b1a1a;
    font-size: 0.95rem;
}

/* ── Knoppen ───────────────────────────────────────────────── */
.knop-primair {
    display: inline-block;
    background: linear-gradient(135deg, #c0392b, #e05c8a);
    color: white;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(192, 57, 43, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}

.knop-primair:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(192, 57, 43, 0.35);
    text-decoration: none;
    color: white;
}

.knop-secundair {
    display: inline-block;
    background: #fff;
    color: #c0392b;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    border: 2px solid #f0c8d0;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.knop-secundair:hover {
    background: #fdf0f5;
    border-color: #e05c8a;
    text-decoration: none;
}

.knop-gevaar {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: white;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 50px;
    font-size: 0.82rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    transition: opacity 0.15s;
}

.knop-gevaar:hover {
    opacity: 0.85;
}

/* ── Homepage ──────────────────────────────────────────────── */
.homepage {
    max-width: 580px;
    margin: 2rem auto;
    text-align: center;
    padding: 0 0.5rem;
}

.homepage-intro {
    font-size: 1.1rem;
    color: #7d4a3a;
    margin-bottom: 2rem;
    line-height: 1.75;
    font-style: italic;
}

.homepage-knoppen {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.knop-homepage {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.2rem;
    border-radius: 18px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.knop-homepage:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    text-decoration: none;
}

.knop-ontvanger {
    background: linear-gradient(135deg, #fdf0f5, #ffe4ee);
    border: 2px solid #f0a8c0;
    color: #8b2252;
}

.knop-gever {
    background: linear-gradient(135deg, #f0fdf0, #e4f5e4);
    border: 2px solid #90c878;
    color: #2d5a1e;
}

.knop-reacties {
    background: linear-gradient(135deg, #f5f0fd, #ece4fa);
    border: 2px solid #c8a8f0;
    color: #4a2d7d;
}

.knop-icoon {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.knop-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
}

.knop-sub {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.homepage-knoppen-extra {
    margin-top: 1rem;
}

.homepage-meer {
    margin-top: 2rem;
    font-size: 0.9rem;
}

.homepage-meer a {
    color: #c0392b;
    font-weight: 600;
}

/* ── Teller ────────────────────────────────────────────────── */
.teller-sectie {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #fff0f5, #f5fff0);
    border: 1px solid #f0d8e0;
    border-radius: 16px;
    padding: 1.2rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(192,57,43,0.06);
}

.teller-blok {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0 1rem;
}

.teller-blok + .teller-blok {
    border-left: 1px solid #f0c8d0;
}

.teller-getal {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #c0392b;
    line-height: 1;
}

.teller-label {
    font-size: 0.82rem;
    color: #aaa;
    margin-top: 0.3rem;
    text-align: center;
}

/* ── Tips pagina ───────────────────────────────────────────── */
.tips-intro {
    font-size: 1.05rem;
    color: #7d4a3a;
    font-style: italic;
    margin-bottom: 1.8rem;
    line-height: 1.75;
}

/* ── Hero knoppen naast elkaar ─────────────────────────────── */
.hero-knoppen {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Recente reacties op homepage ──────────────────────────── */
.recente-sectie {
    margin-bottom: 2rem;
}

/* ── Homepage hero & secties ───────────────────────────────── */
.hero {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
}

.hero-titel {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #c0392b;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-intro {
    font-size: 1.05rem;
    color: #7d4a3a;
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.75;
}

.sectie-titel {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #c0392b;
    text-align: center;
    margin-bottom: 1.5rem;
}

.uitleg-sectie {
    background: linear-gradient(135deg, #fff8fb, #f5fdf5);
    border: 1px solid #f0d8e0;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(192,57,43,0.06);
}

.uitleg-stappen {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.uitleg-stap {
    text-align: center;
    padding: 0 0.5rem;
}

.stap-icoon {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.uitleg-stap h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    color: #8b2252;
    margin-bottom: 0.4rem;
}

.uitleg-stap p {
    font-size: 0.95rem;
    color: #7d4a3a;
    line-height: 1.65;
    margin-bottom: 0;
}

.actie-sectie {
    margin-bottom: 2rem;
}

.citaat-sectie {
    margin: 1rem 0 2rem;
}

.citaat {
    background: linear-gradient(135deg, #fff0f5, #fdf8f0);
    border-left: 4px solid #e05c8a;
    border-radius: 0 14px 14px 0;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(224,92,138,0.08);
}

.citaat p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #7d2d4f;
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

.citaat cite {
    font-size: 0.85rem;
    color: #bbb;
}

@media (min-width: 600px) {
    .uitleg-stappen {
        flex-direction: row;
    }

    .uitleg-stap {
        flex: 1;
    }

    .hero-titel {
        font-size: 2.4rem;
    }
}

/* ── Reactiepagina ─────────────────────────────────────────── */
.reacties-pagina {
    max-width: 640px;
    margin: 0 auto;
}

.reacties-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reacties-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    color: #c0392b;
    margin-bottom: 0.5rem;
}

.reacties-intro {
    color: #999;
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.reacties-lijst {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reactie-kaart {
    background: #fff;
    border: 1px solid #f0d8e0;
    border-radius: 16px;
    padding: 1.3rem 1.5rem;
    box-shadow: 0 2px 10px rgba(192,57,43,0.06);
    transition: box-shadow 0.15s;
}

.reactie-kaart:hover {
    box-shadow: 0 4px 18px rgba(192,57,43,0.1);
}

.reactie-bericht {
    font-size: 1rem;
    line-height: 1.75;
    color: #3d2b1f;
    margin-bottom: 0.8rem;
}

.reactie-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reactie-naam {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e05c8a;
}

.reactie-datum {
    font-size: 0.8rem;
    color: #ccc;
}

.reacties-actie {
    text-align: center;
    margin-top: 1rem;
}

.reacties-leeg {
    text-align: center;
    padding: 3rem 1rem;
}

.leeg-icoon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.leeg-sub {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ── Over-pagina ───────────────────────────────────────────── */
.over-pagina h2 {
    margin-bottom: 1.8rem;
}

.over-sectie {
    margin-bottom: 2rem;
}

.over-sectie h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    color: #c0392b;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #f5c6d8;
}

.over-terug {
    margin-top: 2rem;
}

/* ── Reactiemuur ───────────────────────────────────────────── */
.reactie-kaart {
    background: linear-gradient(135deg, #fff, #fff8fb);
    border: 1px solid #f0d8e0;
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.06);
}

.reactie-kaart .reactie-bericht {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    color: #3d2b1f;
}

.reactie-kaart .reactie-meta {
    font-size: 0.8rem;
    color: #bbb;
}

.leeg {
    color: #bbb;
    font-style: italic;
    font-size: 0.95rem;
    text-align: center;
    padding: 2rem 0;
}

/* ── Admin-tabel ───────────────────────────────────────────── */
.admin-sectie {
    margin-bottom: 2.5rem;
}

.admin-sectie h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: #c0392b;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #f5c6d8;
}

.admin-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-tabel th {
    background: linear-gradient(135deg, #fdf0f5, #ffe4ee);
    color: #8b2252;
    text-align: left;
    padding: 0.55rem 0.8rem;
    border-bottom: 2px solid #f0c8d0;
    font-weight: 700;
}

.admin-tabel td {
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid #fde8ef;
    vertical-align: middle;
}

.admin-tabel tr:last-child td {
    border-bottom: none;
}

.admin-tabel tr:hover td {
    background: #fff8fb;
}

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

/* ── Bevestigingspagina ────────────────────────────────────── */
.kaart-centraal {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.bedankt-icoon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.kaart-centraal .intro {
    font-size: 1.05rem;
    color: #7d4a3a;
    margin-bottom: 1.5rem;
}

/* ── Utility ───────────────────────────────────────────────── */
.verborgen {
    display: none;
}

/* ── Responsief ────────────────────────────────────────────── */
@media (min-width: 500px) {
    .homepage-knoppen {
        flex-direction: row;
    }

    .knop-homepage {
        flex: 1;
    }
}
