/* ====== BASE ====== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --bg-alt: #f5f5f5;
    --text: #111111;
    --muted: #666666;
    --border: #e0e0e0;
    --accent: #000000;
    --accent-soft: #222222;
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.2s ease-out;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ====== HEADER ====== */

header {
    background: #000;
}

.navbar {
    max-width: 1120px;
    margin: 0 auto;
    padding: 26px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* voor dropdown op mobiel */
}

/* Logo */

.logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 24px;
    display: block;
}

/* Desktop nav-links */

.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Hamburger button (alleen zichtbaar op mobiel via media query) */

.nav-toggle-btn {
    display: none; /* desktop: verborgen */
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 12px;
}

.nav-toggle-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-btn span + span {
    margin-top: 5px;
}

/* Mobiel header gedrag */

@media (max-width: 768px) {
    .navbar {
        padding: 18px 16px;
    }

    /* Hamburger tonen op mobiel */
    .nav-toggle-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Menu standaard verbergen op mobiel – full-width onder de header */
    .nav-links {
        position: absolute;
        top: 100%;              /* direct onder de navbar */
        left: 0;
        right: 0;
        background: #000;
        padding: 16px 24px 20px;
        flex-direction: column;
        gap: 14px;
        display: none;
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
        z-index: 20;
    }

    .nav-links a {
        font-size: 0.95rem;
        width: 100%;
    }

    /* Als nav-open class op .navbar staat → dropdown tonen */
    .navbar.nav-open .nav-links {
        display: flex;
    }
}

/* ====== HERO ====== */

.hero {
    background: var(--bg);
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 72px 20px 56px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-subtitle {
    color: var(--muted);
    max-width: 520px;
}

.hero-cta-left {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

/* ====== BUTTONS ====== */

.btn {
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    font-size: .95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #eee;
}

/* ====== SECTION GENERIC ====== */

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 64px 20px;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.section-header p {
    color: var(--muted);
    max-width: 560px;
}

/* Extra nette tekst-stijlen voor content */

.lead {
    max-width: 560px;
    color: #555;
    line-height: 1.55;
    margin-bottom: 14px;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.section-subtitle {
    color: #555;
    max-width: 580px;
    line-height: 1.55;
    margin-bottom: 16px;
}

/* ====== INTRO BLOK (tekst + contact rechts) ====== */

.intro-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 900px;
}

.intro-text {
    flex: 2;
}

.intro-contact {
    flex: 1;
    padding: 16px 20px;
    border-radius: 12px;
    background: #f8f8f8;
    border: 1px solid #e2e2e2;
}

.intro-contact h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.intro-mail {
    font-size: 1.15rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.intro-mail:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    .intro-flex {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
    }
}

/* ====== SPLIT SECTIONS (image + text) ====== */

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.section-split--reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.section-illustration {
    display: flex;
    justify-content: center;
}

.section-image {
    width: 100%;
    max-width: 520px;
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
    display: block;
}

.section-copy h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.section-copy p {
    color: #555;
    max-width: 520px;
    line-height: 1.6;
}

/* ====== CARDS ====== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 32px;
}

.card {
    background: #fff;
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
    text-align: left;
}

/* Hover effect op de hele card (niet voor .driver-form-card) */
.card:hover {
    transform: translateY(-4px);
    border-color: #000;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    background: #fafafa;
}

.card h3 {
    margin-top: 4px;
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.card p {
    margin: 0;
    color: #555;
    line-height: 1.55;
}

/* Icon container boven de titel */

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1;
    border-radius: 999px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), opacity var(--transition-fast);
    opacity: 0.96;
}

/* Icon zelf (Material Symbols) */

.card-icon .material-symbols-outlined {
    font-variation-settings:
            "FILL" 0,
            "wght" 400,
            "GRAD" 0,
            "opsz" 32;
    font-size: 28px;
}

/* Icon animatie bij hover */

.card:hover .card-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.06);
    opacity: 1;
}

/* ====== STEPS ====== */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 32px;
}

.step {
    background: #fff;
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

/* ====== STATS BAR ====== */

.stats-bar {
    width: 100%;
    background: #000;
    color: #fff;
}

.stats-bar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 25px 24px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
}

/* ====== FULL BLACK: STATS → CTA → FOOTER ====== */

.black-zone {
    width: 100%;
    background: #000 !important;
    padding-top: 80px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.black-zone *,
.black-zone h2,
.black-zone p {
    color: #fff !important;
}

.black-zone .btn-primary {
    background: #fff !important;
    color: #000 !important;
}

.black-zone .btn-secondary {
    background: transparent !important;
    border: 1px solid #fff !important;
    color: #fff !important;
}

/* ====== CTA (full-width zwart) ====== */

.section-cta {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 80px 20px 90px;
    background: #000000;
}

.section-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: #000000;
    color: #ffffff;
    border-radius: 32px;
    box-shadow: 0 22px 55px rgba(0,0,0,0.45);
    padding: 40px 32px;
}

.section-cta-inner h2 {
    margin-bottom: 12px;
    color: #ffffff;
}

.section-cta-inner p {
    margin: 0 auto 22px auto;
    max-width: 520px;
    color: #e5e5e5;
}

.section-cta .hero-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.section-cta .btn-primary {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.section-cta .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

/* ====== FOOTER ====== */

footer,
#footer {
    width: 100%;
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 32px 0;
    margin: 0;
}

/* ===== Chauffeurs-pagina ===== */

.driver-intro-card {
    background: #ffffff;
    padding: 40px 36px;
    border-radius: 24px;
    box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.12),
            0 8px 18px rgba(0, 0, 0, 0.10),
            0 3px 8px rgba(0, 0, 0, 0.08);
    max-width: 850px;
    margin: 60px auto 40px auto;
    text-align: center;
}

.driver-intro-card .page-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.driver-intro-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.55;
    margin-bottom: 14px;
}

.driver-benefits {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.driver-benefits .card {
    padding: 16px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    min-height: 150px;
}

.driver-benefits .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    font-size: 24px;
    border-radius: 99px;
    background: rgba(0, 0, 0, 0.04);
    margin-bottom: 6px;
}

.driver-benefits .card-icon .material-symbols-outlined {
    font-size: 22px;
}

.driver-benefits .card h3 {
    margin: 2px 0 4px;
    font-size: 0.95rem;
}

.driver-benefits .card p {
    margin: 0;
    font-size: 0.86rem;
    color: #555;
    line-height: 1.45;
}

/* Clean formulier als eigen blok, geen hover-pop */

.driver-form-card {
    max-width: 720px;
    margin: 60px auto 0 auto;
    padding: 32px 28px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: none !important;
    transition: none !important;
}

.driver-form-card:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    border-color: var(--border) !important;
}

.driver-form-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.driver-form-subtitle {
    margin: 0 0 20px 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.driver-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row-full {
    grid-column: 1 / -1;
}

.driver-form label {
    font-size: 0.9rem;
    font-weight: 500;
}

.driver-form input {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    outline: none;
    background: #fafafa;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.driver-form input:focus {
    border-color: #000;
    background: #ffffff;
}

.form-actions {
    grid-column: 1 / -1;
    margin-top: 8px;
    display: flex;
    justify-content: flex-start;
}

/* ================== RESPONSIVE (ALGEMEEN) ================== */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-split,
    .section-split.section-split--reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-copy p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .grid-3,
    .steps {
        grid-template-columns: 1fr;
    }

    .stats-bar-inner {
        flex-direction: column;
        gap: 18px;
    }

    .section-illustration {
        justify-content: center;
    }

    .driver-benefits {
        grid-template-columns: 1fr;
    }

    .driver-form {
        grid-template-columns: 1fr;
    }
}

/* ====== Ad preview layout ====== */

.preview-section {
    margin-top: 40px;
}

/* aangepast naar 1 kolom, past bij huidige HTML */
.ad-preview-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: flex-start;
    margin-top: 24px;
}

.ad-preview-controls {
    max-width: 380px;
}

.upload-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid #000;
    transition: var(--transition-fast);
}

.upload-label:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.upload-help {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.upload-error {
    margin-top: 10px;
    color: #c0392b;
    font-size: 0.9rem;
}

/* Mockup met taxi-foto */

.ad-preview-mockup {
    max-width: 100%;
}

.mockup {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.mockup-base {
    width: 100%;
    display: block;
    border-radius: 18px;
}

/* Grotere variant voor adverteerders-pagina */
.big-mockup .mockup {
    max-width: 1100px;
}

.big-mockup .mockup-base {
    width: 100%;
}

/* Schermgebied van de tablet */

.mockup-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    background: transparent;

    clip-path: polygon(
            36.5% 36.2%,
            59.9% 35.8%,
            60.2% 59.8%,
            37% 62%
    );
}

.mockup-screen canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.mockup-screen img,
.mockup-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* WHY & CONTACT blokken */

.why-block {
    margin-top: 60px;
}

.why-list {
    padding-left: 18px;
    color: #555;
    max-width: 580px;
    line-height: 1.6;
}

.contact-block {
    margin-top: 40px;
}

.contact-mail a {
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

/* Responsive specifiek voor ad preview */

@media (max-width: 900px) {
    .ad-preview-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ad-preview-controls {
        max-width: none;
    }
}

/* ===== Adverteerders-pagina layout ===== */

.section-advertisers {
    padding-top: 64px;
    padding-bottom: 80px;
}

/* Kaart om mockup + upload heen */
.ad-card {
    margin-top: 28px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 24px 24px 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

/* Mockup in de kaart: geen extra margin buiten de kaart */
.ad-preview-mockup {
    max-width: 100%;
    margin: 0;
}

/* Voet van de kaart (tekst + upload) */
.ad-card-footer {
    margin-top: 22px;
}

/* Upload sectie mooi compact onder tekst */
.ad-preview-layout {
    max-width: 320px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

/* Why-blok iets dichter tegen kaart aan */
.why-block {
    margin-top: 40px;
}

/* Mobiel: kaart full-width en wat minder padding */
@media (max-width: 800px) {
    .ad-card {
        padding: 18px 16px 20px;
        border-radius: 18px;
    }

    .ad-card-footer {
        margin-top: 18px;
    }
}

/* Footer link styling */
.site-footer a {
    color: #ffffff;            /* Zwart, past bij Cablets stijl */
    text-decoration: none;     /* Geen underline */
    transition: opacity 0.2s ease;
}

.site-footer a:hover {
    opacity: 1;                /* Bij hover iets duidelijker, clean */
}

/* ===== FIX: Chauffeur 'Aanmelden' button – maak hem klein & pill i.p.v. cirkel ===== */

.driver-form-card button[type="submit"],
.driver-form-card .form-actions .btn.btn-primary {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;

    /* kleiner */
    padding: 8px 40px !important;
    /* minder rond */
    border-radius: 20px !important;
    /* iets kleinere tekst */
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Op mobiel centreren en max-breedte geven */

@media (max-width: 480px) {
    .driver-form-card .form-actions {
        justify-content: center;
    }

    .driver-form-card button[type="submit"],
    .driver-form-card .form-actions .btn.btn-primary {
        width: 100% !important;
        max-width: 320px !important;
    }
}

/* ===== FIX: zwarte achtergrond onder footer ===== */

body {
    background: #000;
}

main {
    background: #fff;
}

footer,
#footer {
    background: #000;
}

body::after {
    content: "";
    display: block;
    height: 80px;  /* hoeveelheid zwarte buffer onder footer */
    background: #000;
}

/* ===== HARD FIX: Chauffeurs button onder tekst + kleiner ===== */
@media (max-width: 480px) {

    /* forceer column layout */
    .driver-form-card .form-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 18px !important;
        margin-top: 18px !important;
    }

    /* privacy tekst 100% breed */
    .driver-form-card .form-actions .form-privacy-note {
        width: 100% !important;
        max-width: none !important;
    }

    /* button kleiner, minder rond */
    .driver-form-card .form-actions .btn-primary {
        display: inline-block !important;
        width: auto !important;
        padding: 8px 100px !important;
        font-size: 0.9rem !important;
        border-radius: 12px !important;
    }
}

.upload-disclaimer {
    font-size: 0.85rem;
    color: #777;
    margin-top: 10px;
    max-width: 340px;
    line-height: 1.45;
}

.ad-preview-actions {
    max-width: 1100px;
    margin: 14px auto 0;
    display: flex;
    justify-content: flex-start;  /* => nu links onder de mockup */
}

.ad-preview-actions .ad-preview-controls {
    text-align: left;  /* of gewoon weghalen, dan erft hij de default */
}