/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ===== VARIABELEN ===== */
:root {
    --blauw: #0057FF;
    --donkerblauw: #003BCC;
    --lichtblauw: #E8F0FF;
    --wit: #FFFFFF;
    --grijs: #F4F6FB;
    --tekstgrijs: #555E74;
    --donker: #0A0F1E;
    --accent: #00C2FF;
    --shadow: 0 4px 24px rgba(0,87,255,0.10);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--grijs);
    color: var(--donker);
    min-height: 100vh;
}

/* ===== NAVIGATIE ===== */
nav {
    background: var(--donker);
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    color: var(--wit);
    letter-spacing: 2px;
    text-decoration: none;
}

.nav-logo span {
    color: var(--blauw);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #B0BAD0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.actief {
    color: var(--wit);
    border-bottom-color: var(--blauw);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(120deg, var(--donker) 60%, #0a2060 100%);
    color: var(--wit);
    padding: 5rem 2.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,87,255,0.18) 0%, transparent 70%);
}

.hero-inner {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    color: #B0BAD0;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--blauw);
    color: var(--wit);
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--donkerblauw);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--blauw);
    color: var(--blauw);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--blauw);
    color: var(--wit);
}

/* ===== HIGHLIGHTS (homepage) ===== */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 3rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.highlight-card {
    background: var(--wit);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s;
}

.highlight-card:hover {
    transform: translateY(-4px);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--donker);
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.92rem;
    color: var(--tekstgrijs);
    line-height: 1.6;
}

/* ===== PAGINA CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
}

.pagina-titel {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    letter-spacing: 2px;
    color: var(--donker);
    margin-bottom: 0.3rem;
}

.pagina-subtitel {
    color: var(--tekstgrijs);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ===== PRODUCTEN GRID ===== */
.producten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-kaart {
    background: var(--wit);
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--blauw);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-kaart:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,87,255,0.15);
}

.product-categorie {
    display: inline-block;
    background: var(--lichtblauw);
    color: var(--blauw);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.product-kaart h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--donker);
}

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--wit);
    border: 2px solid #DDE3F0;
    color: var(--tekstgrijs);
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.actief {
    background: var(--blauw);
    border-color: var(--blauw);
    color: var(--wit);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 700px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-item .icoon {
    font-size: 1.4rem;
    margin-top: 2px;
}

.contact-item p {
    color: var(--tekstgrijs);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item strong {
    color: var(--donker);
    display: block;
    margin-bottom: 2px;
}

.contact-form {
    background: var(--wit);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-groep {
    margin-bottom: 1.2rem;
}

.form-groep label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--donker);
    margin-bottom: 0.4rem;
}

.form-groep input,
.form-groep textarea,
.form-groep select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #DDE3F0;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--donker);
    background: var(--grijs);
    transition: border-color 0.2s;
    outline: none;
}

.form-groep input:focus,
.form-groep textarea:focus,
.form-groep select:focus {
    border-color: var(--blauw);
    background: var(--wit);
}

.form-groep textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--donker);
    color: #B0BAD0;
    text-align: center;
    padding: 2rem;
    font-size: 0.88rem;
    margin-top: 4rem;
}

footer span {
    color: var(--blauw);
}

/* ===== MELDINGEN ===== */
.melding {
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.melding-info    { background: var(--lichtblauw); color: var(--donkerblauw); border: 1.5px solid #b3ccff; }
.melding-succes  { background: #e8f5e9; color: #2e7d32; border: 1.5px solid #a5d6a7; }
.melding-fout    { background: #fdecea; color: #c62828; border: 1.5px solid #ef9a9a; }

/* ===== AUTH KAART ===== */
.auth-kaart {
    background: var(--wit);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* ===== TRAINERS GRID ===== */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.trainer-kaart {
    background: var(--wit);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.trainer-kaart:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,87,255,0.15);
}

.trainer-foto-wrap {
    background: var(--grijs);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.trainer-foto {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.trainer-foto-placeholder {
    font-size: 4rem;
}

.trainer-info {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.trainer-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--donker);
    margin-bottom: 0.4rem;
}

.trainer-specialisatie {
    display: inline-block;
    background: var(--lichtblauw);
    color: var(--blauw);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trainer-bio {
    font-size: 0.9rem;
    color: var(--tekstgrijs);
    line-height: 1.6;
    flex: 1;
}

.trainer-prijs {
    font-weight: 700;
    color: var(--donker);
    font-size: 1rem;
    margin-top: 1rem;
}

/* ===== TRAINER BOEKING KAART ===== */
.trainer-boeking-kaart {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--wit);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.trainer-foto-klein {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.trainer-boeking-kaart strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--donker);
}

/* ===== BOEKINGEN LIJST ===== */
.boekingen-lijst {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.boeking-rij {
    background: var(--wit);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.boeking-rij.verleden {
    opacity: 0.65;
}

.boeking-details {
    flex: 1;
    min-width: 140px;
}

.boeking-details strong {
    display: block;
    font-weight: 700;
    color: var(--donker);
}

.boeking-datum {
    color: var(--tekstgrijs);
    font-size: 0.92rem;
}

.boeking-prijs {
    font-weight: 700;
    color: var(--donker);
}

.boeking-status {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-aankomend { background: #e8f5e9; color: #2e7d32; }
.status-verleden  { background: #f5f5f5; color: #888; }

/* ===== WINKELMANDJE BADGE ===== */
.mandje-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blauw);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 2px;
}

/* ===== PRODUCT KAART (met foto) ===== */
.product-kaart {
    background: var(--wit);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-top: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-kaart:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,87,255,0.15);
}

.product-foto-wrap {
    height: 180px;
    background: var(--grijs);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-foto {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-foto-placeholder {
    font-size: 3.5rem;
}

.product-kaart-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-kaart-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--donker);
    margin-bottom: 0.4rem;
}

.product-beschrijving {
    font-size: 0.88rem;
    color: var(--tekstgrijs);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 0.8rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #EEF0F6;
}

.product-prijs {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blauw);
}

/* ===== WINKELMANDJE PAGINA ===== */
.mandje-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 800px) {
    .mandje-wrap { grid-template-columns: 1fr; }
}

.mandje-items {
    background: var(--wit);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.mandje-rij {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #EEF0F6;
    flex-wrap: wrap;
}

.mandje-rij:last-of-type { border-bottom: none; }

.mandje-foto {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--grijs);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.mandje-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mandje-foto-placeholder { font-size: 1.8rem; }

.mandje-info {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mandje-info strong { font-size: 0.95rem; color: var(--donker); }
.mandje-stukprijs { font-size: 0.82rem; color: var(--tekstgrijs); }

.mandje-aantal input {
    width: 60px;
    padding: 0.4rem 0.5rem;
    border: 2px solid #DDE3F0;
    border-radius: 6px;
    font-size: 0.95rem;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
}

.mandje-subtotaal {
    font-weight: 700;
    font-size: 1rem;
    color: var(--donker);
    min-width: 70px;
    text-align: right;
}

.mandje-verwijder {
    color: #c62828;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    transition: background 0.15s;
}

.mandje-verwijder:hover { background: #fdecea; }

.mandje-samenvatting {
    background: var(--wit);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 80px;
}

.mandje-samenvatting h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.sam-rij {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #EEF0F6;
    font-size: 0.95rem;
    color: var(--tekstgrijs);
}

.sam-totaal {
    border-bottom: none;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--donker);
    margin-top: 0.4rem;
}

/* ===== ABONNEMENTEN ===== */
.abo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.abo-kaart {
    background: var(--wit);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    border-top: 4px solid #DDE3F0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.abo-kaart:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,87,255,0.13);
}

.abo-populair {
    border-top-color: var(--blauw);
    box-shadow: 0 4px 32px rgba(0,87,255,0.18);
}

.abo-badge {
    display: inline-block;
    background: var(--blauw);
    color: var(--wit);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    width: fit-content;
}

.abo-kaart h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--donker);
    margin-bottom: 0.5rem;
}

.abo-prijs {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blauw);
    margin-bottom: 0.8rem;
}

.abo-duur {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--tekstgrijs);
}

.abo-beschrijving {
    font-size: 0.9rem;
    color: var(--tekstgrijs);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.abo-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--donker);
    flex: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    nav { padding: 0 1rem; }
    .hero { padding: 3rem 1rem 2.5rem; }
    .highlights, .container { padding: 2rem 1rem; }
    .nav-links { gap: 1rem; }
}
