/* --------------------------
    GLOBAL
-------------------------- */
* { box-sizing: border-box; }
:root {
    --red: #c71818;
    --red-dark: #a30f0f;
    --red-border: #820808;
    --gray-bg: #202020;
    --gray-main: #e5e5e5;
    --footer-bg: #111111;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-bg);
    color: #222;
}
a { color: inherit; text-decoration: none; }

/* --------------------------
    HEADER + NAV
-------------------------- */
header {
    background: linear-gradient(to bottom, var(--red), var(--red-dark));
    border-bottom: 3px solid var(--red-border);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.header-left {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header-logo-text {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

.header-logo-tag {
    font-size: 11px;
    text-transform: uppercase;
    color: #ffe4e4;
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.header-nav a {
    font-size: 12px;
    color: #ffecec;
    font-weight: 600;
    text-transform: uppercase;
}

.header-nav a:hover {
    text-decoration: underline;
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.header-login-btn {
    padding: 5px 14px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    background: #ffcc33;
    color: #222;
    border-bottom: 2px solid #c2900e;
    box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.header-login-btn:hover {
    background: #ffe15a;
}

/* mobiel */
@media (max-width: 800px) {
    .header-inner {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .header-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .header-right {
        justify-content: flex-start;
    }
}

/* --------------------------
    HERO SECTION
-------------------------- */
.hero-wrap {
    background: linear-gradient(to bottom, #fdfdfd, #e0e0e0);
    border-bottom: 3px solid #b3b3b3;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 20px 18px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 24px;
    background: url('https://images.pexels.com/photos/6943655/pexels-photo-6943655.jpeg?auto=compress&cs=tinysrgb&w=1600')
                right center / cover no-repeat;
    position: relative;
}

.hero-inner::before {
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to right,
                rgba(248,248,248,0.96),
                rgba(248,248,248,0.85),
                rgba(248,248,248,0.1));
}
.hero-left, .hero-right { position:relative; }

.hero-left h1 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #111;
}
.hero-left p {
    margin: 0 0 10px;
    font-size: 14px;
    max-width: 520px;
}

.hero-buttons {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

/* Buttons */
.btn-hero-blue,
.btn-hero-grey,
.btn-hero-red {
    min-width: 110px;
    padding: 7px 16px;
    border-radius: 3px;
    border: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    color: white;
    box-shadow: 0 2px 3px rgba(0,0,0,.3);
}

.btn-hero-blue {
    background: linear-gradient(to bottom, #2f8cff, #1656b8);
    border-bottom: 2px solid #0f3d84;
}
.btn-hero-blue:hover { background: #4d9eff; }

.btn-hero-grey {
    background: linear-gradient(to bottom, #f4f4f4, #d0d0d0);
    color: #222;
    border-bottom: 2px solid #a0a0a0;
}
.btn-hero-grey:hover { background: #fff; }

.btn-hero-red {
    background: linear-gradient(to bottom, #ff3b2f, #c3130a);
    border-bottom: 2px solid #8c0904;
}
.btn-hero-red:hover { background: #ff5b51; }

/* right hero box */
.hero-box {
    background: rgba(255,255,255,.95);
    border-radius: 4px;
    border: 1px solid #c8c8c8;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.btn-hero-big {
    width: 100%;
    padding: 8px 14px;
    border-radius: 3px;
    background: #ff3b2f;
    color: white;
    font-weight: bold;
    border: none;
    border-bottom: 2px solid #b11109;
    cursor: pointer;
}
.btn-hero-big:hover { background:#ff5d52; }

/* mobiel hero */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
}

/* --------------------------
    MAIN WRAP / CONTENT
-------------------------- */
.main-wrap {
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 16px 20px 24px;
    background: var(--gray-main);
}

/* 2 kolommen */
.columns {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 14px;
}
@media (max-width: 980px) {
    .columns { grid-template-columns: 1fr; }
}

/* kolommen */
.column {
    border-radius: 4px;
    overflow: hidden;
    background: #d5d5d5;
    border: 1px solid #bdbdbd;
}
.column-header {
    padding: 7px 10px;
    font-size: 12px;
    font-weight: bold;
    background: #f0f0f0;
    border-bottom: 1px solid #ccc;
    text-transform: uppercase;
}

/* spotlight (rode header) */
.left-section .column-header {
    background: linear-gradient(to bottom, var(--red), var(--red-dark));
    color: #fff;
    border-bottom: 1px solid var(--red-border);
}

/* lijst */
.list-block ul {
    padding: 0; margin: 0;
    list-style: none;
}
.list-block li {
    padding: 7px 9px;
    border-bottom: 1px solid #c4c4c4;
    display: flex;
    justify-content: space-between;
}
.badge {
    padding: 1px 6px;
    font-size: 10px;
    color: #fff;
    background: #4d4d4d;
    border-radius: 2px;
}

/* layout preview */
.layout-preview {
    width: 100%;
    display:block;
}

/* NEWS section */
.center-column {
    border: 1px solid #c4c4c4;
    background: white;
}
.news-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.news-item h4 {
    margin: 0 0 4px;
    display: flex;
    justify-content: space-between;
}
.news-date {
    font-size: 11px;
    color: var(--red);
    font-weight: bold;
}

/* --------------------------
    FOOTER
-------------------------- */
footer {
    padding: 12px;
    background: var(--footer-bg);
    text-align: center;
    font-size: 11px;
    color: #aaa;
}

/* --------------------------
    FORMS (login / aanmelden)
-------------------------- */
.form-field {
    margin-bottom: 10px;
}
.form-field label {
    display: block;
    font-size: 11px;
    margin-bottom: 2px;
}
.form-field input,
.form-field select {
    width:100%;
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 3px;
    border:1px solid #999;
}

.btn-primary {
    padding: 8px 16px;
    background: #ff3b2f;
    color: #fff;
    border: none;
    border-radius: 3px;
    border-bottom:2px solid #b11109;
    cursor:pointer;
    font-size:12px;
    font-weight:bold;
}
.btn-primary:hover { background:#ff5f55; }

.small-text { font-size: 11px; color: #555; }

/* --------------------------
   GENERIEKE CONTENT BOX
-------------------------- */
.page-wrap {
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 16px 20px 24px;
    background: var(--gray-main);   /* zelfde lichtgrijs als main */
}

.page-box {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #c4c4c4;
    padding: 16px 20px 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.page-box h2 {
    margin-top: 0;
}

/* Beheer tabel */
.beheer-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.beheer-table th,
.beheer-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.beheer-table thead tr {
    background: #e0e0e0;
}

/* Kleine formuliertjes in cellen */
.inline-form {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.input-small {
    font-size: 11px;
    padding: 2px 4px;
}

/* Buttons: klein formaat voor beheer */
.btn-xs {
    padding: 2px 6px;
    font-size: 11px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    background: #d0d0d0;
}

.btn-secondary {
    background: #666;
    color: #fff;
}

.btn-success {
    background: #4caf50;
    color: #fff;
}

.btn-danger {
    background: #e53935;
    color: #fff;
}

.btn-warning {
    background: #f9a825;
    color: #fff;
}

/* Meldingen */
.alert-success {
    background:#e2ffe2;
    border:1px solid #6cbf6c;
    padding:8px;
    font-size:12px;
    margin-bottom:10px;
}

.alert-error {
    background:#ffe0e0;
    border:1px solid #bb6060;
    padding:8px;
    font-size:12px;
    margin-bottom:10px;
}
