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

/* Ensure the [hidden] attribute always wins over display rules (e.g. .form-group) */
[hidden] { display: none !important; }

:root {
  /* Black & white theme. --orange kept as the variable name but now the
     near-black "accent" used on light backgrounds (prices, buttons, etc.) */
  --orange: #1a1a1a;
  --orange-dark: #000;
  --dark: #0a0a0a;
  --dark-2: #1c1c1c;
  --text: #1a1a1a;
  --text-light: #6b6b6b;
  --bg: #f4f4f4;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  text-decoration: none;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,93,4,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-nav {
  background: var(--orange);
  color: var(--white) !important;
  border-color: var(--orange);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
}
.btn-nav:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}
.btn-full { width: 100%; text-align: center; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #2b2b2b 100%);
  color: var(--white);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
}

.hero-text { flex: 1; }

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero-text p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
}
.badge-years {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.badge-label {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.3;
}

.hero-wave {
  position: relative;
  margin-top: 3rem;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ── USP STRIP ── */
.usp-strip {
  background: var(--bg);
  padding: 2.5rem 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.usp-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.usp-item strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}
.usp-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}

/* ── UITGELICHT CAROUSEL ── */
.carousel-section { padding: 4rem 0 1rem; background: var(--white); }
.carousel { position: relative; margin-top: 1.5rem; }
.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 auto;
  width: 230px;
  height: 330px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  background: #000;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.carousel-item img,
.carousel-item video,
.carousel-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}
.ci-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; background: #eceef1;
}
.ci-link {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-weight: 600;
}
.ci-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.9rem 0.8rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.ci-name { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.ci-price { font-weight: 900; }
.ci-badge {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  background: var(--dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  z-index: 2;
}
.ci-badge.sold { background: #2e7d32; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  border: 1px solid #ddd;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: background var(--transition), color var(--transition);
}
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }
.carousel-btn:hover { background: var(--dark); color: #fff; }
.carousel-empty { text-align: center; color: var(--text-light); padding: 2rem 0; }

/* ── DIENSTEN ── */
.diensten {
  padding: 5rem 0;
  background: var(--white);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.section-title.light { color: var(--white); }
.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.section-sub.light { color: rgba(255,255,255,0.75); }

.diensten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dienst-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}
.dienst-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #e8e8e8;
}

.dienst-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.dienst-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.dienst-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── OVER ONS ── */
.over-ons {
  background: var(--bg);
  padding: 5rem 0;
}

.over-ons-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.over-ons-text .section-title { margin-bottom: 1rem; }
.over-ons-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--dark);
}
.check-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.visual-card {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

/* ── CONTACT ── */
.contact {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 5rem 0;
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  margin-top: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.contact-item p, .contact-item a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.6;
}
.contact-item a:hover { color: var(--orange); }

/* ── FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
}

.form-notice {
  font-size: 0.9rem;
  min-height: 1.2rem;
  text-align: center;
}
.form-notice.success { color: #4caf50; }
.form-notice.error { color: #f44336; }

/* ── MAP ── */
.map-wrapper {
  position: relative;
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.map-iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
}
.map-route-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* ── LOGO IMAGE ── */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* ── FOOTER ── */
.footer {
  background: #111;
  padding: 2rem 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
}
.footer-logo span { color: var(--orange); }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--orange); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .diensten-grid { grid-template-columns: repeat(2, 1fr); }
  .over-ons-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 1.5rem;
    width: 100%;
  }
  .btn-nav {
    margin: 0.5rem 1.5rem;
    width: calc(100% - 3rem);
    text-align: center;
  }

  .hero { padding: 3rem 0 0; }
  .hero-inner { flex-direction: column; gap: 2rem; }
  .hero-badge { order: -1; }
  .badge-circle { width: 110px; height: 110px; }
  .badge-years { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }

  .usp-grid { grid-template-columns: 1fr; }
  .diensten-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════
   SUBPAGES (Producten & Socials)
   ════════════════════════════════════════════════════════════════ */

/* ── Page header ── */
.subpage-head {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  padding: 2.5rem 0 3rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.back-link:hover { color: var(--orange); }

.subpage { padding: 3rem 0 5rem; background: var(--bg); min-height: 50vh; }

.empty-state {
  text-align: center;
  color: var(--text-light);
  padding: 3rem 1rem;
  font-size: 1rem;
}

/* ── Admin-only visibility (toggled by login state) ── */
.admin-only { display: none; }
body.is-admin .admin-panel.admin-only { display: block; }
body.is-admin .item-delete.admin-only { display: flex; }
body.is-admin .nav-links a.admin-only { display: inline-block; }

/* ── Admin panel + form ── */
.admin-panel {
  background: var(--white);
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}
.admin-panel h2 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.admin-form { display: flex; flex-direction: column; gap: 1rem; }
.admin-form .form-group label { color: var(--text); }
.admin-form input,
.admin-form textarea,
.admin-form select {
  background: var(--bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  width: 100%;
}
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: var(--orange);
}
.admin-form .btn { align-self: flex-start; }

/* ── Delete button on items ── */
.item-delete {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(244,67,54,0.92);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.item-delete:hover { background: #d32f2f; }

/* ── Products grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.12); }
.product-media {
  aspect-ratio: 4 / 3;
  background: #eceef1;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; opacity: 0.3;
}
.product-body { padding: 1.2rem 1.3rem 1.5rem; }
.product-body h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 0.3rem; }
.product-price { color: var(--orange); font-weight: 900; font-size: 1.15rem; margin-bottom: 0.5rem; }
.product-desc { color: var(--text-light); font-size: 0.9rem; }

/* ── Socials cards ── */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.social-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.social-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.social-card.yt:hover { border-color: #FF0000; }
.social-card.tt:hover { border-color: #010101; }
.social-card.ig:hover { border-color: #d62976; }
.social-logo svg { width: 56px; height: 56px; display: block; }
.social-name { font-weight: 700; color: var(--dark); font-size: 1.05rem; }
.social-handle { color: var(--text-light); font-size: 0.95rem; }

/* ── Gallery ── */
.gallery-title { margin-top: 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
}
.gallery-media img,
.gallery-media video,
.gallery-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  display: block;
}
.gallery-link-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}
.gallery-item figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ── Admin button (in the footer bar) + login modal ── */
.beheer-btn {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.45rem 1.1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.beheer-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.beheer-btn.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

.admin-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.admin-modal.open { display: flex; }
.admin-modal-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.admin-modal-box h3 { color: var(--dark); margin-bottom: 1.2rem; }
.admin-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
}
.admin-login-form { display: flex; flex-direction: column; gap: 1rem; }
.admin-login-form .form-group label { color: var(--text); }
.admin-login-form input {
  background: var(--bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
}
.admin-login-form input:focus { outline: none; border-color: var(--orange); }
.admin-login-msg { font-size: 0.85rem; min-height: 1rem; }
.admin-login-msg.error { color: #f44336; }

/* ── Subpage responsive ── */
@media (max-width: 900px) {
  .product-grid,
  .socials-grid,
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .product-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .socials-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   BLACK & WHITE THEME – logo image + dark-background overrides
   ════════════════════════════════════════════════════════════════ */

/* Logo image (replaces the old text logo) */
.logo-img { height: 58px; width: auto; display: block; }
.footer-logo-img { height: 40px; width: auto; display: block; }

/* Navbar → black with white links */
.navbar { background: var(--dark); }
.nav-links a { color: rgba(255,255,255,0.85); }
.nav-links a:hover { color: var(--white); }
.nav-toggle span { background: var(--white); }
.btn-nav { background: var(--white); color: var(--dark) !important; border-color: var(--white); }
.btn-nav:hover { background: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.85); }

/* Neutral (non-coloured) button shadow */
.btn-primary:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.3); }

/* Primary buttons on dark sections → white on black */
.hero .btn-primary,
.contact .btn-primary,
.subpage-head .btn-primary {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.hero .btn-primary:hover,
.contact .btn-primary:hover,
.subpage-head .btn-primary:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.85);
  color: var(--dark);
}

/* Hero badge + stat numbers → white accents on dark */
.badge-circle { border-color: rgba(255,255,255,0.85); }
.badge-years { color: var(--white); }
.stat-num { color: var(--white); }
.stat-stars { color: #ffc107; }

/* Contact (dark) link + input focus → white */
.contact-item a:hover { color: var(--white); }
.contact .form-group input:focus,
.contact .form-group textarea:focus { border-color: var(--white); }

/* Back link hover on dark header */
.back-link:hover { color: var(--white); }

/* Footer → pure black; admin button active state stays visible */
.footer { background: #000; }
.beheer-btn.active { background: var(--white); border-color: var(--white); color: var(--dark); }

/* Delete buttons → black instead of red */
.item-delete { background: rgba(0,0,0,0.75); }
.item-delete:hover { background: #000; }

/* (Icons & social logos keep their colour for contrast against the B&W theme) */

/* Mobile nav dropdown → black */
@media (max-width: 680px) {
  .nav-links { background: var(--dark); }
}

/* ── Service multi-select (contact form, dark background) ── */
.service-select { position: relative; }
.service-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.service-toggle:hover { border-color: rgba(255,255,255,0.4); }
.service-select.open .service-toggle {
  border-color: var(--white);
  background: rgba(255,255,255,0.12);
}
.service-caret { transition: transform var(--transition); }
.service-select.open .service-caret { transform: rotate(180deg); }

.service-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.4rem;
  z-index: 20;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}
.service-select.open .service-menu { display: flex; }
.service-menu label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  cursor: pointer;
}
.service-menu label:hover { background: rgba(255,255,255,0.08); }
.service-menu input {
  width: 16px;
  height: 16px;
  accent-color: var(--white);
  cursor: pointer;
}

/* ── Clickable product cards ── */
.product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.product-media { position: relative; }
.photo-count {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.product-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Product detail page ── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1.5rem;
}
.detail-main {
  background: #eceef1;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.detail-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-main .product-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; opacity: 0.3;
}
.detail-thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; flex-wrap: wrap; }
.detail-thumb {
  width: 72px; height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color var(--transition);
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-thumb.active { border-color: var(--dark); }
.detail-info h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}
.detail-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.detail-desc { color: var(--text-light); line-height: 1.7; white-space: pre-wrap; }
.detail-desc-empty { font-style: italic; }

/* Back link on the product detail page sits on a light background → make it dark */
.subpage .back-link { color: var(--text); }
.subpage .back-link:hover { color: var(--text-light); }

@media (max-width: 780px) {
  .product-detail { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Buy button + reserved states */
.detail-buy { margin-top: 2rem; }
.btn-buy { padding: 0.85rem 2.5rem; font-size: 1.05rem; }
.reserved-badge {
  display: inline-block;
  background: #eceef1;
  color: var(--text-light);
  border: 1px solid #d8dbe0;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
}
.reserved-ribbon {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  z-index: 2;
}

/* Buy modal form (reuses .admin-modal overlay) */
.buy-intro { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.2rem; }
.buy-form { display: flex; flex-direction: column; gap: 1rem; }
.buy-form .form-group label { color: var(--text); }
.buy-form input {
  background: var(--bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
}
.buy-form input:focus { outline: none; border-color: var(--orange); }
.buy-success { text-align: center; padding: 1rem 0; }
.buy-success h3 { color: var(--dark); margin-bottom: 0.5rem; }
.buy-success p { color: var(--text-light); margin-bottom: 1.5rem; }
.buy-check {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #4caf50;
  color: #fff;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}
.admin-modal-box { max-height: 90vh; overflow-y: auto; }

/* Sold states */
.sold-ribbon { background: #2e7d32; }
.sold-badge { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }

/* Order cards in the dashboard */
.order-card { border-left-color: var(--dark) !important; }
.link-btn {
  background: none;
  border: none;
  color: var(--dark);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.link-btn:hover { color: var(--text-light); }

/* Opening hours (contact page renders newlines) */
#openingstijden { white-space: pre-line; }

/* Settings panel (dashboard) */
.settings-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin: 2rem 0;
}
.settings-panel .section-title { margin-top: 0; }
.settings-hint { color: var(--text-light); font-size: 0.85rem; margin-bottom: 0.8rem; }
#openingstijden-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  resize: vertical;
  margin-bottom: 0.8rem;
}
#openingstijden-input:focus { outline: none; border-color: var(--orange); }

/* Discount code – buy modal */
.discount-row { display: flex; gap: 0.5rem; }
.discount-row input { flex: 1; }
.discount-feedback { font-size: 0.85rem; margin-top: 0.4rem; min-height: 1rem; }
.discount-feedback.valid { color: #2e7d32; }
.discount-feedback.invalid { color: #c0392b; }

/* Discount codes – dashboard */
.discount-form .form-row { grid-template-columns: 1fr 1fr 1fr; }
.discount-form input,
.discount-form select {
  width: 100%;
  background: var(--bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
}
.discount-form input:focus,
.discount-form select:focus { outline: none; border-color: var(--orange); }
.discount-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.discount-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.discount-item:last-child { border-bottom: none; }
.discount-code-badge {
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.discount-val { font-weight: 600; color: var(--dark); font-size: 0.9rem; }
.discount-desc { color: var(--text-light); font-size: 0.85rem; }
.discount-item .discount-delete { margin-left: auto; }
.order-product {
  background: var(--dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* ════════════════════════════════════════════════════════════════
   BEHEER DASHBOARD
   ════════════════════════════════════════════════════════════════ */
.dash-requests-title { margin-top: 3rem; }

/* Stat cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat-card-num { font-size: 2rem; font-weight: 900; color: var(--dark); line-height: 1; }
.stat-card-label { font-size: 0.8rem; color: var(--text-light); }

/* Chart + top pages */
.stats-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}
.stats-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.5rem;
}
.stats-panel h3 { font-size: 0.95rem; color: var(--dark); margin-bottom: 1.2rem; }

.views-chart { display: flex; align-items: flex-end; gap: 4px; height: 170px; }
.bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}
.bar {
  width: 100%;
  max-width: 26px;
  background: var(--dark);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
}
.bar-val { font-size: 0.65rem; color: var(--text-light); }
.bar-day { font-size: 0.65rem; color: var(--text-light); }

.top-pages { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.top-pages li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  border-bottom: 1px solid #eee;
  padding-bottom: 0.4rem;
}
.top-pages li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-pages li strong { color: var(--dark); }

/* Requests */
.requests-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.request-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.5rem;
  border-left: 4px solid #999;
}
.request-card.status-nieuw { border-left-color: #999; }
.request-card.status-bezig { border-left-color: #ffc107; }
.request-card.status-afgerond { border-left-color: #4caf50; }

.request-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.request-who strong { color: var(--dark); font-size: 1.05rem; }
.request-date { color: var(--text-light); font-size: 0.8rem; margin-left: 0.5rem; }
.request-status {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
}
.request-contact { font-size: 0.9rem; margin-bottom: 0.6rem; }
.request-contact a { color: var(--dark); text-decoration: none; font-weight: 600; }
.request-contact a:hover { text-decoration: underline; }
.request-line { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.2rem; }
.request-line strong { color: var(--dark); }
.request-msg {
  background: var(--bg);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  margin: 0.6rem 0;
  font-size: 0.9rem;
  white-space: pre-wrap;
}
.request-notes { display: flex; flex-direction: column; gap: 0.4rem; }
.request-notes label { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.notes-input {
  background: var(--bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  resize: vertical;
}
.notes-input:focus { outline: none; border-color: var(--orange); }
.request-actions { display: flex; align-items: center; gap: 1rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.save-msg { font-size: 0.8rem; color: #4caf50; }
.request-delete {
  margin-left: auto;
  background: none;
  border: none;
  color: #c0392b;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

/* Trash bin */
.trash-section {
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: 0.5rem 1.3rem;
}
.trash-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--dark);
  padding: 0.7rem 0;
  font-size: 0.95rem;
}
.trash-section[open] summary { margin-bottom: 0.8rem; border-bottom: 1px solid #eee; }
.trash-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.trash-card:last-child { border-bottom: none; }
.trash-info strong { color: var(--dark); }
.trash-msg { font-size: 0.85rem; color: var(--text-light); margin-top: 0.2rem; }
.trash-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.trash-purge {
  background: none;
  border: none;
  color: #c0392b;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr; }
}

