/* =========================================
   1. VARIABELEN & KLEUREN
   ========================================= */
:root {
    /* --- Algemene Kleuren --- */
    --bg-body: #FFFFFF;
    --bg-surface: #F9FAFB;
    --bg-dark: #121417;
    --bg-dark-light: #1E2329;
    
    /* --- Header Specifiek --- */
    --header-bg: #1a1a1a;
    --header-text: #ffffff;
    
    /* --- Interactie --- */
    --cta-green: #28a745;
    --cta-green-hover: #218838;

    /* --- Tekst --- */
    --text-main: #17191C;
    --text-secondary: #737D8C;
    --text-on-dark: #FFFFFF;
    --text-muted-on-dark: #B0B8C4;
    
    /* --- Branding --- */
    --primary: #0DBD8B;
    --primary-dark: #0a9e74;
    --primary-glow: rgba(13, 189, 139, 0.35);
    
    /* --- Borders & Layout --- */
    --border-light: #E3E8EE;
    --border-dark: #2E343E;
    
    --font-stack: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --container-width: 1200px;
    --header-height: 80px;
}

/* =========================================
   2. RESET & GLOBAL
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-stack);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }
a { text-decoration: none; color: inherit; transition: 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   3. UTILITIES
   ========================================= */
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }

.mb-large { margin-bottom: 60px; }
.mb-small { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mt-15 { margin-top: 15px; }
.spacer-60 { height: 60px; }
.w-100 { width: 100%; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.5rem;
}

/* =========================================
   4. HEADER & NAVIGATIE (DESKTOP)
   ========================================= */
header {
    position: absolute; 
    top: 0; left: 0; width: 100%;
    background-color: transparent; 
    box-shadow: none;
    z-index: 999;
    padding: 1.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background-color: transparent;
}

/* Logo */
.logo-container {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.4rem;
}
.logo-img { height: 64px; width: auto; }

/* Links */
.nav-links {
    list-style: none;
    display: flex; gap: 30px;
    margin: 0; padding: 0;
}
.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500; font-size: 1.05rem;
    transition: all 0.3s ease;
}
.nav-links a:hover {
    color: var(--cta-green);
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.4);
}

/* Buttons */
.nav-actions { display: block; }
.btn-header-cta {
    background-color: var(--cta-green) !important;
    color: white !important;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-header-cta:hover {
    background-color: var(--cta-green-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
}

/* Hamburger (Mobiel) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}
.bar {
    width: 28px; height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}
/* Hamburger Animatie */
.navbar.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.navbar.active .bar:nth-child(2) { opacity: 0; }
.navbar.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================
   5. HERO SECTIE
   ========================================= */
.hero {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 60%);
    top: -400px; left: 50%; transform: translateX(-50%);
    pointer-events: none; z-index: 1;
}

.hero-glow-secondary {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(13, 189, 139, 0.15) 0%, rgba(0,0,0,0) 60%);
    bottom: -200px; right: -100px;
    pointer-events: none; z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

.hero h1 {
    font-size: 4rem; line-height: 1.1; margin-bottom: 24px;
    font-weight: 800; letter-spacing: -0.03em;
    color: #fff;
}
.hero p {
    font-size: 1.35rem; color: var(--text-muted-on-dark);
    margin-bottom: 48px; max-width: 640px; 
    margin-left: auto; margin-right: auto;
}

.hero-buttons { display: flex; justify-content: center; gap: 16px; }

.btn-primary {
    background-color: var(--primary); color: #fff; padding: 16px 36px;
    border-radius: 99px; font-weight: 600; font-size: 1.1rem; border: none; cursor: pointer;
}
.btn-primary:hover { box-shadow: 0 0 20px rgba(13, 189, 139, 0.5); transform: translateY(-1px); }

.btn-secondary {
    background-color: transparent; border: 1px solid rgba(255,255,255,0.25);
    color: #fff; padding: 16px 36px; border-radius: 99px;
    font-weight: 600; font-size: 1.1rem;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* Hero Image */
.hero-image-container {
    margin-top: 60px;
    background: transparent; border: none; box-shadow: none; border-radius: 12px;
    max-width: 1000px; margin-left: auto; margin-right: auto;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.feature-img, .hero-image-container img {
    border-radius: 24px;
    box-shadow: none;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    width: auto;
    max-height: 550px;
    margin: 0 auto;
}

/* =========================================
   6. ALGEMENE SECTIES & FEATURES
   ========================================= */
.section-white { background: var(--bg-body); padding: 100px 0; color: var(--text-main); }
.section-gray { background: var(--bg-surface); padding: 100px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

.feature-split .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-split.reversed .container { direction: rtl; } 
.feature-split.reversed .feature-content { direction: ltr; }

.feature-content h2 { font-size: 2.5rem; margin-bottom: 20px; font-weight: 800; letter-spacing: -0.02em; }
.feature-content p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 30px; }

.feature-img-wrapper {
    background: transparent; padding: 0;
    border-radius: 0; box-shadow: none; border: none;
    display: flex; justify-content: center;
}

/* =========================================
   7. TECH STACK (OUD & NIEUW)
   ========================================= */
/* A. Oude Grid Styling */
.tech-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
    margin-top: 3rem;
}
.tech-card {
    background: #fff; padding: 40px; border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}
.tech-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}
.tech-icon { font-size: 3.5rem; margin-bottom: 1.25rem; display: block; }
.tech-card h3 { margin-bottom: 10px; font-size: 1.5rem; font-weight: 700; color: #000; }
.tech-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* B. Nieuwe Redesign Tech Stack (2 Kolommen) */
.tech-redesign-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
    margin-top: 50px;
}
.tech-item {
    display: flex; gap: 20px; align-items: flex-start;
    height: 100%; 
}
.tech-icon-box {
    flex-shrink: 0; width: 60px; height: 60px;
    background: #fff; border: 1px solid var(--border-light); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    color: var(--primary);
}
.tech-icon-box svg { width: 28px; height: 28px; stroke-width: 2; }
.tech-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; color: var(--text-main); }
.tech-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }

/* =========================================
   8. USE CASES
   ========================================= */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.use-case-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}
.use-case-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--bg-surface);
    transition: background 0.3s ease;
}
.use-case-card:hover::before { background: var(--primary); }
.use-case-icon {
    width: 50px; height: 50px;
    background: rgba(13, 189, 139, 0.1); color: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 1.5rem;
}
.use-case-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.use-case-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.use-case-list { margin-top: 20px; list-style: none; padding: 0; }
.use-case-list li {
    position: relative; padding-left: 24px;
    margin-bottom: 10px; color: var(--text-secondary); font-size: 0.95rem;
}
.use-case-list li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--primary); font-weight: bold;
}

/* =========================================
   9. GUIDES, TUTORIALS & FAQ
   ========================================= */

/* A. Stappen Layout (Split) */
.step-split-layout {
    display: grid;
    grid-template-columns: 1fr 350px; 
    gap: 40px;
    align-items: center; 
}
.step-text-col { min-width: 0; }
.step-image-col {
    display: flex; flex-direction: column;
    gap: 15px; justify-content: center; align-items: center;
}
.img-row-group {
    display: flex; gap: 12px; width: 100%; justify-content: center;
}
.img-row-group .tutorial-img {
    flex: 1; width: 0; min-width: 0;
    max-width: 100%; height: auto; object-fit: contain;
}
.tutorial-img {
    display: block; max-width: 100%; max-height: 500px; width: auto; margin: 0 auto;
    border-radius: 12px; object-fit: contain;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}
.tutorial-img:hover { transform: scale(1.02); }

/* B. Guide Steps (Genummerd) */
.guide-step {
    display: flex; gap: 24px; margin-bottom: 40px; position: relative;
}
.guide-step:not(:last-child)::after {
    content: ''; position: absolute;
    left: 20px; top: 50px; bottom: -30px;
    width: 2px; background: var(--border-light); z-index: 0;
}
.step-number {
    flex-shrink: 0; width: 40px; height: 40px;
    background: var(--primary); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
    z-index: 1; box-shadow: 0 0 0 4px #fff;
}
.step-content {
    flex: 1; background: #fff; padding: 24px;
    border-radius: 12px; border: 1px solid var(--border-light);
}
.step-content h2 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--text-main); }
.step-content p { color: var(--text-secondary); margin-bottom: 1rem; }
.alert-box {
    background: #FFF4E5; border-left: 4px solid #FF9800;
    padding: 1rem; border-radius: 4px;
    color: #663C00; margin-top: 1rem; font-size: 0.95rem;
}

/* C. FAQ Accordion */
.faq-item {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: 12px; margin-bottom: 16px;
    overflow: hidden; transition: all 0.2s ease;
}
.faq-item[open] { box-shadow: 0 4px 12px rgba(0,0,0,0.05); border-color: var(--primary); }
.faq-summary {
    padding: 20px; font-weight: 700; font-size: 1.1rem;
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-main);
}
.faq-summary::-webkit-details-marker { display: none; }
.icon-plus {
    font-size: 1.5rem; color: var(--primary);
    font-weight: 300; transition: transform 0.2s ease;
}
.faq-item[open] .icon-plus { transform: rotate(45deg); }
.faq-content {
    padding: 0 20px 24px 20px; border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
}
.faq-content p { margin-bottom: 1rem; }
.faq-content ol, .faq-content ul { margin-left: 1.5rem; margin-bottom: 1.5rem; }
.faq-image-container {
    margin-top: 1rem; background: var(--bg-surface);
    padding: 1rem; border-radius: 8px; text-align: center;
}
.img-caption { display: block; font-size: 0.85rem; color: var(--text-secondary); font-style: italic; }

/* =========================================
   10. CONTACT & LEGAL
   ========================================= */
.page-header {
    background-color: var(--bg-dark); color: var(--text-on-dark);
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px; text-align: center;
    position: relative; overflow: hidden;
}
.page-header h1 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; color: #fff; }
.page-header p { font-size: 1.2rem; color: var(--text-muted-on-dark); max-width: 600px; margin: 0 auto; }

.content-body { padding: 80px 0; background: var(--bg-body); }

.legal-text h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.6rem; color: var(--text-main); font-weight: 700; }
.legal-text p { margin-bottom: 16px; color: var(--text-secondary); font-size: 1.05rem; }
.legal-text ul { margin-bottom: 24px; padding-left: 20px; list-style: disc; color: var(--text-secondary); }
.legal-text li { margin-bottom: 8px; }
.legal-link { color: var(--primary); font-weight: 600; }

.contact-card {
    background: #fff; border: 1px solid var(--border-light); border-radius: 24px;
    padding: 60px; text-align: center; max-width: 600px; margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.contact-icon { font-size: 3rem; display: block; margin-bottom: 20px; }
.contact-icon img {
    width: 6rem;       /* Vervangt font-size */
    height: auto;      /* Behoudt verhoudingen */
    display: block;    
    margin: 0 auto 20px auto; /* Centreert de img en geeft margin onder */
}
.contact-email-link { 
    font-size: 1.3rem; font-weight: 700; color: var(--primary); 
    margin: 16px 0; display: block; 
}
.matrix-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.matrix-label { margin-bottom: 12px; display: block; }
.matrix-code {
    background: #F3F4F6; padding: 8px 12px; border-radius: 6px;
    font-family: monospace; color: var(--text-main); border: 1px solid #E5E7EB;
}

/* =========================================
   11. FOOTER
   ========================================= */
footer {
    background-color: var(--bg-dark);
    color: var(--text-muted-on-dark);
    font-size: 0.95rem;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}
footer .logo-text { color: #fff; }

.footer-cta {
    padding: 80px 0; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: radial-gradient(circle at center, rgba(13, 189, 139, 0.05) 0%, transparent 60%);
}
.footer-cta h2 { color: #fff; font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.footer-cta p { font-size: 1.2rem; color: var(--text-muted-on-dark); margin-bottom: 30px; }

.footer-links-container { padding: 60px 0 30px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 24px; font-size: 1rem; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul li a:hover { color: var(--primary); text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px;
    display: flex; justify-content: space-between; align-items: center; opacity: 0.6;
}

/* =========================================
   12. RESPONSIVE (MEDIA QUERIES)
   ========================================= */

/* --- TABLET, IPAD & LAPTOPS (< 1200px) --- */
@media (max-width: 1200px) {
    /* Header: Transparant & Zwevend */
    header {
        position: absolute; top: 0; left: 0; width: 100%;
        background-color: transparent; 
        padding: 10px 0;
        transition: background-color 0.3s ease;
    }
    .navbar {
        padding: 0 1.2rem;
        background-color: transparent; 
        transition: background-color 0.3s ease;
    }

    /* Hamburger tonen, Links verbergen */
    .hamburger { display: flex; z-index: 1002; margin-top: 5px; }
    .nav-links, .nav-actions { display: none; }

    /* Open Menu State */
    .navbar.active {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column; justify-content: flex-start;
        padding-top: 20px; overflow-y: auto;
    }
    .navbar.active .logo-container { align-self: flex-start; margin-left: 0; margin-bottom: 40px; }
    .navbar.active .hamburger { position: absolute; right: 1.2rem; top: 25px; }
    
    /* Links in open menu */
    .navbar.active .nav-links {
        display: flex; flex-direction: column; width: 100%; gap: 0;
    }
    .navbar.active .nav-links li { width: 100%; text-align: center; }
    .navbar.active .nav-links a {
        display: block; padding: 12px 0;
        font-size: 1.1rem; color: var(--text-on-dark);
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }
    .navbar.active .nav-links a:hover {
        color: var(--primary); background-color: rgba(255,255,255,0.02);
    }

    /* Knop in open menu */
    .navbar.active .nav-actions {
        display: flex; justify-content: center; width: 100%;
        margin-top: 30px; padding-bottom: 50px;
    }
    .navbar.active .btn-header-cta {
        width: auto; min-width: 200px;
        text-align: center; padding: 12px 24px; font-size: 1rem;
    }

    /* Hero Fixes */
    .hero { padding-top: 140px; }
    .hero-buttons { flex-direction: column; gap: 15px; padding: 0 20px; }
    .hero h1 { font-size: 3rem; padding: 0 10px; }
    .hero-image-container img, .feature-img { max-height: 450px; margin: 0 auto; }

    /* Tech Stack Tablet */
    .tech-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 24px; }
    .tech-card { padding: 30px; display: flex; flex-direction: column; justify-content: flex-start; }

    /* Footer Fix */
    .footer-grid { gap: 30px; padding-left: 10px; padding-right: 10px; }
}

/* --- TUSSENMAAT (< 900px) --- */
@media (max-width: 900px) {
    .step-split-layout {
        grid-template-columns: 1fr; /* Alles onder elkaar */
        gap: 30px; text-align: left;
    }
    .step-image-col, .img-row-group {
        width: 100%; max-width: 350px; margin: 0 auto;
    }
}

/* --- MOBIEL (< 768px) --- */
@media (max-width: 768px) {
    /* Hero */
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 12px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 14px 20px; }
    .hero-image-container img, .feature-img { max-height: 350px; }

    /* Features stapelen */
    .feature-split .container,
    .feature-split.reversed .container {
        display: flex; flex-direction: column;
        gap: 40px; text-align: center;
    }
    .feature-split.reversed .feature-content { direction: ltr; }

    /* Tech Stack (Oud) */
    .tech-grid { grid-template-columns: 1fr; }
    .tech-card { text-align: center; align-items: center; }
    .tech-icon { margin: 0 auto 1rem auto; }
    
    /* Tech Stack (Redesign) */
    .tech-redesign-container { grid-template-columns: 1fr; gap: 30px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-col .logo-container { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* =========================================
   13. DISCOVERY / PUBLIEKE KAMERS (PAGE SPECIFIC)
   ========================================= */

/* Zoekbalk Sectie */
.search-container {
    max-width: 600px;
    margin: -30px auto 40px auto;
    position: relative;
    z-index: 10;
}

.room-search-input {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    border: 1px solid var(--border-light);
    border-radius: 99px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    outline: none;
    transition: all 0.2s ease;
}

.room-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(13, 189, 139, 0.2);
}

/* Grid Layout */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    min-height: 400px; /* Voorkomt verspringen bij laden */
}

/* Room Card */
.room-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

/* Card Header */
.room-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

/* De letter-avatar */
.room-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(13, 189, 139, 0.1); /* Lichte primary kleur */
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0;
    text-transform: uppercase;
}

.room-title h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
    word-break: break-word;
    line-height: 1.3;
}

.room-alias {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: monospace;
    display: block;
    margin-top: 4px;
}

/* Card Body */
.room-topic {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1; 
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* Card Footer */
.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    margin-top: auto;
}

.member-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-join {
    background-color: var(--bg-surface);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-join:hover {
    background-color: var(--primary);
    color: #fff;
}

/* --- PAGINATIE STYLING --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-btn {
    background: #fff;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    user-select: none;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-surface);
}

.page-nav-btn {
    width: auto;
    padding: 0 16px;
    border-radius: 99px;
}

/* Loading & Error States */
#loading-state, #error-state {
    text-align: center;
    padding: 60px;
    color: var(--text-secondary);
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px; height: 40px;
    border-radius: 50%;
    border-left-color: var(--primary);
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }


/* Stijl voor de Discovery knop op de contactpagina */
.btn-discovery {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 20px;
    background-color: #fff;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    border-radius: 99px; /* Pil-vorm */
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.btn-discovery:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.btn-discovery .icon {
    font-size: 1.1rem;
}

/* =========================================
   14. STICKER MANAGER / UTILS ADDITIONS
   ========================================= */

/* Helper classes */
.hidden { display: none !important; }

/* Rode gevaar knop */
.btn-danger {
    background-color: #ef4444;
    color: #fff;
    padding: 16px 36px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-danger:hover {
    background-color: #dc2626;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

/* Layout voor de knoppen */
.sticker-actions {
    max-width: 320px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
}

/* Status variants */
.alert-box.success {
    background: #d1fae5;
    border-left-color: #10b981;
    color: #065f46;
}

.alert-box.error {
    background: #fee2e2;
    border-left-color: #ef4444;
    color: #991b1b;
}

/* Screenshot styling */
.shadow-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* =========================================
   15. EXTRA UTILITIES
   ========================================= */

/* Extra ruimte maker */
.spacer-100 {
    height: 100px;
    width: 100%;
    display: block;
}

/* Zorgt dat de scroll netjes stopt met wat ruimte erboven (ivm header) */
#instructions {
    scroll-margin-top: 120px; 
}

/* Highlight effect voor actieve FAQ items */
@keyframes highlight-fade {
    0% { background-color: rgba(13, 189, 139, 0.2); border-color: var(--primary); }
    100% { background-color: #fff; border-color: var(--border-light); }
}

.faq-item.target-highlight {
    animation: highlight-fade 2s ease-out forwards;
    box-shadow: 0 0 15px rgba(13, 189, 139, 0.15);
    border-color: var(--primary);
}

/* =========================================
   16. INTERACTIVE GUIDE SLIDER
   ========================================= */

/* Container Controls */
.guide-controls-container {
    max-width: 600px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Toggle Switch Styling */
.view-switcher {
    background: #F3F4F6;
    padding: 4px;
    border-radius: 99px;
    display: inline-flex;
    position: relative;
    border: 1px solid var(--border-light);
}

.switch-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.switch-btn.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.switch-btn svg {
    width: 16px; height: 16px;
}

/* Navigatie Controls (Prev/Next) */
.slide-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.slide-nav.hidden {
    display: none;
}

.nav-circle-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: #fff;
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}

.nav-circle-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

.nav-circle-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #eee;
}

/* Progress Bar */
.progress-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.progress-bar-bg {
    width: 150px;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* =========================================
   16. INTERACTIVE GUIDE SLIDER (UPDATE)
   ========================================= */

.guide-controls-container {
    max-width: 600px;
    margin: 0 auto 20px auto;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}

/* --- Navigatie Balk Verbetering --- */
.slide-nav {
    display: flex;
    align-items: center;
    /* Gebruik de volledige breedte en centreer verticaal */
    justify-content: space-between; 
    gap: 15px; 
    width: 100%; 
    max-width: 450px; /* Iets breder voor ademruimte */
    position: relative;
}

.slide-nav.hidden { display: none; }

/* Dit lost het centreer-probleem op: 
   De tekstbox pakt nu alle beschikbare ruimte (flex-grow) 
   en centreert de tekst daarbinnen. */
.progress-info {
    flex-grow: 1; 
    text-align: center;
    display: flex; 
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Standaard ronde knop */
.nav-circle-btn {
    flex-shrink: 0; /* Voorkom dat knop geplet wordt */
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: #fff;
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}

.nav-circle-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
}

.nav-circle-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #eee;
}

/* NIEUW: Pil-vorm voor de 'Klaar' knop */
.nav-circle-btn.btn-pill {
    width: auto;             /* Breedte past zich aan aan tekst */
    padding: 0 24px;         /* Ruimte links en rechts */
    border-radius: 99px;     /* Pil vorm */
    background-color: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 12px rgba(13, 189, 139, 0.3);
}

.nav-circle-btn.btn-pill:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 189, 139, 0.4);
}

.part-badge {
    display: block;
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--primary);
    background: rgba(13, 189, 139, 0.1);
    padding: 4px 12px; border-radius: 99px;
}

.progress-indicator { font-family: monospace; font-size: 1.1rem; color: var(--text-main); }

/* Progress bar apart */
#slide-progress-container { width: 100%; max-width: 400px; }
#slide-progress-container.hidden { display: none; }

/* --- HET BELANGRIJKSTE DEEL --- */

/* In Slider Modus: Verberg de koppen 'Deel 1' en 'Deel 2' */
.guide-container.view-slider .list-header-group {
    display: none;
}

/* In Lijst Modus: Toon ze gewoon */
.guide-container.view-list .list-header-group {
    display: block;
}

/* Slider logica behouden */
.guide-container.view-slider .guide-step { display: none; animation: fadeSlideIn 0.4s ease forwards; }
.guide-container.view-slider .guide-step.active-step { display: flex; }
.guide-container.view-slider .guide-step::after { display: none; } /* Verberg lijn */

/* --- Avatar Styling (vervangt inline JS styles) --- */

.room-avatar-wrapper {
    width: 56px;           /* Zelfde grootte als .room-avatar-placeholder */
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;      /* Zorgt dat img niet buiten de cirkel komt */
    background-color: var(--bg-surface); /* Nette achtergrond tijdens laden */
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Cruciaal: vult de cirkel zonder vervorming */
    display: block;
}

/* Zorg dat de placeholder en wrapper exact dezelfde afmetingen hebben */
.room-avatar-placeholder {
    width: 56px;
    height: 56px;
    /* De rest van de placeholder styles stonden al in je CSS, dus die blijven werken */
}

        /* Specifieke styling voor Markdown content */
        .markdown-content { font-size: 1.1rem; color: var(--text-main); line-height: 1.8; }
        .markdown-content h1, .markdown-content h2, .markdown-content h3 { margin-top: 2rem; margin-bottom: 1rem; color: #111; font-weight: 700; }
        .markdown-content h1 { font-size: 2.2rem; border-bottom: 1px solid var(--border-light); padding-bottom: 10px; }
        .markdown-content h2 { font-size: 1.8rem; }
        .markdown-content p { margin-bottom: 1.5rem; }
        .markdown-content ul, .markdown-content ol { margin-bottom: 1.5rem; padding-left: 2rem; }
        .markdown-content li { margin-bottom: 0.5rem; }
        .markdown-content a { color: var(--primary); text-decoration: underline; }
        .markdown-content code { background: var(--bg-surface); padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 0.9em; border: 1px solid var(--border-light); }
        .markdown-content pre { background: var(--bg-dark); color: #fff; padding: 20px; border-radius: 8px; overflow-x: auto; margin-bottom: 20px; }
        .markdown-content pre code { background: transparent; color: inherit; border: none; padding: 0; }
        .markdown-content blockquote { border-left: 4px solid var(--primary); padding-left: 20px; margin: 20px 0; font-style: italic; color: var(--text-secondary); background: var(--bg-surface); padding: 15px 20px; border-radius: 0 8px 8px 0; }
        .markdown-content img { border-radius: 12px; margin: 20px 0; max-width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        
        .meta-header { margin-bottom: 40px; border-bottom: 1px solid var(--border-light); padding-bottom: 20px; }
        .meta-date { color: var(--text-secondary); font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
		
.markdown-content video {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    display: block;
    background: #000; /* Zwarte achtergrond tijdens laden */
}