* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3efe4;
    color: #222;
}

/* HEADER */

.hero {

    background:
        linear-gradient(
            rgba(0,0,0,0.35),
            rgba(0,0,0,0.35)
        ),
        url('senw.jpg');

    background-size: cover;
    background-position: center top;

    padding: 80px 20px;

    color: white;

    text-align: center;

    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.2);

    position: relative;
}

.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.55)
        );

    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.hero h1 {

    position: relative;

    margin: 0;

    font-size: 56px;

    font-weight: bold;

    letter-spacing: 1px;

    text-shadow:
        2px 2px 8px rgba(0,0,0,0.6);
}

.hero p {

    position: relative;

    margin-top: 14px;

    font-size: 18px;

    opacity: 0.98;

    text-shadow:
        1px 1px 6px rgba(0,0,0,0.6);
}

/* NAV */

.nav {

    display: flex;

    gap: 12px;

    justify-content: center;

    margin: 20px 0;
}

.nav a {

    text-decoration: none;

    background: white;

    color: #222;

    padding: 12px 22px;

    border-radius: 999px;

    font-weight: bold;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.08);

    transition:
        transform 0.15s,
        background 0.15s;
}

.nav a:hover {

    transform: translateY(-2px);

    background: #fff8e1;
}

.nav a.active {

    background: #d62828;

    color: white;
}

/* CONTENT */

.container {

    padding: 20px;
    max-width: 1400px;
    margin: auto;
}

/* FILTERS */

.filters {

    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;

    position: sticky;
    top: 10px;

    z-index: 100;

    background:
        rgba(243,239,228,0.95);

    padding: 12px;

    border-radius: 18px;

    backdrop-filter: blur(8px);

    box-shadow:
        0 4px 12px rgba(0,0,0,0.08);
}

/* SEARCH */

.search-wrapper {

    position: relative;
    flex: 1;
    min-width: 220px;
}

.search-icon {

    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    opacity: 0.5;
}

.search-wrapper input {

    width: 100%;
    padding-left: 42px;
}

input,
select {

    padding: 14px;
    border-radius: 14px;
    border: none;
    background: white;
    font-size: 15px;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.08);

    min-width: 200px;
}

/* STATS */

.stats {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 18px;

    margin-bottom: 25px;
}

.card {

    background: white;

    padding: 24px;

    border-radius: 20px;

    box-shadow:
        0 4px 14px rgba(0,0,0,0.08);

    position: relative;

    overflow: hidden;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 8px 22px rgba(0,0,0,0.14);
}

.card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 6px;

    background:
        linear-gradient(
            90deg,
            #e53935,
            #ffca28,
            #43a047
        );
}

.card h2 {

    margin: 0;
    font-size: 42px;
    color: #111;
}

.card p {

    margin-top: 10px;
    color: #666;
    font-size: 16px;
}

/* TABLE */

.table-wrapper {

    overflow-x: auto;

    border-radius: 20px;

    box-shadow:
        0 4px 16px rgba(0,0,0,0.08);

    background: white;
}

table {

    width: 100%;
    border-collapse: collapse;
    background: white;
}

th {

    background: #d62828;
    color: white;

    text-align: left;

    padding: 16px;

    font-size: 15px;
}

td {

    padding: 16px;

    border-bottom:
        1px solid #eee;
}

/* KLIKBARE RIJEN */

tbody tr {

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

tbody tr:hover {

    background: #fff8e1;

    transform: scale(1.01);

    box-shadow:
        0 4px 12px rgba(0,0,0,0.08);
}

/* ONTBREKENDE ALBUMS */

tr.ontbrekend-row {

    background: #fff1f1;
}

tr.ontbrekend-row:hover {

    background: #ffe5e5;
}

/* STATUS */

.status {

    padding: 7px 14px;

    border-radius: 999px;

    color: white;

    font-size: 13px;

    font-weight: bold;
}

.in_bezit {

    background: #2e7d32;
}

.ontbreekt {

    background: #c62828;
}

/* KWALITEIT */

.kwaliteit {

    padding: 7px 14px;

    border-radius: 999px;

    color: white;

    font-size: 13px;

    font-weight: bold;
}

.kwaliteit-goed {

    background: #43a047;
}

.kwaliteit-redelijk {

    background: #fb8c00;
}

.kwaliteit-slecht {

    background: #e53935;
}

/* MODAL */

.modal {

    display: none;

    position: fixed;

    z-index: 9999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(0,0,0,0.75);

    justify-content: center;
    align-items: center;

    padding: 20px;
}

.modal-content {

    position: relative;

    max-width: 90%;
    max-height: 90%;
}

.modal img {

    width: 100%;
    max-width: 500px;

    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.4);
}

.close {

    position: absolute;

    top: -15px;
    right: -15px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    border: none;

    background: white;

    font-size: 24px;

    cursor: pointer;

    box-shadow:
        0 2px 10px rgba(0,0,0,0.3);
}

/* MOBILE */

@media (max-width: 700px) {

    .hero {

        padding: 50px 20px;
        background-position: center;
    }

    .hero h1 {

        font-size: 36px;
    }

    .hero p {

        font-size: 15px;
    }

    .filters {

        top: 0;
        padding: 10px;
    }

    .search-wrapper,
    select {

        width: 100%;
    }

    table {

        font-size: 14px;
    }

    th,
    td {

        padding: 12px;
    }

    .card h2 {

        font-size: 32px;
    }

    tbody tr:hover {

        transform: none;
    }

    .modal img {

        max-width: 95vw;
    }
}