/* ==========================================================================
   1. Variabelen & Basisstijlen
   ========================================================================== */
:root {
    --primary-color: #007bff;
    --primary-hover-color: #0056b3;
    --primary-gradient: linear-gradient(45deg, #007bff, #00c6ff);
    --text-color: #333;
    --text-color-light: #666;
    --background-color: #ffffff;
    --surface-color: #f8f9fa;
    --border-color: #dee2e6;
    --drawer-background: #fff;
    --header-background: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --font-family: 'Roboto', sans-serif;
    --border-radius: 8px;
}

[data-theme="dark"] {
    --primary-color: #0097ff;
    --primary-hover-color: #33abff;
    --primary-gradient: linear-gradient(45deg, #0097ff, #00e0ff);
    --text-color: #f8f9fa;
    --text-color-light: #adb5bd;
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --border-color: #343a40;
    --drawer-background: #2a2a2a;
    --header-background: rgba(30, 30, 30, 0.85);
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding-top: 70px; /* <-- ruimte voor de sticky header */
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. Header & Navigatie
   ========================================================================== */
.header {
    background-color: var(--header-background);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    width: 100%;
    z-index: 1000;
}

.sticky-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.brand-logo {
    height: 40px;
    margin-right: 12px;
}

.navbar-brand h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.icon-button {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.icon-button:hover {
    background-color: rgba(0,0,0,0.05);
}
[data-theme="dark"] .icon-button:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ==========================================================================
   3. Hero Sectie
   ========================================================================== */
.hero {
    padding: 4rem 0;
}

.display-4 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   4. Filters & Categorie Chips
   ========================================================================== */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2rem;
}

.chip {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background-color: transparent;
    color: var(--text-color-light);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.chip:hover {
    background-color: var(--surface-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.chip.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}


.chip[data-category-slug="tech-it"],
.category-badge[data-category-slug="tech-it"] {
    background-color: #e3f2fd;
    color: #1565c0;
    border-color: #90caf9;
}

.chip[data-category-slug="financien-verzekeringen"],
.category-badge[data-category-slug="financien-verzekeringen"] {
    background-color: #e8f5e9;
    color: #1b5e20;
    border-color: #a5d6a7;
}

.chip[data-category-slug="vastgoed-makelaardij"],
.category-badge[data-category-slug="vastgoed-makelaardij"] {
    background-color: #efebe9;
    color: #3e2723;
    border-color: #bcaaa4;
}

.chip[data-category-slug="gezondheid-welzijn"],
.category-badge[data-category-slug="gezondheid-welzijn"] {
    background-color: #e0f7fa;
    color: #006064;
    border-color: #80deea;
}

.chip[data-category-slug="ecommerce-retail"],
.category-badge[data-category-slug="ecommerce-retail"] {
    background-color: #e0f2f1;
    color: #004d40;
    border-color: #80cbc4;
}

.chip[data-category-slug="reizen-toerisme"],
.category-badge[data-category-slug="reizen-toerisme"] {
    background-color: #e1f5fe;
    color: #01579b;
    border-color: #81d4fa;
}

.chip[data-category-slug="eten-drinken"],
.category-badge[data-category-slug="eten-drinken"] {
    background-color: #fff3e0;
    color: #e65100;
    border-color: #ffcc80;
}

.chip[data-category-slug="automotive"],
.category-badge[data-category-slug="automotive"] {
    background-color: #eceff1;
    color: #37474f;
    border-color: #b0bec5;
}

.chip[data-category-slug="onderwijs-cursussen"],
.category-badge[data-category-slug="onderwijs-cursussen"] {
    background-color: #e8eaf6;
    color: #1a237e;
    border-color: #9fa8da;
}

.chip[data-category-slug="marketing-reclame"],
.category-badge[data-category-slug="marketing-reclame"] {
    background-color: #ffebee;
    color: #b71c1c;
    border-color: #ef9a9a;
}

.chip[data-category-slug="juridisch-advocatuur"],
.category-badge[data-category-slug="juridisch-advocatuur"] {
    background-color: #ede7f6;
    color: #311b92;
    border-color: #b39ddb;
}

.chip[data-category-slug="bouw-installatie"],
.category-badge[data-category-slug="bouw-installatie"] {
    background-color: #fbe9e7;
    color: #bf360c;
    border-color: #ffab91;
}

.chip[data-category-slug="duurzaamheid-energie"],
.category-badge[data-category-slug="duurzaamheid-energie"] {
    background-color: #f1f8e9;
    color: #33691e;
    border-color: #c5e1a5;
}

.chip[data-category-slug="mode-kleding"],
.category-badge[data-category-slug="mode-kleding"] {
    background-color: #fce4ec;
    color: #880e4f;
    border-color: #f48fb1;
}

.chip[data-category-slug="sport-fitness"],
.category-badge[data-category-slug="sport-fitness"] {
    background-color: #fffde7;
    color: #f57f17;
    border-color: #fff59d;
}

.chip[data-category-slug="kunst-cultuur"],
.category-badge[data-category-slug="kunst-cultuur"] {
    background-color: #f3e5f5;
    color: #4a148c;
    border-color: #ce93d8;
}

.chip[data-category-slug="dieren-huisdieren"],
.category-badge[data-category-slug="dieren-huisdieren"] {
    background-color: #f5f5f5;
    color: #5d4037;
    border-color: #d7ccc8;
}

.chip[data-category-slug="persoonlijke-blogs"],
.category-badge[data-category-slug="persoonlijke-blogs"] {
    background-color: #eef7f6;
    color: #00796b;
    border-color: #a7ffeb;
}

.chip[data-category-slug="zakelijke-diensten"],
.category-badge[data-category-slug="zakelijke-diensten"] {
    background-color: #f0f4c3;
    color: #558b2f;
    border-color: #dce775;
}

.chip[data-category-slug="logistiek-transport"],
.category-badge[data-category-slug="logistiek-transport"] {
    background-color: #e3f2fd;
    color: #0d47a1;
    border-color: #90caf9;
}

.chip[data-category-slug="evenementen-entertainment"],
.category-badge[data-category-slug="evenementen-entertainment"] {
    background-color: #f9e7f4;
    color: #6a1b9a;
    border-color: #e1bee7;
}

.chip[data-category-slug="fotografie-video"],
.category-badge[data-category-slug="fotografie-video"] {
    background-color: #fafafa;
    color: #212121;
    border-color: #e0e0e0;
}

.chip[data-category-slug="consultancy"],
.category-badge[data-category-slug="consultancy"] {
    background-color: #fff8e1;
    color: #ff6f00;
    border-color: #ffecb3;
}

.chip[data-category-slug="lokale-bedrijven"],
.category-badge[data-category-slug="lokale-bedrijven"] {
    background-color: #f5f5f5;
    color: #4e342e;
    border-color: #bcaaa4;
}

.chip[data-category-slug="hobby-vrije-tijd"],
.category-badge[data-category-slug="hobby-vrije-tijd"] {
    background-color: #f9fbe7;
    color: #827717;
    border-color: #e6ee9c;
}

[data-theme="dark"] .chip { border-color: #444; }

/* ==========================================================================
   5. Domein Kaarten
   ========================================================================== */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.domain-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.domain-card:hover, .domain-card:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-content {
    padding: 20px;
    flex-grow: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.domain-name {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
    word-break: break-all;
}

.category-badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid transparent;
    white-space: nowrap;
    margin-left: 10px;
}

.domain-description {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin: 0;
}

.card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background-color: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-note {
    font-weight: 500;
    color: var(--primary-color);
}

.view-details-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-color-light);
    font-size: 0.9rem;
}

.view-details-link .material-icons-outlined {
    font-size: 1rem;
    margin-left: 4px;
    transition: transform 0.2s;
}

.domain-card:hover .view-details-link .material-icons-outlined {
    transform: translateX(4px);
}

/* ==========================================================================
   6. Drawer (Zijpaneel) - AANGEPAST
   ========================================================================== */
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--drawer-background);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

/* <-- GEWIJZIGD: Titel van de drawer is groter en dikker gemaakt voor betere leesbaarheid. --> */
.drawer-title {
    margin: 0;
    font-size: 1.5rem; /* <-- was kleiner */
    font-weight: 500; /* <-- extra nadruk */
}

.drawer-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

.drawer-body h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
    display: inline-block;
}

.drawer-body p {
    margin-bottom: 1rem;
    color: var(--text-color-light);
}

.drawer-body ul {
    list-style: none;
    padding: 0;
}
.drawer-body li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}
.drawer-body li .material-icons-outlined {
    color: var(--primary-color);
    margin-right: 12px;
}

.drawer-body .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    margin-top: 24px;
}
.drawer-body .btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.spinner-container { text-align: center; padding: 40px; }
.spinner { border: 4px solid #f3f3f3; border-top: 4px solid var(--primary-color); border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: auto; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ==========================================================================
   7. Footer - AANGEPAST
   ========================================================================== */

.footer {
    background-color: var(--surface-color);
    color: var(--text-color-light);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.footer-brand-info .footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1rem;
}
.footer-logo { height: 32px; margin-right: 10px; }
.footer-brand-name { font-size: 1.25rem; font-weight: 800; color: var(--text-color); }
.footer-tagline { font-size: 0.9rem; margin: 0 0 1rem; max-width: 300px; }
.footer-tagline a { color: var(--primary-color); text-decoration: none; }
.footer-tagline a:hover { text-decoration: underline; }

.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    background-color: var(--background-color);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.footer-links a {
    display: block;
    color: var(--text-color-light);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-color); }

.social-icons-list {
    display: flex;
    gap: 1rem;
}
.social-icon {
    width: 28px;
    height: 28px;
    fill: var(--text-color-light);
    transition: fill 0.2s, transform 0.2s;
}
.social-icons-list a:hover .social-icon {
    fill: var(--primary-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-color-light); text-decoration: none; }
.footer-bottom a:hover { color: var(--primary-color); text-decoration: underline; }

/* ==========================================================================
   8. Modals
   ========================================================================== */
/* Stijlen voor modals, forms, cookie banner, etc. blijven hieronder ongewijzigd */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1100; display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.modal-content { position: relative; background: var(--background-color); border-radius: var(--border-radius); max-width: 500px; width: 90%; max-height: 90vh; display: flex; flex-direction: column; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color); }
.modal-title { font-size: 1.25rem; margin: 0; }
.modal-body { padding: 1.5rem; overflow-y: auto; }

/* Formulieren */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.form-control { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 4px; background: var(--background-color); color: var(--text-color); box-sizing: border-box; }
.radio-group label, .checkbox-group label { margin-right: 1rem; font-weight: normal; }
.honeypot { display: none; }
#form-status { margin-bottom: 1rem; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background-color: var(--primary-color); color: white; border: none; border-radius: 4px; cursor: pointer; transition: background-color 0.2s; }
.btn-primary:hover { background-color: var(--primary-hover-color); }

[hidden] {
    display: none !important;
}

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--surface-color); color: var(--text-color); padding: 1rem 0; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 1200; transform: translateY(100%); transition: transform 0.3s ease; }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .container { display: flex; justify-content: space-between; align-items: center; }
.btn-accept { padding: 8px 16px; background: var(--primary-color); color: white; border: none; border-radius: 4px; cursor: pointer; }

/* --- TOEGEVOEGD: Styling voor inline tekstlinks --- */
/* <--- deze herbruikbare klasse zorgt voor een consistente link-stijl door de hele site. */

.inline-link {
    color: var(--primary-color);
    /* <--- gebruikt de primaire kleur van je site. */
    text-decoration: none;
    /* <--- haalt de standaard onderstreping weg. */
    font-weight: 500;
    /* <--- maakt de link iets dikker dan normale tekst. */
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.inline-link:hover,
.inline-link:focus {
    color: var(--primary-color-dark);
    /* <--- een iets donkerdere kleur bij hover. */
    text-decoration: underline;
    /* <--- voegt een onderstreping toe bij hover voor duidelijkheid. */
    text-decoration-color: var(--primary-color);
}