/* ═══════════════════════════════════════════════════════════════
   YOGGIES — DIERENKLINIEK / ADVIES PAGE
   CSS volledig in stijl van de Yoggies Calculator
   HTML is NIET gewijzigd — alleen dit CSS-bestand vervangen
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --brown:        #3c1e00;
  --brown-mid:    #7a3b1e;
  --green:        #A1E647;
  --green-dark:   #7dc400;
  --cream:        #f5f1e6;
  --cream-deep:   #e9e2c8;
  --white:        #ffffff;
  --text:         #1e1007;
  --text-muted:   #8a7560;
  --border:       rgba(60,30,0,.10);
  --shadow-xs:    0 1px 4px rgba(60,30,0,.07);
  --shadow-sm:    0 2px 10px rgba(60,30,0,.09);
  --shadow-md:    0 6px 28px rgba(60,30,0,.13);
  --shadow-lg:    0 18px 56px rgba(60,30,0,.16);
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --ease:         cubic-bezier(.4,0,.2,1);

  /* Legacy-namen gebruikt in de HTML-klassen */
  --dark-brown:   #3c1e00;
  --medium-brown: #7a3b1e;
  --text-dark:    #1e1007;
  --text-gray:    #8a7560;
  --gray-bg:      #e9e2c8;
  --placeholder:  #e9e2c8;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', 'Lato', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

/* ── TOP BARS ────────────────────────────────────────────────── */
.top-dark  { background: var(--brown); height: 16px; }
.top-green { background: var(--green); height: 11px; }

/* ════════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════════ */
header {
  background: var(--white);
  display: flex;
  align-items: center;
  padding: 16px 48px;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 500;
  box-shadow: var(--shadow-xs);
}

.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-svg { height: 38px; width: auto; display: block; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1.5px solid var(--cream-deep);
  border-radius: 30px;
  padding: 7px 14px;
  width: 260px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-bar:focus-within {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(125,196,0,.13);
}
.search-bar input {
  border: none; outline: none; background: transparent;
  font-family: 'Nunito', sans-serif;
  font-size: 14px; color: var(--text); width: 100%;
}
.search-bar input::placeholder { color: var(--text-muted); }

.search-btn {
  background: var(--green);
  border: none; padding: 6px 10px;
  cursor: pointer; font-size: 14px;
  border-radius: 20px; flex-shrink: 0;
  line-height: 1; transition: background .18s;
}
.search-btn:hover { background: var(--green-dark); }

/* ════════════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════════════ */
nav.main-nav {
  background: var(--white);
  padding: 0 48px;
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 400;
}

.nav-list {
  list-style: none; display: flex; align-items: center;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-item { position: static; }

.nav-link {
  text-decoration: none; color: var(--text);
  font-size: 13px; font-weight: 700; letter-spacing: .2px;
  padding: 14px 12px; display: inline-block;
  font-family: 'Nunito', sans-serif; transition: color .18s;
}
.nav-link:hover { color: var(--green-dark); }

.nav-link.nav-home {
  background: var(--brown-mid); color: var(--white) !important;
  padding: 6px 13px; border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
  margin-right: 6px; transition: background .18s;
}
.nav-link.nav-home:hover { background: var(--brown); color: var(--white) !important; }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  width: 70%; max-width: 1100px; min-width: 600px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: 600;
  padding: 28px 32px; border: 1px solid var(--border);
  animation: fadeDown .16s var(--ease);
}
@keyframes fadeDown {
  from { opacity:0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.nav-item:hover > .dropdown { display: block; }

.dropdown-inner {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}

.dd-item {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--text); font-size: 13px; font-weight: 700;
  font-family: 'Nunito', sans-serif;
  background: var(--cream); border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: background .16s, color .16s, transform .16s;
  white-space: normal; line-height: 1.3;
}
.dd-item:hover { background: var(--green); color: var(--brown); transform: translateY(-2px); }

.dd-thumb {
  width: 38px; height: 38px; object-fit: contain;
  flex-shrink: 0; border-radius: 5px; background: var(--white);
}
.dd-item:hover .dd-thumb { background: rgba(255,255,255,.25); }

/* ════════════════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════════════════ */
.advies-hero { background: var(--white); }

/* [1] Volledig-brede afbeelding */
.hero-full {
  width: 100%; height: 400px;
  background: var(--cream-deep);
  overflow: hidden;
}
.hero-full img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* [2+3] Tekst + hondenfoto rij */
.hero-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 48px 52px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* [2] Tekstblok (links ~38%) */
.hero-text {
  flex: 0 0 38%;
  display: flex; flex-direction: column; gap: 18px;
  padding-top: 6px;
}

/* [3] Hondenfoto (rechts ~60%) */
.hero-dog {
  flex: 1 1 auto;
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.hero-dog img {
  width: 100%; height: 100%;
  min-height: 320px;
  object-fit: cover; display: block;
}

.hero-text__title {
  font-family: 'Playfair Display', 'Nunito', serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  color: var(--brown);
  font-style: italic;
}

.hero-text__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════
   CREAM BANNER
════════════════════════════════════════════════════════════════ */
.advies-banner {
  background: var(--cream-deep);
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.advies-banner__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 36px;
}

.advies-banner__left { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }

.advies-banner__text {
  font-size: 15px; line-height: 1.72;
  color: var(--text); font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

/* Bereken-knop */
.ph-berekenen-btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--brown);
  color: var(--white);
  border: none; cursor: pointer;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: 'Nunito', sans-serif; font-weight: 800;
  white-space: nowrap; letter-spacing: .3px;
  transition: background .18s, transform .12s, box-shadow .18s;
  box-shadow: 0 4px 14px rgba(60,30,0,.20);
  margin-top: 14px;
}
.ph-berekenen-btn:hover {
  background: var(--brown-mid);
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(60,30,0,.26);
}

.banner-image-placeholder {
  flex-shrink: 0;
  width: 220px; height: 190px;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.banner-image-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Gedeelde banner-knoppen (banner-btn, advies-btn, berekenen-btn) */
.banner-btn,
.advies-btn {
  display: inline-block;
  background: var(--brown); color: var(--white);
  text-decoration: none; border: none; cursor: pointer;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: 'Nunito', sans-serif; font-weight: 800;
  white-space: nowrap; letter-spacing: .3px;
  transition: background .18s, transform .12s, box-shadow .18s;
  box-shadow: 0 4px 14px rgba(60,30,0,.20);
  align-self: flex-start;
}
.banner-btn:hover,
.advies-btn:hover {
  background: var(--brown-mid);
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(60,30,0,.26);
}

.berekenen-btn {
  background: var(--brown); border: none;
  padding: 8px 14px; cursor: pointer;
  color: var(--white); font-size: 14px;
  border-radius: var(--radius-sm); flex-shrink: 0;
  font-family: 'Nunito', sans-serif; font-weight: 800;
  transition: background .18s;
}
.berekenen-btn:hover { background: var(--brown-mid); }

/* ════════════════════════════════════════════════════════════════
   CONTACTFORMULIER
════════════════════════════════════════════════════════════════ */
.advies-form {
  background: var(--white);
  padding: 56px 48px 64px;
  border-top: 1px solid var(--border);
}

.advies-form__inner {
  max-width: 860px; margin: 0 auto;
}

.advies-form__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  color: var(--brown);
  margin-bottom: 36px;
  text-align: center;
  font-style: italic;
}

.advies-form__row {
  display: flex; gap: 32px; margin-bottom: 24px;
}

.advies-form__group {
  flex: 1 1 0; display: flex; flex-direction: column; gap: 8px;
}

.advies-form__group--full { margin-bottom: 24px; }

.advies-form__label {
  font-size: 14px; font-weight: 800;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
}

.advies-input {
  background: var(--cream);
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px; font-family: 'Nunito', sans-serif;
  color: var(--text); outline: none; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.advies-input:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(125,196,0,.13);
  background: var(--white);
}

.advies-textarea {
  background: var(--cream);
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px; font-family: 'Nunito', sans-serif;
  color: var(--text); outline: none; width: 100%;
  resize: vertical; min-height: 180px;
  transition: border-color .18s, box-shadow .18s;
}
.advies-textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(125,196,0,.13);
  background: var(--white);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
footer {
  background: var(--brown);
  padding: 44px 48px 52px;
  display: flex; gap: 20px;
  justify-content: center; flex-wrap: wrap;
}
.footer-card {
  background: rgba(255,255,255,.10);
  border-radius: var(--radius);
  width: 160px; height: 220px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.08);
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  header, nav.main-nav, footer { padding-left: 24px; padding-right: 24px; }

  .hero-full    { height: 220px; }
  .hero-row     { flex-direction: column; padding: 28px 24px 36px; gap: 24px; }
  .hero-text    { flex: none; width: 100%; }
  .hero-dog     { flex: none; width: 100%; height: 240px; }
  .hero-dog img { min-height: 240px; }
  .hero-text__title { font-size: 22px; }

  .advies-banner { padding: 22px 24px; }
  .advies-banner__inner { flex-wrap: wrap; gap: 16px; }
  .banner-image-placeholder { width: 100%; height: 180px; }

  .advies-form { padding: 36px 24px 48px; }
  .advies-form__row { flex-direction: column; gap: 18px; }

  .dropdown { min-width: 380px; }
  .dropdown-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  header { padding: 14px 16px; }
  nav.main-nav { padding: 0 16px; }
  .logo-svg { height: 32px; }
  .search-bar { width: 150px; }
  .hero-full { height: 160px; }
  .hero-text__title { font-size: 18px; }
  .advies-form__title { font-size: 18px; }
  footer { padding: 36px 16px 40px; }
  .dropdown { min-width: 300px; }
  .dropdown-inner { grid-template-columns: repeat(2, 1fr); }
}
