/* =============================================================
   Bouw-Nederland â€“ Custom CSS
   Industrieel, zwart, vette koppen, video-hero, schuine lagen
   ============================================================= */

/* ---- Google Fonts ---- */
body { font-family: 'Inter', system-ui, sans-serif; }
h1, h2, h3, h4, .font-heading { font-family: 'Montserrat', system-ui, sans-serif; }

/* ---- Kleurvariabelen ---- */
:root {
    --color-primary:   #a14b05;
    --color-primary-d: #6a9903;
    --color-secondary: #1d7eae;
    --color-dark:      #454a4c;
    --color-dark2:     #454a4c;
    --color-panel:     #454a4c;
}

/* =============================================================
   BODY â€“ zwart als basis
   ============================================================= */
body {
    background: #454a4c;
    color: #ffffff;
}

/* =============================================================
   VIDEO-HERO
   ============================================================= */
.hero-video-wrap {
    position: relative;
    width: 100%;
    min-height: 72vh;
    overflow: hidden;
    display: flex;
    background: #454a4c;
}
/* Video vult de linkerkant (~65%) */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Donkere overlay zodat tekst leesbaar is */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.55) 50%,
        rgba(0,0,0,0.92) 65%,
        #454a4c 80%
    );
}

/* Diagonale scheidingslijn rechts (split-effect) */
.hero-split-line {
    position: absolute;
    top: 0;
    right: 32%;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-primary) 30%, var(--color-primary) 70%, transparent);
    clip-path: polygon(0 0, 100% 2%, 100% 98%, 0 100%);
    pointer-events: none;
}

/* =============================================================
   NAVIGATIE
   ============================================================= */
#site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
#site-header.is-scrolled {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

/* Nav height en menu font-size */
#site-header nav {
    height: 6rem;
}
#site-header nav a {
    font-size: 1rem;
}

/* Topbar */
.topbar {
    background: #476a86;
    border-bottom: 1px solid #007a8e;
    font-size: 12px;
    padding: 7px 0;
    color: #FFFFFF;
}
.topbar a { color: #FFFFFF; transition: color 0.2s; }
.topbar a:hover { color: #a14b05; }

/* =============================================================
   VETTE H1-STIJL  (Uppercase, condensed, breed)
   ============================================================= */
.hero-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -0.02em;
}
.hero-title span.accent {
    color: var(--color-primary);
    display: block;
}

/* Gele lijn-accent onder sectietitels */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    padding-bottom: 6px;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 1.25rem;
}
/* Blauwe variant */
.section-label-blue {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
    padding-bottom: 6px;
    border-bottom: 2px solid var(--color-secondary);
    margin-bottom: 1.25rem;
}

/* =============================================================
   OFFERTE-PANEEL (rechts in hero)
   ============================================================= */
.offerte-panel {
    background: #fff8f2;
    border-left: 3px solid var(--color-primary);
    position: relative;
}
.offerte-panel::before {
    content: '';
    position: absolute;
    top: 0; left: -3px; bottom: 0;
    width: 3px;
    background: var(--color-primary);
    box-shadow: 0 0 18px rgba(132,191,4,0.6);
}

/* =============================================================
   CUSTOM RANGE SLIDERS
   ============================================================= */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 9999px;
    background: #d1d5db;
    outline: none;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: grab;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(132,191,4,0.5);
    transition: transform 0.15s, box-shadow 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.2);
    cursor: grabbing;
}
input[type="range"]::-moz-range-thumb {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: grab;
    border: 3px solid #fff;
}
input[type="range"]::-moz-range-track {
    height: 4px; border-radius: 9999px; background: #d1d5db;
}
input[type="range"]::-moz-range-progress {
    height: 4px; border-radius: 9999px; background: var(--color-primary);
}

/* =============================================================
   WIZARD
   ============================================================= */
.wizard-step { display: none; animation: fadeSlideIn 0.3s ease; }
.wizard-step.active { display: block; }
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Project-kaartjes in wizard */
.project-card {
    cursor: pointer;
    user-select: none;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.project-card:hover { border-color: #d1d5db; background: #f9fafb; transform: translateY(-2px); }
.project-card.selected { border-color: var(--color-primary) !important; background: rgba(132,191,4,0.08);}
.project-card.selected .card-icon { background: var(--color-primary); color: #111; }

/* Progress-bollen */
.step-dot { transition: background-color 0.3s, transform 0.3s; }
.step-dot.done   { background: var(--color-primary); transform: scale(1.1); }
.step-dot.active { background: var(--color-secondary); }

/* Succes-scherm */
.success-screen { display: none; animation: zoomIn 0.4s ease; }
.success-screen.active { display: block; }
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* =============================================================
   DIENSTEN  â€“  zwarte kaarten met gele onderkant-lijn
   ============================================================= */
.dienst-card {
    background: #454a4c;
    border: 1px solid #5a5f61;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.dienst-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.dienst-card:hover { transform: translateY(-5px); border-color: #6a6f71; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.dienst-card:hover::after { transform: scaleX(1); }

/* Dienstkaart â€“ pijl-icoon */
.card-arrow {
    min-height: 40px;
    width: auto;
    padding: 0 14px;
    border: 1px solid #6a6f71;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.dienst-card:hover .card-arrow {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translate(2px, -2px);
}

/* =============================================================
   STATISTIEKEN
   ============================================================= */
.stat-number {
    color: var(--color-primary);
    font-family: 'Montserrat', sans-serif;
}

/* =============================================================
   WERKWIJZE  â€“  genummerde stappen op zwart
   ============================================================= */
.stap-card {
    border-top: 2px solid #5a5f61;
    transition: border-color 0.2s;
    padding-top: 1.5rem;
}
.stap-card:hover { border-color: var(--color-primary); }
.stap-nr {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    color: rgba(255,255,255,0.06);
    user-select: none;
}

/* =============================================================
   GETUIGENISSEN
   ============================================================= */
.testimonial-card {
    background: #454a4c;
    border: 1px solid #5a5f61;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -8px; left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: white;
    opacity: 0.2;
    font-family: Georgia, serif;
    pointer-events: none;
}

/* =============================================================
   FORMULIER-INPUTS  (donker)
   ============================================================= */
.form-input {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #111;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder { color: #9ca3af; }
.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(132,191,4,0.15);
    outline: none;
}
.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239,68,68,0.2);
}

/* Fix: Ensure all inputs, textareas, and selects have readable dark text */
input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="date"],
input[type="time"],
textarea,
select {
    background-color: #ffffff;
    border: 1px solid #9ca3af;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    color: #111 !important;
}

input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(161, 75, 5, 0.16);
    outline: none;
}

input::placeholder,
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder {
    color: #6b7280 !important;
    opacity: 1;
}

body.bg-gray-50 main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.bg-gray-50 main textarea,
body.bg-gray-50 main select {
    border-color: #94a3b8 !important;
    border-width: 1px;
    background-color: #ffffff !important;
}

body.bg-gray-50 main .border-gray-100,
body.bg-gray-50 main .border-gray-200,
body.bg-gray-50 main .border-gray-300 {
    border-color: #cbd5e1 !important;
}

body.bg-gray-50 main .bg-gray-50 {
    background-color: #f8fafc !important;
}

/* Fix: Ensure modal/form labels have dark text */
#addPartnerModal label,
#addPartnerModal label span {
    color: #111 !important;
}

/* =============================================================
   KNOPPEN
   ============================================================= */
.btn-primary {
    background: var(--color-primary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--color-primary-d); }
.btn-primary::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.12);
    transform: translateX(-110%) skewX(-15deg);
    transition: transform 0.4s ease;
}
.btn-primary:hover::after { transform: translateX(110%) skewX(-15deg); }

.btn-green {
    background: var(--color-primary-d);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
    transition: background 0.2s, transform 0.15s;
}
.btn-green:hover { background: #568a00; }
.btn-green::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.12);
    transform: translateX(-110%) skewX(-15deg);
    transition: transform 0.4s ease;
}
.btn-green:hover::after { transform: translateX(110%) skewX(-15deg); }

.btn-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* =============================================================
   RIBBON
   ============================================================= */
.ribbon {
    position: absolute;
    top: 14px; right: -24px;
    background: var(--color-primary);
    color: #111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 30px;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* =============================================================
   DIENSTEN-LIJSTITEMS (Horizontale list)
   ============================================================= */
.dienst-listitem {
    border-bottom: 1px solid #5a5f61;
    transition: background 0.18s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}
.dienst-listitem:first-child { border-top: 1px solid #5a5f61; }
.dienst-listitem:hover { background: #454a4c; }
.dienst-listitem:hover .dienst-arrow { color: var(--color-primary); transform: translate(3px,-3px); }
.dienst-arrow { transition: transform 0.2s, color 0.2s; }

/* =============================================================
   ALGEMEEN
   ============================================================= */
html { scroll-behavior: smooth; }

*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Smooth animatie voor elementen die in beeld komen */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .hero-video-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
    }
}

/* =============================================================
   LIGHT SECTIONS  â€“  lichte variant voor afwisseling
   ============================================================= */
.section-light .dienst-card {
    background: #ffffff;
    border-color: #e5e7eb;
}
.section-light .dienst-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.section-light .card-arrow {
    border-color: #e5e7eb;
    background: #8BC34A;
    color: #000000;
}
.section-light .card-arrow svg {
    color: currentColor;
}
.section-light .dienst-card:hover .card-arrow {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}
.section-light .dienst-card:hover .card-arrow svg {
    color: currentColor;
}
.section-light .dienst-listitem {
    border-bottom-color: #e5e7eb;
    color: #111111;
}
.section-light .dienst-listitem:first-child {
    border-top-color: #e5e7eb;
}
.section-light .dienst-listitem:hover {
    background: #f9fafb;
}
.section-light .stap-card {
    border-top-color: #e5e7eb;
}
.section-light .stap-nr {
    color: rgba(0,0,0,0.07);
}
.section-light .dienst-arrow {
    color: #d1d5db;
}
.section-light .dienst-listitem:hover .dienst-arrow {
    color: var(--color-primary);
}

/* Bounce scroll-indicator in hero */
.hero-scroll-down {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255,255,255,0.8);
    animation: hero-bounce 2s infinite;
    transition: color 0.2s;
}
.hero-scroll-down:hover {
    color: #fff;
}
@keyframes hero-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

