/* ===== MAMA'S GLIMLACHFONDS — GLOBAL STYLESHEET ===== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --pink: #E8527A;
  --pink-light: #FFF0F4;
  --pink-mid: #F4ABBF;
  --peach: #F4A896;
  --teal: #3DAB8A;
  --teal-light: #EAF7F2;
  --dark: #1C1C1C;
  --mid: #555555;
  --light: #F8F7F5;
  --white: #FFFFFF;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--pink); }

.nav-links a.active { color: var(--pink); }

.nav-cta {
  background: var(--pink);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: #d4446b !important;
  transform: translateY(-1px);
  color: var(--white) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== PAGE WRAPPER ===== */
.page { padding-top: 72px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center 20%;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(28,28,28,0.55) 0%, rgba(28,28,28,0.15) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--peach);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: white;
  line-height: 1.1;
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--peach);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

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

.btn-pink {
  background: var(--pink);
  color: white;
  box-shadow: 0 4px 20px rgba(232,82,122,0.35);
}

.btn-pink:hover {
  background: #d4446b;
  box-shadow: 0 6px 28px rgba(232,82,122,0.45);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-teal {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 20px rgba(61,171,138,0.3);
}

.btn-teal:hover {
  background: #339977;
  box-shadow: 0 6px 28px rgba(61,171,138,0.4);
}

.btn-outline-pink {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink);
}

.btn-outline-pink:hover {
  background: var(--pink-light);
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 2rem;
}

.section-light { background: var(--light); }
.section-pink { background: var(--pink-light); }
.section-teal { background: var(--teal-light); }
.section-dark { background: var(--dark); color: white; }
.section-pink-solid { background: var(--pink); color: white; }
.section-teal-solid { background: var(--teal); color: white; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.75rem;
}

.section-label.teal { color: var(--teal); }
.section-label.white { color: rgba(255,255,255,0.7); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.7;
}

.section-sub.white { color: rgba(255,255,255,0.8); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--pink);
  padding: 2.5rem 2rem;
}

.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--serif);
  font-size: 3rem;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}

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

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}

.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.card-icon.teal { background: var(--teal-light); }

.card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ===== QUOTE BLOCK ===== */
.quote-block {
  border-left: 3px solid var(--pink);
  padding: 1.25rem 1.75rem;
  background: var(--pink-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}

.quote-block.teal {
  border-color: var(--teal);
  background: var(--teal-light);
}

.quote-block p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.quote-block cite {
  font-size: 0.85rem;
  color: var(--mid);
  font-style: normal;
}

/* ===== LOCATIONS GRID ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.location-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.07);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.location-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.location-info h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.location-info p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.5;
}

.location-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-top: 0.5rem;
}

.location-badge.zomer {
  background: #FFF3E0;
  color: #E65100;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-top: 1rem;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.93rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 700px;
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}

.team-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-info {
  padding: 1.25rem;
}

.team-info h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.team-info p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--pink);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.btn-white {
  background: white;
  color: var(--pink);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--pink-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 560px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--dark);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(232,82,122,0.12);
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-logo { height: 40px; margin-bottom: 1rem; }

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--pink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--light);
  padding: 4rem 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== DONATIE BEDRAGEN ===== */
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.donate-amount {
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--dark);
}

.donate-amount:hover,
.donate-amount.active {
  border-color: var(--pink);
  background: var(--pink-light);
  color: var(--pink);
}

.donate-amount small {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--mid);
  font-weight: 400;
  margin-top: 0.2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col.reverse { direction: ltr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; }
  .locations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 1.25rem; }
  .hero-content { padding: 3rem 1.25rem; }
  .hero h1 { font-size: 2.4rem; }
  .page-header { padding: 3rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 700px) {
  /* Team pagina: foto boven tekst */
  .team-person {
    grid-template-columns: 1fr !important;
  }
  .team-person > div:first-child {
    aspect-ratio: 4/3 !important;
    max-height: 320px;
  }

  /* Locaties grid: altijd 1 kolom op smal scherm */
  .locations-grid {
    grid-template-columns: 1fr !important;
  }

  /* Location cards: geen overflow */
  .location-card {
    min-width: 0;
  }

  /* Zomersectie: geen two-col naast elkaar */
  .section-pink .two-col {
    grid-template-columns: 1fr !important;
  }

  /* Two-col img in zomersectie weghalen op mobile */
  .section-pink .two-col-img {
    display: none;
  }
}
