/* Een Klein Stapje - stijl
   Speels en lief: ronde vormen, zachte schaduwen, babyroze en babyblauw
   die overal terugkomen, kleine baby-iconen die zweven, en voetstapjes
   die "lopen" als leuk terugkerend motief. */

body {
  font-family: 'Nunito', ui-sans-serif, system-ui, sans-serif;
}

.font-serif, h1, h2, h3, h4 {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

::selection {
  background-color: #fbcfe8;
  color: #831843;
}

/* ------------------------------------------------------------------ */
/* Knoppen                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.95rem 1.9rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #fda4af;
  color: #57534e;
  box-shadow: 0 6px 16px rgba(251, 113, 133, 0.28);
}
.btn-primary:hover { background: #fb7185; box-shadow: 0 10px 22px rgba(251, 113, 133, 0.38); }

.btn-secondary {
  background: #fff;
  color: #57534e;
  border-color: #e7e5e4;
}
.btn-secondary:hover { border-color: #7dd3fc; color: #0369a1; background: #f0f9ff; }

.btn-dark {
  background: #292524;
  color: #fff;
  box-shadow: 0 6px 16px rgba(41, 37, 36, 0.2);
}
.btn-dark:hover { background: #1c1917; }

.btn-sm { padding: 0.65rem 1.4rem; }
.btn-lg { padding: 1.15rem 2.3rem; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ */
/* Kaartjes                                                            */
/* ------------------------------------------------------------------ */

.card {
  background: #fff;
  border: 1px solid #f4f1ee;
  border-radius: 1.5rem;
  box-shadow: 0 2px 10px rgba(120, 113, 108, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-5px) rotate(-0.3deg);
  box-shadow: 0 16px 32px rgba(251, 113, 133, 0.16);
  border-color: #fecdd3;
}

/* Oudere klassenaam die nog her en der gebruikt kan worden */
.soft-card { transition: border-color 0.2s ease, transform 0.2s ease; }
.soft-card:hover { border-color: #fda4af; transform: translateY(-2px); }

/* ------------------------------------------------------------------ */
/* Navigatie                                                           */
/* ------------------------------------------------------------------ */

.nav-link {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #78716c;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-link:hover { background: #fff1f2; color: #fb7185; }
.nav-link-active { background: #ffe4e6; color: #e11d48; }

/* ------------------------------------------------------------------ */
/* Eyebrow-labels (kleine pilletjes boven koppen)                      */
/* ------------------------------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
}
.eyebrow-rose { background: #ffe4e6; color: #e11d48; }
.eyebrow-sky { background: #e0f2fe; color: #0369a1; }

/* Kleine statistiek-pilletjes, bv "gratis / 2 minuten / geen account" */
.pill-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #57534e;
  background: #fafaf9;
  border: 1px solid #f0efed;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
}

/* ------------------------------------------------------------------ */
/* Zwevende baby-iconen (decoratie)                                    */
/* ------------------------------------------------------------------ */

.floaty {
  display: inline-block;
  animation: floaty 4.5s ease-in-out infinite;
}
.floaty-slow { animation-duration: 6.5s; }
.floaty-delay-1 { animation-delay: 0.6s; }
.floaty-delay-2 { animation-delay: 1.2s; }
.floaty-delay-3 { animation-delay: 1.8s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

/* Zachte, vage kleurvlekken op de achtergrond van een sectie */
.blob-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  opacity: 0.55;
}
.blob-rose { background: #fecdd3; width: 280px; height: 280px; top: -70px; left: -70px; }
.blob-sky { background: #bae6fd; width: 320px; height: 320px; bottom: -90px; right: -90px; }

/* ------------------------------------------------------------------ */
/* Voetstapjes-animatie: kleine baby-voetjes die "lopen"                */
/* ------------------------------------------------------------------ */

.voetjes-pad {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
}
.voetje {
  width: 20px;
  height: 28px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  animation-duration: 2.8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.voetje-rose {
  animation-name: voetstap-r;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cellipse cx='12' cy='21' rx='7.5' ry='10.5' fill='%23fda4af'/%3E%3Ccircle cx='5' cy='7' r='2.2' fill='%23fda4af'/%3E%3Ccircle cx='9' cy='2.8' r='2.4' fill='%23fda4af'/%3E%3Ccircle cx='13.5' cy='1.8' r='2.5' fill='%23fda4af'/%3E%3Ccircle cx='18' cy='3.2' r='2.3' fill='%23fda4af'/%3E%3Ccircle cx='21' cy='7.5' r='1.9' fill='%23fda4af'/%3E%3C/svg%3E");
}
.voetje-sky {
  animation-name: voetstap-l;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cellipse cx='12' cy='21' rx='7.5' ry='10.5' fill='%237dd3fc'/%3E%3Ccircle cx='5' cy='7' r='2.2' fill='%237dd3fc'/%3E%3Ccircle cx='9' cy='2.8' r='2.4' fill='%237dd3fc'/%3E%3Ccircle cx='13.5' cy='1.8' r='2.5' fill='%237dd3fc'/%3E%3Ccircle cx='18' cy='3.2' r='2.3' fill='%237dd3fc'/%3E%3Ccircle cx='21' cy='7.5' r='1.9' fill='%237dd3fc'/%3E%3C/svg%3E");
}
.voetje:nth-child(even) { margin-bottom: 10px; }

.voetje:nth-child(1) { animation-delay: 0s; }
.voetje:nth-child(2) { animation-delay: 0.35s; }
.voetje:nth-child(3) { animation-delay: 0.7s; }
.voetje:nth-child(4) { animation-delay: 1.05s; }
.voetje:nth-child(5) { animation-delay: 1.4s; }
.voetje:nth-child(6) { animation-delay: 1.75s; }
.voetje:nth-child(7) { animation-delay: 2.1s; }
.voetje:nth-child(8) { animation-delay: 2.45s; }

@keyframes voetstap-r {
  0% { opacity: 0; transform: translateY(8px) scale(0.85); }
  15% { opacity: 1; transform: translateY(0) scale(1); }
  75% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(0) scale(1); }
}
@keyframes voetstap-l {
  0% { opacity: 0; transform: translateY(8px) scale(0.85) scaleX(-1); }
  15% { opacity: 1; transform: translateY(0) scale(1) scaleX(-1); }
  75% { opacity: 1; transform: translateY(0) scale(1) scaleX(-1); }
  100% { opacity: 0; transform: translateY(0) scale(1) scaleX(-1); }
}

@media (prefers-reduced-motion: reduce) {
  .floaty, .voetje { animation: none !important; opacity: 1 !important; }
}

/* ------------------------------------------------------------------ */
/* Disclaimer-blokje                                                   */
/* ------------------------------------------------------------------ */

.disclaimer-box {
  background: #fafaf9;
  border: 1.5px dashed #d6d3d1;
  border-radius: 1.25rem;
  padding: 1.4rem 1.6rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #78716c;
}

/* ------------------------------------------------------------------ */
/* Formulieren                                                         */
/* ------------------------------------------------------------------ */

input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="number"], textarea, select {
  outline: none;
  border-radius: 0.9rem !important;
}
input:focus, textarea:focus, select:focus {
  border-color: #fda4af;
  box-shadow: 0 0 0 4px rgba(253, 164, 175, 0.2);
}

/* Nette weergave voor <details>/<summary> (uitklapbare formulieren) */
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }

/* Keuzekaartjes in de adviesvragenlijst (leeftijd + onderwerpen) */
.leeftijd-optie, .onderwerp-optie {
  border-radius: 1.25rem !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.leeftijd-optie:hover, .onderwerp-optie:hover {
  border-color: #fda4af;
  transform: translateY(-1px);
}
.leeftijd-optie:has(input:checked), .onderwerp-optie:has(input:checked) {
  border-color: #fda4af;
  background-color: #fff1f2;
}
.topic-vragen { border-radius: 1.25rem !important; }

/* Resultaatkaartjes bij Advies en Voor mama (ronder en vrolijker dan een kale rand) */
.resultaat-kaart {
  background: #fff;
  border: 1.5px solid #f4f1ee;
  border-radius: 1.5rem !important;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.resultaat-kaart:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(120, 113, 108, 0.1);
  border-color: #fecdd3;
}
.resultaat-icoon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/* Tabbladen (bv. "Mijn baby" / "Advies" op dezelfde pagina)           */
/* ------------------------------------------------------------------ */

.tab-bar {
  display: inline-flex;
  gap: 0.3rem;
  background: #fafaf9;
  border: 1.5px solid #f0efed;
  padding: 0.35rem;
  border-radius: 9999px;
}
.tab-btn {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.5rem;
  border-radius: 9999px;
  color: #78716c;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.tab-btn:hover { color: #e11d48; }
.tab-btn-active {
  background: #fda4af;
  color: #57534e;
  box-shadow: 0 6px 16px rgba(251, 113, 133, 0.28);
}
.tab-btn-active:hover { color: #57534e; }
