/* =========================================================
   MinaCare Kraamzorg – styles.css
   Rustige beige/bruin stijl + modern responsive design
   ========================================================= */

/* ---------- Kleuren & basis ---------- */
:root {
  --bg: #F7F1E8;          /* licht beige achtergrond */
  --panel: #FFFFFF;       /* kaart / sectie */
  --text: #3A2E22;        /* donkerbruin tekst (goede leesbaarheid) */
  --muted: #6B5A46;       /* gedempt bruin */
  --brand: #B47F4E;       /* warm bruin accent */
  --accent: #8B6B4C;      /* donkerder accentkleur */
  --border: rgba(90,70,50,.18);
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { text-decoration: underline; }
body.menu-open { overflow: hidden; } /* geen scroll bij open menu */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

/* =========================================================
   HEADER & NAVIGATIE
   ========================================================= */
.site-header { background: transparent; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; flex-wrap: wrap; }

.brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand__logo {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 999px;
}

.brand__name {
  color: #3b2f22;
  font-size: 1.45rem;
  line-height: 1.1;
}

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

.topnav a {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  transition: transform .2s;
}

.topnav a:hover {
  transform: translateY(-2px);
}

/* Kleine knop in navbar */
.btn-small {
  background: var(--brand);
  color: #fff;
  padding: .5rem .9rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .95rem;
}
.btn-small:hover { filter: brightness(1.1); }

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: .6rem;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  transition: background .3s ease, box-shadow .3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  z-index: 1100;
}
.hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #3b2f22;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.hamburger.is-active .hamburger__bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger.is-active .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger__bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 3.5rem 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
  align-items: center;
}
.hero__text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: #3b2f22;
  margin-bottom: 1rem;
}
.hero__text p { color: var(--muted); max-width: 65ch; }

.hero__image img {
  width: 100%;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  filter: grayscale(100%) brightness(1.06);
  opacity: .97;
}

/* USP lijst */
.usp-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
}
.usp-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .5rem;
  color: var(--text);
  font-weight: 500;
}
.usp-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

/* CTA-pair (2 knoppen) */
.cta-pair { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 768px) { .cta-pair { justify-content: center; } }

/* =========================================================
   SECTIES, GRIDS & BUTTONS
   ========================================================= */
/* ---------- Secties & typografie ---------- */
.section {
  padding: 3rem 0;
  background: var(--bg);
}

.section--alt {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2.2rem;
  margin: 0 0 1.2rem;
  color: var(--text);
}

h2 {
  font-size: 1.6rem;
  margin: 0.4rem 0 1rem;
  color: var(--accent);
}

h3 {
  font-size: 1.15rem;
  margin: 0.2rem 0 0.6rem;
  color: var(--text);
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 1.2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 1.1rem;
  border-radius: 0.8rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 10px 28px rgba(139, 107, 76, 0.18);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(139, 107, 76, 0.08);
}


/* =========================================================
   FORMULIEREN (CONTACT)
   ========================================================= */
label { font-weight: 600; margin-bottom: .35rem; color: #3b2f22; }
.input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  padding: .85rem 1rem;
  border-radius: .8rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .15rem rgba(180,127,78,.18);
}
.textarea { resize: vertical; min-height: 160px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field--full { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }

.alert-success {
  background: #e6ffed;
  border: 1px solid #b5e3c2;
  color: #29543a;
  padding: .9rem 1rem;
  border-radius: .8rem;
  margin-bottom: 1rem;
}

/* =========================================================
   CONTACT-LAYOUT
   ========================================================= */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; }
.contact-aside { align-self: start; }
.contact-chip {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  padding: .9rem 1rem;
  border-radius: .8rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.contact-chip:hover{ border-color:var(--brand) }
.chip-title{ font-size:.9rem; color:var(--muted) }
.chip-value{ font-weight:700; color:#3b2f22 }
.divider{ border:0; border-top:1px solid var(--border); margin:1rem 0 }
/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .95rem;
  text-align: center;
}
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: .5rem;
}
.social-links a {
  color: #c59a70;
  transition: all .3s ease;
}
.social-links a:hover {
  color: #a67c52;
  transform: scale(1.1);
}
.icon-instagram {
  width: 26px;
  height: 26px;
}

/* =========================================================
   TRUSTBAR & REVIEWS
   ========================================================= */
.trustbar {
  background: #fff;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trustbar__usps {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  flex-wrap: wrap;
}
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}
.review .stars { color: #E0B400; font-size: 1.1rem; }
.review blockquote { margin: .4rem 0 .6rem; color: var(--text); font-style: italic; }
.review figcaption { color: var(--muted); font-size: .95rem; }

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 1024px) {
  .brand__logo { width: 92px; height: 92px; }
  .brand__name { font-size: 1.3rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* iPad / touch: tekst altijd mooi gecentreerd over de hero-foto */
@media (hover: none) and (pointer: coarse) {
  .hero__grid{
    position: relative;
    display: flex;                 /* <-- i.p.v. block */
    flex-direction: column;
    align-items: center;
    justify-content: center;       /* <-- verticaal centreren */
    min-height: 72vh;              /* genoeg hoogte voor iPad Pro */
    padding: calc(5rem + env(safe-area-inset-top)) 1.5rem 5rem;
    text-align: center;
    color: #fff;
    background:
      linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
      url('/images/hero-bw.jpeg') center/cover no-repeat;
    border-radius: 1.2rem;
  }

  .hero__image{ display:none; }    /* afbeelding niet los tonen */

  .hero__text{
    max-width: 720px;              /* prettig leesbreed op tablet */
    margin: 0 auto;
  }

  .hero__text h1{
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
  }

  .hero__text p,
  .hero__text li{
    color: #f8f8f8;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
  }

  .hero__text .btn{
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
  }

  .cta-pair{ gap: .8rem; }
}


/* ---------- Hamburger menu overlay ---------- */
@media (max-width: 768px) {
  .hamburger { display: flex; cursor: pointer; }
  .topnav {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 1000;
  }
  .topnav.is-open { transform: translateY(0); opacity: 1; }
  .topnav a { color: #fff; font-size: 1.2rem; }
}

/* ---------- Mobiele callbar & FAB ---------- */
@media (max-width: 640px) {
  .mobile-callbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--accent);
    color: #fff;
    padding: .75rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .6rem;
    z-index: 50;
    box-shadow: 0 -8px 24px rgba(0,0,0,.12);
    font-weight: 700;
    font-size: 1rem;
  }
  .mobile-callbar a { color: #fff; text-decoration: none; }
  .fab-contact {
    position: fixed;
    right: 14px;
    bottom: 86px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    z-index: 70;
    text-decoration: none;
    font-size: 22px;
    transition: transform .3s ease, filter .3s ease;
  }
  .fab-contact:hover { transform: scale(1.1); filter: brightness(1.1); }
}
@media (min-width: 641px) {
  .mobile-callbar, .fab-contact { display: none !important; }
}

/* ---------- Focus states & accessibility ---------- */
:focus-visible {
  outline: 3px solid #2f6bff;
  outline-offset: 3px;
  border-radius: .4rem;
}
.btn:focus-visible, .btn-small:focus-visible {
  outline: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--accent);
}

/* ---------- Reduced motion respecteren ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Pagina’s: Diensten, Werkwijze, Contact ---------- */

/* Zorg dat de header gewoon beige blijft, zonder afbeelding */
.page-header {
  background: var(--bg);
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.page-header h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.page-header p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

/* De inhoudssectie in witte kaarten (zoals vroeger) */
.page-content {
  background: var(--bg);
  padding: 3rem 0;
}

.page-content .card,
.page-content .step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.page-content h2 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: .6rem;
}

.page-content p {
  color: var(--text);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-content .card,
  .page-content .step {
    padding: 1.2rem 1.4rem;
  }
}

/* ===== Diensten / Kaarten-layout (zonder headerfoto) ===== */

/* Simpele paginakop (beige achtergrond, geen image) */

/* Kaarten-grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
}

/* Card-stijl (mooie losse “tegel”) */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card h2 {
  color: var(--accent);
  font-size: 1.45rem;
  margin: 0 0 .6rem;
}
.card p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  flex: 1; /* duwt alle cards naar gelijke hoogte */
}

/* Subtiele hover-lift */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,.08);
  border-color: rgba(180,127,78,.28);
}

