/*
Theme Name: Gastouderopvang Hoelahoep
Theme URI:
Author: Marieke Keukens
Description: Thema voor Gastouderopvang Hoelahoep – Waddinxveen
Version: 1.0
*/

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

:root {
  --navy: #1e2d4a;
  --navy-light: #2c3f60;
  --goud: #c9a84c;
  --goud-licht: #e8c96a;
  --tekst: #4a4a4a;
  --tekst-licht: #7a7a7a;
  --wit: #ffffff;
  --grijs: #f5f5f5;
  --grijs-mid: #e8e8e8;
  --radius: 4px;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--tekst);
  line-height: 1.8;
  font-size: 1rem;
}

a { color: inherit; text-decoration: none; }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 45, 74, 0.97);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-badge {
  background: var(--navy-light);
  border: 2px solid var(--goud);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.logo-text strong {
  display: block;
  color: var(--wit);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.logo-text small {
  color: var(--goud);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-family: 'Segoe UI', sans-serif;
}

nav {
  display: flex;
  gap: 0;
}

nav a {
  padding: 0 1rem;
  height: 75px;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.85);
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover {
  color: var(--goud);
  border-bottom-color: var(--goud);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--goud);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,18,32,0.6) 0%, rgba(10,18,32,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
}

.hero-logo-ring {
  width: 120px;
  height: 120px;
  border: 3px solid var(--goud);
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
}

.hero h1 {
  font-family: 'Segoe UI', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wit);
  margin-bottom: 0.5rem;
}

.hero h1 strong {
  display: block;
  font-weight: 700;
  color: var(--goud);
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--goud);
  margin: 1.5rem auto;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--wit);
  padding: 0.9rem 2.5rem;
  border: 2px solid var(--goud);
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  border-radius: 2px;
}

.btn:hover {
  background: var(--goud);
  color: var(--navy);
}

.btn-goud {
  background: var(--goud);
  color: var(--navy);
  border-color: var(--goud);
}

.btn-goud:hover {
  background: var(--navy);
  color: var(--wit);
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 2rem; }
.section-wit { background: var(--wit); }
.section-grijs { background: var(--grijs); }
.section-donker { background: var(--navy); color: var(--wit); }

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

h2 {
  font-family: 'Segoe UI', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--goud);
  margin-bottom: 1rem;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.75rem auto 0;
}

.ornament::before,
.ornament::after {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--goud);
}

.ornament span {
  color: var(--goud);
  font-size: 0.8rem;
}

.section-header p {
  max-width: 600px;
  margin: 1.5rem auto 0;
  color: var(--tekst-licht);
  font-size: 1rem;
  line-height: 1.9;
}

.section-donker .section-header p { color: rgba(255,255,255,0.7); }

/* ===== INFO KAARTJES ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--wit);
  border-top: 3px solid var(--goud);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.info-card:hover { transform: translateY(-5px); }

.info-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.info-card h3 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--tekst-licht);
  line-height: 1.8;
}

/* ===== TWEE KOLOMMEN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.text-col h2 {
  text-align: left;
  margin-bottom: 0.5rem;
}

.text-col .ornament { justify-content: flex-start; margin-left: 0; }

.text-col p {
  margin-top: 1.5rem;
  color: var(--tekst-licht);
  line-height: 1.9;
}

.text-col p + p { margin-top: 1rem; }
.text-col .btn { margin-top: 2rem; }

.kenmerken {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kenmerken li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--tekst);
}

.kenmerken li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--goud);
  border-radius: 50%;
  flex-shrink: 0;
}

.foto-col { position: relative; }

.placeholder-box {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #d4e0f0 0%, #c8d8ec 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #8090aa;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.placeholder-box span { font-size: 3.5rem; }
.foto-col img { width: 100%; height: 100%; object-fit: cover; }

.foto-col::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--goud);
  z-index: -1;
  opacity: 0.4;
}

/* ===== BANNER ===== */
.banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--goud);
  margin-bottom: 0.5rem;
}

.banner p {
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ===== OPVANG ===== */
.opvang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
}

.opvang-item {
  padding: 3rem 2.5rem;
  border-left: 1px solid var(--grijs-mid);
  position: relative;
}

.opvang-item:first-child { border-left: none; }

.opvang-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 2px;
  background: var(--goud);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.opvang-item:hover::after { transform: scaleX(1); }

.opvang-nr {
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--goud);
  margin-bottom: 0.75rem;
  display: block;
}

.opvang-item h3 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.opvang-item p {
  font-size: 0.95rem;
  color: var(--tekst-licht);
  line-height: 1.8;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--wit);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--goud);
}

.review-quote {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--goud);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.review-card p {
  font-style: italic;
  color: var(--tekst-licht);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.review-name {
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ===== CONTACT ===== */
.contact-list {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
}

.contact-list .icon {
  width: 36px;
  height: 36px;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--goud);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-list a { color: var(--goud); }
.contact-list a:hover { text-decoration: underline; }

/* ===== FORM ===== */
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--goud);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--wit);
  font-family: Georgia, serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.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(--goud);
}

.dagen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.dagen label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.dagen label:has(input:checked) {
  background: rgba(201,168,76,0.2);
  border-color: var(--goud);
  color: var(--goud);
}

.dagen input { display: none; }

.success-msg {
  margin-top: 1rem;
  color: #8ecfaa;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
footer {
  background: #111a28;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

footer span { color: var(--goud); }

/* ===== FADE-IN ANIMATIE ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* ===== PARALLAX HERO ===== */
.hero { overflow: hidden; }
.hero-bg {
  will-change: transform;
  min-height: 120%;
  top: -10%;
}

/* ===== KNOPPEN VERBETERD ===== */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}
.btn:hover::after { transform: translateX(0); }
.btn:active { transform: scale(0.97); }

.btn-goud::after { background: rgba(0,0,0,0.08); }

/* ===== FAQ ===== */
.faq-lijst {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--grijs-mid);
}

.faq-item:first-child { border-top: 1px solid var(--grijs-mid); }

.faq-vraag {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  gap: 1rem;
  transition: color 0.2s;
}

.faq-vraag:hover { color: var(--goud); }

.faq-icoon {
  width: 26px;
  height: 26px;
  border: 2px solid var(--goud);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--goud);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s;
}

.faq-item.open .faq-icoon { transform: rotate(45deg); }
.faq-item.open .faq-vraag { color: var(--goud); }

.faq-antwoord {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-antwoord-inner {
  padding: 0 0 1.5rem 0;
  font-size: 0.95rem;
  color: var(--tekst-licht);
  line-height: 1.9;
}

/* ===== CERTIFICATEN ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.cert-kaart {
  background: var(--grijs);
  border: 1px solid var(--grijs-mid);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.cert-kaart:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.cert-icoon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.cert-kaart h3 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.cert-kaart p {
  font-size: 0.88rem;
  color: var(--tekst-licht);
  line-height: 1.7;
}

.cert-badge {
  display: inline-block;
  margin-top: 0.75rem;
  background: var(--navy);
  color: var(--goud);
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}

/* ===== TARIEVEN ===== */
.tarieven-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.tarief-card {
  background: var(--wit);
  border-top: 3px solid var(--goud);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.tarief-card h3 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.tarief-prijs {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--goud);
  margin-bottom: 0.75rem;
  font-family: 'Segoe UI', sans-serif;
}

.tarief-card p {
  font-size: 0.9rem;
  color: var(--tekst-licht);
}

.tarieven-voetnoot {
  text-align: center;
  font-size: 0.82rem;
  color: var(--tekst-licht);
  font-style: italic;
}

/* ===== OPENINGSTIJDEN ===== */
.tijden-grid {
  max-width: 500px;
  margin: 0 auto;
}

.tijden-rij {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  font-size: 0.95rem;
}

.tijden-dag {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9);
}

.tijden-tijd {
  color: var(--goud);
  font-family: 'Segoe UI', sans-serif;
}

.tijden-rij.gesloten .tijden-dag,
.tijden-rij.gesloten .tijden-tijd {
  color: rgba(255,255,255,0.35);
}

/* ===== CONTACT LICHT (op grijze achtergrond) ===== */
.contact-form-light {
  background: var(--wit);
  border: 1px solid var(--grijs-mid);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-light .form-group label {
  color: var(--navy);
}

.contact-form-light .form-group input,
.contact-form-light .form-group textarea {
  background: var(--grijs);
  border: 1px solid var(--grijs-mid);
  color: var(--tekst);
}

.contact-form-light .form-group input::placeholder,
.contact-form-light .form-group textarea::placeholder {
  color: var(--tekst-licht);
}

.contact-form-light .form-group input:focus,
.contact-form-light .form-group textarea:focus {
  border-color: var(--goud);
}

.contact-form-light .dagen label {
  background: var(--grijs);
  border: 1px solid var(--grijs-mid);
  color: var(--tekst);
}

.contact-form-light .dagen label:has(input:checked) {
  background: rgba(201,168,76,0.15);
  border-color: var(--goud);
  color: var(--navy);
}

/* ===== CUSTOM LOGO IN HERO ===== */
.hero-logo-ring img { width: 80px; height: 80px; object-fit: contain; border-radius: 50%; }

/* ===== WHATSAPP KNOP ===== */
.whatsapp-knop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}

.whatsapp-knop:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  animation: none;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.7); }
}

@media (max-width: 480px) {
  .whatsapp-knop span { display: none; }
  .whatsapp-knop { padding: 0.85rem; border-radius: 50%; }
}

/* ===== WORDPRESS ADMIN BAR ===== */
.admin-bar header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar header { top: 46px; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .foto-col { order: -1; }
  .foto-col::before { display: none; }
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 75px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem 0;
  }
  nav.open { display: flex; }
  nav a { height: auto; padding: 0.75rem 2rem; border-bottom: none; border-left: 3px solid transparent; }
  nav a:hover { border-left-color: var(--goud); border-bottom-color: transparent; }
  header { position: relative; }
  .menu-toggle { display: block; }
  .opvang-grid { grid-template-columns: 1fr; }
  .opvang-item { border-left: none; border-top: 1px solid var(--grijs-mid); }
  .opvang-item:first-child { border-top: none; }
}
