/* ============================================================
   Dark Theme — Handelsonderneming Bjarne Christenhusz
   ============================================================ */

/* Base */
html, body {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
}

.container {
    background-color: #121212;
}

/* ── Top contact bar ─────────────────────────────────────── */
ul.nav {
    background-color: #1a1a1a !important;
    background-image: none !important;
    border-bottom: 1px solid #2a2a2a;
}

ul.nav .nav-link {
    color: #b0b0b0 !important;
}

ul.nav .nav-link:hover {
    color: #b0b0b0 !important;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    /* background-color: #1e1e1e !important; 
    border-bottom: 1px solid #2a2a2a; */
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-brand {
    color: #d0d0d0 !important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #4caf50 !important;
}

/* Hamburger icon on mobile */
.navbar-light .navbar-toggler {
    border-color: #444 !important;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28200,200,200,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Marktplaats button in navbar */
.btn-outline-success {
    color: #4caf50 !important;
    border-color: #4caf50 !important;
}

.btn-outline-success:hover {
    background-color: #4caf50 !important;
    color: #fff !important;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
    background-color: #1e1e1e !important;
    border-color: #2e2e2e !important;
    color: #d0d0d0 !important;
}

.card-header {
    background-color: #252525 !important;
    border-bottom-color: #333 !important;
    color: #d0d0d0 !important;
}

.card-body {
    background-color: #1e1e1e !important;
    color: #c8c8c8 !important;
}

.card-title.text-success {
    color: #66bb6a !important;
}

/* ── Jumbotron ───────────────────────────────────────────── */
.jumbotron {
    /* The background-image is set inline per page — we just darken the overlay */
    position: relative;
}

.jumbotron::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

/* ── Text utilities ──────────────────────────────────────── */
.text-muted {
    color: #888 !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #e0e0e0;
}

p, li, span, td, th {
    color: #c8c8c8;
}

a {
    color: #66bb6a;
}

a:hover {
    color: #a5d6a7;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-success {
    background-color: #2e7d32 !important;
    border-color: #2e7d32 !important;
    color: #fff !important;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #388e3c !important;
    border-color: #388e3c !important;
}

/* ── Map iframe border ───────────────────────────────────── */
#gmap_canvas {
    filter: invert(90%) hue-rotate(180deg);
    border: 1px solid #333;
}

/* ── Collapsed navbar (mobile) ───────────────────────────── */
.navbar-collapse {
   /* background-color: #1e1e1e; */
}

/* ── Modal (projecten lightbox) ──────────────────────────── */
.modal {
    background-color: rgba(0, 0, 0, 0.92) !important;
}

.modal-content {
    background-color: #1e1e1e !important;
}

/* ── Scrollbar (cosmetic, webkit) ────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4caf50;
}

/* ── Row / container background fixes ───────────────────── */
.row {
    background-color: transparent !important;
}
