:root {
    --navy: #16233f;
    --navy-dark: #0d1526;
    --gold: #b8863d;
    --gold-light: #d4a55f;
    --cream: #faf7f2;
    --white: #ffffff;
    --text: #2c2c2c;
    --muted: #7a7a7a;
    --border: #e6e0d6;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--cream);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20x 0 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header.site-header img.logo {
    max-width: 220px;
    height: auto;
}

header.site-header .tagline {
    margin-top: 14px;
    font-size: 15px;
}

header.site-header .tagline .tagline-navy {
    color: var(--navy);
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
}

header.site-header .tagline .tagline-gold {
    color: var(--gold);
    font-family: 'Dancing Script', 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Navigatie */
.main-nav {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-family: Georgia, 'Times New Roman', serif;
}

.main-nav a {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text);
    padding: 0 16px 6px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--navy);
}

.main-nav a.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
    font-weight: 600;
}

/* Over mij pagina */
.about-section {
    padding: 56px 0 80px;
}

.about-container {
    display: flex;
    gap: 56px;
    align-items: flex-start;
}

.about-photo {
    flex: 0 0 320px;
}

.about-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: linear-gradient(150deg, #16233f 0%, #3a5488 40%, #b8863d 75%, #f5ecd8 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.6;
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.about-text {
    flex: 1;
    padding-top: 8px;
}

.about-text h1 {
    font-weight: 400;
    color: var(--navy);
    font-size: 32px;
    margin: 0 0 6px;
}

.about-role {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--gold);
    letter-spacing: 1px;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.about-bio {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 32px;
}

.about-bio p {
    margin: 0 0 18px;
}

.btn-link {
    display: inline-block;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
}

.btn-link:hover {
    color: var(--gold);
}

/* Contactpagina */
.contact-section {
    padding: 56px 0 90px;
}

.contact-container {
    max-width: 560px;
}

.contact-container h1 {
    font-weight: 400;
    color: var(--navy);
    font-size: 32px;
    margin: 0 0 10px;
}

.contact-container .subtitle {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--muted);
    font-size: 14.5px;
    margin-bottom: 32px;
    text-align: left;
}

.contact-form {
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.contact-form .form-row {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14.5px;
    background: var(--white);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.contact-form .btn:hover {
    background: var(--navy-dark);
}

/* Honeypot-veld: onzichtbaar voor mensen, alleen bots vullen dit in */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.contact-section .alert {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.contact-section .alert-error {
    background: #fbeaea;
    color: #a83232;
    border: 1px solid #f0c4c4;
}

.contact-section .alert-success {
    background: #eaf5ec;
    color: #2f7a3f;
    border: 1px solid #c4e5cb;
}

@media (max-width: 700px) {
    .about-container {
        flex-direction: column;
        gap: 32px;
    }
    .about-photo {
        flex: none;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 16px auto;
    border: none;
}

/* Gallery grid */
.gallery-section {
    padding: 56px 0 80px;
}

.gallery-section h1 {
    text-align: center;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--navy);
    margin-bottom: 8px;
}

.gallery-section .subtitle {
    text-align: center;
    color: var(--muted);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    margin-bottom: 48px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 36px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
    box-shadow: 0 12px 28px rgba(22, 35, 63, 0.12);
    transform: translateY(-3px);
}

.card .image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0ede6;
}

.card .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .sold-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--navy);
    color: var(--white);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
}

.card .info {
    padding: 20px 22px 24px;
}

.card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-weight: 400;
    font-size: 20px;
}

.card p.description {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 12px;
}

.card .price {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--gold);
    font-weight: 600;
    font-size: 15px;
}

.btn-interest {
    display: inline-block;
    margin-top: 12px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

.btn-interest:hover {
    color: var(--gold);
}

.interest-note {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13.5px;
    background: #f4f1ec;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 20px;
    color: var(--text);
}

.interest-note strong {
    color: var(--navy);
}

.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 60px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Footer */
footer.site-footer {
    text-align: center;
    padding: 28px 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

footer.site-footer a {
    color: var(--gold);
}

/* ===================== ADMIN ===================== */
.admin-body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.admin-header {
    background: var(--navy);
    color: var(--white);
    padding: 18px 0;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header .brand {
    font-family: Georgia, serif;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.admin-header .brand span { color: var(--gold-light); }

.admin-header nav a {
    color: var(--white);
    font-size: 14px;
    margin-left: 20px;
    opacity: 0.85;
}

.admin-header nav a:hover { opacity: 1; }

.admin-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.admin-main h1 {
    font-family: Georgia, serif;
    color: var(--navy);
    font-weight: 400;
    margin-bottom: 24px;
}

.panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px;
    margin-bottom: 40px;
}

.panel h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--navy);
    margin-top: 0;
    font-size: 20px;
}

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-row input[type="text"],
.form-row input[type="password"],
.form-row textarea,
.form-row input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.form-row textarea {
    min-height: 90px;
    resize: vertical;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-row input { width: auto; }

.btn {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 11px 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn:hover { background: var(--navy-dark); }

.btn-danger {
    background: #a83232;
}

.btn-danger:hover { background: #8a2626; }

.btn-toggle {
    background: var(--gold);
    color: var(--navy-dark);
    margin-right: 8px;
}

.btn-toggle:hover { background: var(--gold-light); }

.btn-small {
    padding: 6px 14px;
    font-size: 12px;
}

.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fbeaea;
    color: #a83232;
    border: 1px solid #f0c4c4;
}

.alert-success {
    background: #eaf5ec;
    color: #2f7a3f;
    border: 1px solid #c4e5cb;
}

table.admin-table {
    width: 100%;
    border-collapse: collapse;
}

table.admin-table th,
table.admin-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    vertical-align: middle;
}

table.admin-table th {
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table.admin-table img.thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.login-wrap {
    max-width: 380px;
    margin: 100px auto;
    background: var(--white);
    padding: 36px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.login-wrap h1 {
    font-family: Georgia, serif;
    font-weight: 400;
    text-align: center;
    color: var(--navy);
    margin-top: 0;
}

.login-wrap .logo-small {
    display: block;
    max-width: 120px;
    margin: 0 auto 20px;
}

/* ===================== RESPONSIVE (mobiel) ===================== */
@media (max-width: 640px) {
    header.site-header {
        padding: 28px 0 20px;
    }

    header.site-header img.logo {
        max-width: 160px;
    }

    header.site-header .tagline {
        padding: 0 16px;
        line-height: 2;
    }

    header.site-header .tagline .tagline-navy {
        display: block;
        font-size: 11px;
        letter-spacing: 2px;
    }

    header.site-header .tagline .tagline-gold {
        display: block;
        font-size: 19px;
    }

    .main-nav {
        gap: 4px;
    }

    .main-nav a {
        font-size: 11px;
        letter-spacing: 2px;
        padding: 0 10px 6px;
    }

    .gallery-section {
        padding: 36px 0 56px;
    }

    .admin-header .container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .admin-header nav a {
        margin-left: 0;
        margin-right: 16px;
    }

    .admin-main {
        padding: 28px 16px 60px;
    }

    .panel {
        padding: 20px;
    }

    /* Tabel wordt een reeks kaarten in plaats van rijen die van het scherm afvallen */
    table.admin-table thead {
        display: none;
    }

    table.admin-table, 
    table.admin-table tbody, 
    table.admin-table tr, 
    table.admin-table td {
        display: block;
        width: 100%;
    }

    table.admin-table tr {
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 14px;
        margin-bottom: 14px;
    }

    table.admin-table td {
        border-bottom: none;
        padding: 4px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    table.admin-table td.thumb-cell {
        justify-content: flex-start;
    }

    table.admin-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--muted);
    }

    table.admin-table td.thumb-cell::before,
    table.admin-table td.actions-cell::before {
        content: "";
    }

    table.admin-table td.actions-cell {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 10px;
    }

    table.admin-table td.actions-cell form {
        margin: 0;
    }
}
