:root {
  --bg-1: #b8a184;
  --bg-2: #fff8ef;
  --ink: #4a2a1e;
  --muted: #6d4a3a;
  --brand: #b45f2f;
  --brand-2: #8d4a23;
  --card: #ffffff;
  --line: rgba(74, 42, 30, 0.12);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  --shadow-2: 0 10px 24px rgba(0, 0, 0, 0.10);
  --radius: 20px;
  --radius-sm: 14px;
  --page-padding: 100px;
  --page-max-width: 90%;
  --nav-offset: 110px;
}

/* ========== RESET ========== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color: var(--ink);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

p,
ul {
  color: var(--muted);
}

.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 20px var(--page-padding);
}

#bloemen,
#activiteiten,
#klas,
#groep,
#verjaardag,
#sfeerbeelden,
#contact,
#top,
section[id] {
  scroll-margin-top: var(--nav-offset);
}

/* ========== NAVBAR ========== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  position: sticky;
  top: 12px;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: var(--shadow-2);
  transition: all 0.25s ease;
}

.nav.scrolled {
  top: 6px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-weight: 900;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav a.link {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.nav a.link:hover {
  background: rgba(180, 95, 47, 0.08);
  color: var(--ink);
}

.nav a.link.active {
  background: rgba(180, 95, 47, 0.14);
  color: var(--ink);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.bezoek-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 22px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(180, 95, 47, 0.08);
  color: var(--ink);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ========== HERO ========== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 18px;
  min-height: 750px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 520px at 20% 10%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62));
}

.hero-content {
  position: relative;
  max-width: 780px;
  padding: 30px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.hero h1 {
  margin-bottom: 10px;
  font-size: 46px;
  line-height: 1.05;
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

/* ========== ALGEMENE SECTIES ========== */

.section {
  margin-top: 44px;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title h2 {
  font-size: 30px;
}

.section-title p {
  max-width: 650px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 26px;
}

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-2);
}

.panel img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.opsom {
  margin-left: 20px;
}

.hide-mobile {
  display: block;
}

/* ========== BUTTONS ========== */

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.2s ease;
}

.knop:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
}

.knop.groot {
  padding: 14px 22px;
  font-size: 16px;
}

/* ========== BLOEMEN OVERZICHT ========== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.card .thumb {
  width: 100%;
  height: 300px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(180, 95, 47, 0.20);
  border-radius: 999px;
  background: rgba(180, 95, 47, 0.10);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

/* ========== FLOWERS BY LIES ========== */

.flowers-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.flowers-inline-text {
  min-width: 0;
}

.flowers-inline-text p {
  margin-bottom: 14px;
}

.flowers-inline-photo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.flowers-inline-photo img {
  width: 240px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}

/* ========== BLOEMENPLUKTUIN ========== */

.bloemenpluktuin-layout {
  align-items: start;
}

.bloemenpluktuin-layout > .panel:first-child {
  padding: 10px;
}

.bloemenpluktuin-layout > .panel:last-child {
  padding: 22px;
}

.bloemenpluktuin-gallery {
  display: grid;
  gap: 14px;
}

.bloemenpluktuin-gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
}

.bloemenpluktuin-onderfoto {
  margin-top: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-2);
}

.bloemenpluktuin-onderfoto img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}

/* ========== ACTIVITEITEN ALGEMEEN ========== */

.activity-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.tekst-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}

.soft-panel {
  padding: 28px 30px;
}

.leesblok {
  max-width: 95%;
}

.leesblok p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}

.onder-foto {
  margin-top: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-2);
}

.onder-foto img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}

/* ========== ACTIVITEIT CUSTOM: KLAS ========== */

.activiteit-klas .activity-layout {
  grid-template-columns: 1.15fr 0.85fr;
}

.activiteit-klas .tekst-panel {
  gap: 20px;
}

.activiteit-klas .onder-foto {
  padding: 10px;
}

.activiteit-klas .onder-foto img {
  height: 550px;
}

.activiteit-klas .klas-zijkant {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-2);
}

.activiteit-klas .klas-zijkant img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
}

/* ========== ACTIVITEIT CUSTOM: GROEP ========== */

.groep-layout {
  align-items: center;
}

.activiteit-groep .groep-fotos {
  display: grid;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-2);
}

.activiteit-groep .groep-fotos img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  object-position: center top;
}

.activiteit-groep .leesblok p {
  line-height: 1.95;
}

/* ========== ACTIVITEIT CUSTOM: VERJAARDAG ========== */

.activiteit-verjaardag .activity-layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.activiteit-verjaardag .tekst-panel {
  gap: 20px;
}

.activiteit-verjaardag .onder-foto {
  padding: 10px;
}

.activiteit-verjaardag .onder-foto img {
  height: 450px;
}

.activiteit-verjaardag .verjaardag-zijkant {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-2);
}

.activiteit-verjaardag .verjaardag-zijkant img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
}

.activiteit-verjaardag .leesblok p {
  line-height: 1.95;
}

/* ========== CTA ========== */

.cta {
  margin-top: 44px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-2);
}

/* ========== SFEERBEELDEN ========== */


.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-2);
}

/* ========== SFEERBEELDEN ========== */

.gallery-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  min-width: calc(33.333% - 11px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-2);
  flex-shrink: 0;
}

.gallery-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.gallery-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-2);
  transition: 0.2s ease;
}

.gallery-arrow:hover {
  transform: scale(1.05);
  background: #fff;
}


/* ========== CONTACT ========== */

.contactblok {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.contactkaart {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-2);
}

.contactkaart h1 {
  margin-bottom: 8px;
  font-size: 32px;
}

.contactformulier {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(74, 42, 30, 0.18);
  border-radius: 12px;
  background: #fff;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(180, 95, 47, 0.55);
  box-shadow: 0 0 0 4px rgba(180, 95, 47, 0.12);
}

.contactrechts iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.help {
  color: rgba(74, 42, 30, 0.75);
  font-size: 13px;
}

/* ========== ADMIN ========== */

#adminFlowers,
#adminActivities {
  display: grid;
  gap: 14px;
}

.admin-wrap {
  display: grid;
  gap: 16px;
}

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

.admin-grid .panel {
  padding: 18px;
}

.admin-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(194, 189, 126, 0.85);
}

.admin-item .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.danger {
  border: 1px solid rgba(124, 43, 43, 0.35);
  background: transparent;
  color: #7c2b2b;
}

.danger:hover {
  background: rgba(124, 43, 43, 0.08);
}

/* ========== FOOTER ========== */

footer {
  margin: 48px 0 22px;
  color: rgba(74, 42, 30, 0.65);
  font-size: 14px;
  text-align: center;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  :root {
    --page-padding: 16px;
  }

  .split,
  .activity-layout,
  .groep-layout,
  .bloemenpluktuin-layout,
  .flowers-inline,
  .contactblok,
  .admin-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .leesblok,
  .leesblok p,
  .tekst-panel,
  .soft-panel,
  .panel {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* alleen fotoblokken verbergen */
  .panel.hide-mobile,
  .hide-mobile,
  .onder-foto,
  .flowers-inline-photo,
  .bloemenpluktuin-gallery,
  .bloemenpluktuin-onderfoto,
  .klas-zijkant,
  .groep-fotos,
  .verjaardag-zijkant {
    display: none !important;
  }

  /* boeketten: foto's weg, tekst mag blijven */
  .card .thumb {
    display: none !important;
  }

  #flowersList {
    display: block !important;
  }

  /* hero zichtbaar */
  .hero {
    display: flex !important;
    min-height: 380px !important;
    background-position: center !important;
    background-size: cover !important;
  }

  /* contact zichtbaar */
  #contact,
  #contact .contactblok,
  #contact .contactkaart,
  #contact .contactrechts,
  #contact iframe {
    display: block !important;
  }

  #contact .contactrechts iframe {
    width: 100% !important;
    min-height: 360px !important;
  }

  /* sfeerbeelden kleiner op gsm */
  .gallery-slider {
    gap: 8px;
    align-items: center;
  }

  .gallery-track {
    gap: 10px;
  }

  .gallery-card {
    min-width: 100%;
  }

  .gallery-card img {
    height: 220px;
    object-fit: cover;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
    flex-shrink: 0;
  }
   .nav {
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav a.link {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .bezoek-dropdown::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: unset;
    margin-top: 6px;
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.75);
  }

  .nav-item.dropdown.open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    white-space: normal;
  }
}