/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:  #2a4f1e;
  --green-mid:   #3d7a2a;
  --green-light: #6aab4e;
  --green-pale:  #eef5ea;
  --brown:       #8b6914;
  --text-dark:   #1a1a1a;
  --text-mid:    #444;
  --text-light:  #777;
  --white:       #ffffff;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --radius:      12px;
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }
.section-intro {
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

section { padding: 64px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-mid);
  border-color: var(--green-mid);
}
.btn-outline-green:hover {
  background: var(--green-mid);
  color: var(--white);
}

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition);
}

#navbar.scrolled .nav-inner { height: 64px; }

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition);
}

.nav-links {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.nav-links.open {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--green-dark);
  padding: 100px 32px 32px;
  gap: 24px;
  z-index: 999;
}

.nav-links.open a { font-size: 1.3rem; color: white !important; }

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  letter-spacing: 0.5px;
}

.nav-links a:hover { color: var(--white); }

#navbar.scrolled .nav-links a { color: var(--text-mid); }
#navbar.scrolled .nav-links a:hover { color: var(--green-mid); }

.nav-cta { margin-left: 16px; }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

#navbar.scrolled .nav-toggle span { background: var(--text-dark); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3612 0%, #2a5020 40%, #3d7a2a 100%);
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,45,12,0.8) 0%, rgba(20,45,12,0.3) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge span { color: var(--green-light); font-size: 1rem; }

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--green-light);
}

.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-actions .btn { width: 100%; justify-content: center; }

.hero-stats {
  display: flex;
  gap: 24px;
}

.hero-stat-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT ===== */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 340px;
}

.about-img-main {
  width: 85%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: absolute;
  top: 0; left: 0;
}

.about-img-secondary {
  width: 60%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: absolute;
  bottom: 0; right: 0;
  border: 5px solid var(--white);
}

.about-badge-box {
  display: none;
  position: absolute;
  top: 40px; right: 0;
  background: var(--green-mid);
  color: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge-txt {
  font-size: 0.75rem;
  opacity: 0.85;
}

.about-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 36px;
}

.about-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.about-check::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00c";
  width: 24px;
  height: 24px;
  background: var(--green-pale);
  color: var(--green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
#diensten {
  background: var(--green-pale);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--green-pale);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--green-mid);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
}

.service-card p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== PORTFOLIO ===== */
#portfolio {
  background: var(--white);
}

.portfolio-filter { display: none; }
.filter-btn { display: none; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ── Carousel ── */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
  flex: 1;
}

.carousel-track .gallery-item {
  flex: 0 0 calc(33.333% - 11px);
  aspect-ratio: 4/3;
}

.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--green-mid);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
}

.carousel-btn:hover { background: var(--green-dark); transform: scale(1.08); }
.carousel-btn:disabled { background: #ccc; cursor: default; transform: none; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background: var(--green-mid);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .carousel-track .gallery-item { flex: 0 0 calc(100% - 0px); }
  .carousel-btn { width: 38px; height: 38px; font-size: 0.85rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .carousel-track .gallery-item { flex: 0 0 calc(50% - 8px); }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-show-more { display: none; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,50,10,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay p {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.gallery-empty .icon { font-size: 3rem; margin-bottom: 12px; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== REVIEWS ===== */
#reviews {
  background: var(--green-dark);
  padding: 64px 0;
}

#reviews .section-label { color: var(--green-light); }
#reviews .section-title { color: var(--white); }
#reviews .section-intro { color: rgba(255,255,255,0.65); }

.reviews-carousel-wrapper {
  margin-top: 40px;
}

.reviews-track {
  display: flex;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  gap: 24px;
  scroll-behavior: smooth;
}

.review-card {
  flex: 0 0 calc(100% - 0px);
  scroll-snap-align: start;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
}

.review-stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}

.review-location {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ===== CONTACT ===== */
#contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info h2 { margin-bottom: 16px; }

.contact-info p {
  color: var(--text-mid);
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-detail-value {
  font-weight: 600;
  color: var(--text-dark);
}

.contact-detail-value a:hover { color: var(--green-mid); }

/* Contact Form */
.contact-form {
  background: var(--green-pale);
  border-radius: 20px;
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 28px;
  color: var(--green-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
}

.form-group textarea { height: 120px; resize: vertical; }

.form-notice {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 12px;
}

#form-success {
  display: none;
  background: var(--green-pale);
  border: 2px solid var(--green-mid);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--green-dark);
  font-weight: 600;
  margin-top: 12px;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background var(--transition);
}

.footer-social a:hover { background: var(--green-mid); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--green-light); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--green-light); }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--green-mid);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

#scrollTop.show { opacity: 1; pointer-events: all; }
#scrollTop:hover { transform: translateY(-3px); }

/* ===== RESPONSIVE (MOBILE-FIRST) ===== */

/* Tablets & small desktops (≥481px) */
@media (min-width: 481px) {
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero-actions  { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}

/* Tablets & desktops (≥769px) */
@media (min-width: 769px) {
  section { padding: 90px 0; }

  .nav-links {
    display: flex;
    flex-direction: row;
  }
  .nav-toggle { display: none; }

  .about-grid       { grid-template-columns: 1fr 1fr; gap: 72px; }
  .about-images     { height: 500px; }
  .about-img-main   { width: 78%; height: 400px; }
  .about-img-secondary { width: 55%; height: 240px; }
  .about-badge-box  { display: block; }

  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .review-card      { flex: 0 0 calc(50% - 12px); }
  .contact-grid     { grid-template-columns: 1fr 1.4fr; gap: 64px; }
  .form-row         { grid-template-columns: 1fr 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-bottom    { flex-direction: row; gap: 0; text-align: left; justify-content: space-between; }

  .hero-stats       { gap: 40px; }

  #reviews { padding: 90px 0; }
}

/* Desktops (≥1025px) */
@media (min-width: 1025px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .review-card   { flex: 0 0 calc(33.333% - 16px); }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 2fr 1fr 1fr; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PLACEHOLDER IMAGES ===== */
.img-placeholder {
  background: linear-gradient(135deg, #c8dfc0, #a8c89a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 2rem;
}

/* ===== ADMIN PAGE ===== */
.admin-body {
  background: #f4f6f2;
}

.admin-header {
  background: var(--white);
  border-bottom: 2px solid var(--green-pale);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-back {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-mid);
  transition: color var(--transition);
}

.admin-back:hover { color: var(--green-dark); }

.admin-logo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  color: var(--green-dark);
}

.admin-actions-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: 8px;
}

/* Login */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-login-box {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
}

.admin-login-box h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.admin-login-box p {
  color: var(--text-mid);
  margin-bottom: 28px;
  font-size: 0.93rem;
}

.admin-login-box .form-group {
  margin-bottom: 16px;
}

/* Main admin */
.admin-main {
  padding: 32px 0 80px;
}

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  background: var(--white);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  overflow-x: auto;
}

.admin-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  border-radius: 10px;
  transition: var(--transition);
  white-space: nowrap;
}

.admin-tab:hover { background: var(--green-pale); color: var(--green-dark); }
.admin-tab.active { background: var(--green-mid); color: var(--white); }

/* Panels */
.admin-panel {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.admin-panel h2 {
  margin-bottom: 8px;
}

.admin-hint {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.admin-form-section {
  border-top: 1px solid #eee;
  padding-top: 28px;
  margin-top: 28px;
}

.admin-form-section:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 16px;
}

.admin-form-section h3 {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* Image uploads */
.admin-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.admin-img-upload label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 10px;
}

.admin-img-preview {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f4ee;
  margin-bottom: 10px;
}

.admin-img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-img-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

.admin-img-actions {
  display: flex;
  gap: 8px;
}

/* Gallery admin grid */
.admin-add-bar {
  margin-bottom: 24px;
}

.admin-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-gallery-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #f9faf8;
  border-radius: 12px;
  border: 1px solid #eee;
}

.admin-gallery-img {
  width: 140px;
  height: 105px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8ede5;
}

.admin-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-gallery-fields {
  flex: 1;
  min-width: 0;
}

.admin-gallery-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

/* Item cards (diensten, reviews) */
.admin-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-item-card {
  background: #f9faf8;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.admin-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--green-pale);
  border-bottom: 1px solid #e0e8db;
}

.admin-item-icon { font-size: 1.3rem; }

.admin-item-header strong {
  flex: 1;
  color: var(--green-dark);
}

.admin-item-actions {
  display: flex;
  gap: 6px;
}

.admin-item-body {
  padding: 20px;
}

/* Admin responsive (mobile-first) */
.admin-tabs { flex-wrap: nowrap; }
.admin-tab { font-size: 0.78rem; padding: 10px 12px; }
.admin-panel { padding: 24px 16px; }
.admin-gallery-item { flex-direction: column; }
.admin-gallery-img { width: 100%; height: 160px; }
.admin-header-inner { flex-direction: column; text-align: center; }
.admin-img-grid { grid-template-columns: 1fr; }

@media (min-width: 769px) {
  .admin-tab { font-size: 0.88rem; padding: 12px 20px; }
  .admin-panel { padding: 36px; }
  .admin-gallery-item { flex-direction: row; }
  .admin-gallery-img { width: 140px; height: 105px; }
  .admin-header-inner { flex-direction: row; text-align: left; }
  .admin-img-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
