/* ===========================================================
   Kennel Jean Mitiva - stylesheet
   Warm, natuurlijk palet passend bij de Nova Scotia Duck Tolling Retriever
   =========================================================== */

:root {
    --cream:        #fbf7f1;
    --cream-2:      #f3ebe0;
    --paper:        #ffffff;
    --ink:          #2c1e16;   /* warm donkerbruin */
    --ink-soft:     #5c4a3e;
    --muted:        #8a7a6d;
    --rust:         #bf4d1e;   /* foxy rood/amber */
    --rust-dark:    #9c3d16;
    --rust-soft:    #f6e2d5;
    --green:        #2f6b58;   /* water/natuur accent */
    --line:         #e5d8c9;
    --shadow:       0 10px 30px rgba(64, 39, 22, .10);
    --radius:       14px;
    --maxw:         1120px;
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--rust-dark); }
a:hover { color: var(--rust); }

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: .2rem 0 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .4rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--rust);
    margin: 0 0 .5rem;
}
.eyebrow.center { text-align: center; }

.section-intro { max-width: 640px; margin: 0 auto 2.5rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: .8rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
    font-size: 1rem;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 8px 20px rgba(191, 77, 30, .28); }
.btn-primary:hover { background: var(--rust-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--rust); color: var(--rust-dark); }
.btn-lg { padding: 1rem 2rem; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 247, 241, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: .7rem; padding-bottom: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { font-size: 1.6rem; line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.1rem; letter-spacing: .01em; }
.brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: .04em; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--rust-dark); }
.site-nav .nav-cta {
    background: var(--rust); color: #fff; padding: .5rem 1.1rem; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--rust-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 500px at 80% -10%, var(--rust-soft), transparent 60%),
        linear-gradient(180deg, var(--cream), var(--cream-2));
    padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.hero-copy h1 em { color: var(--rust); font-style: normal; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 1rem; }
.hero-note { color: var(--muted); font-size: .95rem; }
.hero-note strong { color: var(--ink); }

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .4rem;
    background:
        repeating-linear-gradient(45deg, var(--cream-2), var(--cream-2) 12px, #efe4d5 12px, #efe4d5 24px);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    aspect-ratio: 4 / 3;
    min-height: 220px;
    box-shadow: var(--shadow);
}
.photo-placeholder span { font-size: 2.4rem; }
.photo-placeholder small { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.photo-hero { aspect-ratio: 1 / 1; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Timeline ---------- */
.timeline {
    list-style: none; margin: 0 auto; padding: 0; max-width: 720px;
    position: relative;
}
.timeline::before {
    content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px;
    background: var(--line);
}
.timeline li { position: relative; padding: 0 0 1.8rem 2.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.tl-dot {
    position: absolute; left: 3px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--cream); border: 3px solid var(--line);
}
.timeline li.done .tl-dot { background: var(--rust); border-color: var(--rust); }
.tl-body h3 { margin-bottom: .1rem; }
.tl-date { color: var(--rust-dark); font-weight: 700; font-size: .9rem; margin: 0 0 .3rem; }
.tl-body p { margin: 0; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; box-shadow: var(--shadow);
}
.card-icon { font-size: 1.8rem; margin-bottom: .6rem; }
.card p { margin: 0; color: var(--ink-soft); }
.section-alt .card { background: var(--cream); }

/* ---------- Ouderdieren ---------- */
.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 860px; margin: 0 auto; }
.parent { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
.parent .photo-placeholder { margin-bottom: 1rem; }
.parent-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1rem; }
.parent h3 { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tag { background: var(--rust-soft); color: var(--rust-dark); font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: .35rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .95rem; }
.facts li:last-child { border-bottom: 0; }
.facts strong { color: var(--ink); }
.parent-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .9rem 0 0; }
.parent-links a { font-size: .88rem; font-weight: 700; text-decoration: none; }
.parent-links a:hover { text-decoration: underline; }

/* ---------- Ras ---------- */
.ras-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center; }
.ras-points { list-style: none; padding: 0; margin: 1rem 0 0; }
.ras-points li { padding: .45rem 0 .45rem 1.6rem; position: relative; color: var(--ink-soft); }
.ras-points li::before { content: "🍁"; position: absolute; left: 0; top: .35rem; font-size: .9rem; }
.ras-points strong { color: var(--ink); }

/* ---------- Form ---------- */
.section-form { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.form {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem; box-shadow: var(--shadow);
}
.form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0 0 1.4rem; padding: 1.4rem 0 0; }
.form fieldset:first-of-type { border-top: 0; padding-top: 0; }
.form legend { font-weight: 800; color: var(--rust-dark); padding: 0; font-size: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 1rem; }
.grid-2 label { margin-bottom: 0; }
.form input, .form select, .form textarea {
    width: 100%; margin-top: .35rem;
    font: inherit; color: var(--ink);
    padding: .65rem .75rem;
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--cream);
    font-weight: 400;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--rust); background: #fff;
    box-shadow: 0 0 0 3px rgba(191, 77, 30, .15);
}
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; color: var(--ink-soft); }
.form .check input { width: auto; margin-top: .3rem; }
.form-actions { text-align: center; margin-top: .5rem; }
.form-note { color: var(--muted); font-size: .85rem; margin: .8rem 0 0; }

/* Honeypot verbergen */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Alerts ---------- */
.alert { border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.5rem; }
.alert-success { background: #e7f4ee; border: 1px solid #b9dfcd; color: #1e5c43; }
.alert-error { background: #fdecea; border: 1px solid #f3c6bd; color: #93321c; }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9ddd2; padding: 2.5rem 0 1.5rem; margin-top: 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small,
.site-footer .muted { color: #b7a596; }
.footer-brand { margin: 0 0 .5rem; }
.footer-contact p { margin: 0 0 .3rem; }
.footer-bottom { padding-top: 1rem; }
.footer-bottom .muted { font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero-inner, .ras-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; max-width: 360px; margin: 0 auto; }
    .cards { grid-template-columns: 1fr 1fr; }
    .parents { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .site-nav { gap: .8rem; }
    .site-nav a:not(.nav-cta) { display: none; }
    .cards { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; }
    .breed-facts { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Foto's in hero / ras ---------- */
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.ras-photo { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Ras: kenmerken-tegels ---------- */
.breed-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1.3rem 0; }
.breed-facts div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .5rem; text-align: center; }
.breed-facts span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.breed-facts strong { display: block; font-size: .95rem; color: var(--ink); margin-top: .2rem; }

/* ---------- Disclaimer / vrijblijvend ---------- */
.disclaimer { background: var(--rust-soft); border: 1px solid #eecbb8; border-left: 4px solid var(--rust); border-radius: 12px; padding: 1.1rem 1.3rem; margin: 0 0 1.6rem; }
.disclaimer h3 { margin: 0 0 .4rem; color: var(--rust-dark); font-size: 1.05rem; }
.disclaimer p { margin: 0 0 .5rem; color: var(--ink-soft); }
.disclaimer p:last-child { margin-bottom: 0; }
.disclaimer-lg { text-align: center; max-width: 640px; margin-inline: auto; }

/* ---------- Bedankpagina ---------- */
.section-thanks { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.thanks-mark { font-size: 3rem; text-align: center; line-height: 1; margin-bottom: .3rem; }
.steps { list-style: none; margin: 2rem auto; padding: 0; max-width: 640px; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.step-num { flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; background: var(--rust); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.steps h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- Footer-links ---------- */
.site-footer a { color: #f0c8ac; }
.site-footer a:hover { color: #fff; }
.footer-disclaimer { font-weight: 600; }


/* ===========================================================
   BEHEERPAGINA (/admin) - voorheen admin.css
   =========================================================== */

.admin-body { background: var(--cream-2); }

.admin-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

.admin-header {
    background: var(--ink); color: #eaded2; position: sticky; top: 0; z-index: 40;
}
.admin-header .admin-wrap { display: flex; align-items: center; justify-content: space-between; padding-top: .8rem; padding-bottom: .8rem; }
.admin-header .brand-text strong { color: #fff; }
.admin-header .brand-text small { color: #b7a596; }
.admin-nav { display: flex; gap: 1.2rem; }
.admin-nav a { color: #eaded2; text-decoration: none; font-weight: 600; font-size: .95rem; }
.admin-nav a:hover { color: #fff; text-decoration: underline; }

.admin-main { padding-top: 2rem; padding-bottom: 4rem; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-toolbar h1 { margin: 0; font-size: 1.7rem; }

.btn-sm { padding: .45rem .9rem; font-size: .88rem; }

/* Filterbalk */
.filterbar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.5rem; }
.chip {
    display: inline-flex; align-items: center; gap: .4rem;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: .4rem .9rem; text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .9rem;
}
.chip span { background: var(--cream-2); border-radius: 999px; padding: 0 .5rem; font-size: .8rem; color: var(--ink-soft); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active span { background: rgba(255,255,255,.2); color: #fff; }

/* Tabel */
.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.admin-table th, .admin-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--cream); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: #fdfaf6; }
.nowrap { white-space: nowrap; }

.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); }

/* Status-badges */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge.status-nieuw       { background: #e6eefb; color: #274b8f; }
.badge.status-interessant { background: #e7f4ee; color: #1e6c4a; }
.badge.status-wachtlijst  { background: #fdf1dd; color: #92610f; }
.badge.status-gereageerd  { background: #ece7f6; color: #4c3a7e; }
.badge.status-afgewezen   { background: #f0e6e2; color: #7a5348; }

.chip.status-nieuw.active,
.chip.status-interessant.active,
.chip.status-wachtlijst.active,
.chip.status-gereageerd.active,
.chip.status-afgewezen.active { background: var(--ink); color: #fff; }

/* Detailpagina */
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.detail-head h1 { margin: 0 0 .2rem; font-size: 1.7rem; }
.detail-quick { display: flex; gap: .5rem; }

.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; align-items: start; }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.detail-card h2 { font-size: 1.05rem; color: var(--rust-dark); margin: 0 0 .8rem; }
.detail-card dl { margin: 0; }
.dl-row { display: grid; grid-template-columns: 160px 1fr; gap: .5rem 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.dl-row:last-child { border-bottom: 0; }
.dl-row dt { color: var(--muted); font-size: .9rem; }
.dl-row dd { margin: 0; color: var(--ink); }

.detail-side { position: sticky; top: 84px; }
.side-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); }
.side-form h2 { font-size: 1.05rem; margin: 0 0 .8rem; color: var(--rust-dark); }
.side-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.side-form select, .side-form textarea {
    width: 100%; margin-top: .35rem; font: inherit; padding: .6rem .7rem;
    border: 1px solid var(--line); border-radius: 10px; background: var(--cream); font-weight: 400;
}
.side-form textarea { resize: vertical; }
.side-meta { font-size: .82rem; margin-top: .8rem; }

/* Login */
.admin-login-body { display: flex; min-height: 100vh; align-items: center; justify-content: center; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; width: 100%; max-width: 380px; margin: 1rem; }
.login-card h1 { font-size: 1.5rem; margin: .5rem 0 1rem; }
.login-card .brand { justify-content: flex-start; }
.login-card .form { background: transparent; border: 0; box-shadow: none; padding: 0; }
.login-card .btn { width: 100%; }
.login-back { margin: 1rem 0 0; font-size: .9rem; }
.login-card code { background: var(--cream-2); padding: .1rem .3rem; border-radius: 4px; font-size: .85em; word-break: break-all; }

@media (max-width: 780px) {
    .detail-grid { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .dl-row { grid-template-columns: 1fr; gap: .1rem; }
}
