/* ============================================
   HOORN DER MEDEN — Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

/* ── Variables ── */
:root {
  --primary:      #0077B6;
  --primary-dark: #005f92;
  --primary-light:#e0f4ff;
  --secondary:    #90E0EF;
  --accent:       #00B4D8;
  --text:         #1a2332;
  --text-muted:   #5c6b7a;
  --bg:           #ffffff;
  --bg-soft:      #f4fafd;
  --border:       #d0e8f5;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,119,182,0.10);
  --shadow-lg:    0 12px 48px rgba(0,119,182,0.15);
  --transition:   0.25s ease;
  --font-body:    'Inter', sans-serif;
  --font-head:    'Playfair Display', serif;
  --space-xs:     8px;
  --space-sm:     16px;
  --space-md:     32px;
  --space-lg:     64px;
  --space-xl:     96px;
  --max-width:    1160px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { font-size: 1.05rem; color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: var(--space-sm);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,119,182,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.nav-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav-logo span { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo .sub { font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }

.nav-links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: var(--space-sm); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,40,80,0.75) 0%, rgba(0,119,182,0.45) 60%, rgba(0,180,216,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 680px;
  padding: var(--space-lg) 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}
.hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); display: inline-block; animation: pulse 2s infinite; }
.hero h1 { color: #fff; margin-bottom: var(--space-sm); text-shadow: 0 2px 16px rgba(0,0,0,0.3); }
.hero h1 em { color: var(--secondary); font-style: normal; }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.15rem; margin-bottom: var(--space-md); max-width: 520px; }
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: var(--space-md);
  left: 0; right: 0;
  z-index: 1;
}
.hero-stats-inner {
  display: flex;
  gap: var(--space-sm);
}
.stat-card {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: #fff;
  text-align: center;
  flex: 1;
  max-width: 160px;
}
.stat-card .num { font-size: 1.7rem; font-weight: 800; font-family: var(--font-head); display: block; }
.stat-card .lbl { font-size: 0.75rem; opacity: 0.82; }

/* ── OVER DE WIJK ── */
.about {
  padding: var(--space-xl) 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  font-family: var(--font-head);
}
.about-img-badge .big { display: block; font-size: 2rem; font-weight: 700; line-height: 1; }
.about-img-badge .small { font-size: 0.8rem; opacity: 0.88; font-family: var(--font-body); }
.about-content h2 { margin-bottom: var(--space-sm); }
.about-content p { margin-bottom: var(--space-sm); }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: var(--space-md);
}
.feature-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.feature-chip svg { color: var(--primary); flex-shrink: 0; }

/* ── HOOGTEPUNTEN ── */
.highlights {
  padding: var(--space-xl) 0;
  background: var(--bg-soft);
}
.highlights-head {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.highlights-head h2 { margin-bottom: 12px; }
.highlights-head p { max-width: 540px; margin: 0 auto; }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.highlight-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.highlight-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.highlight-card-body { padding: var(--space-sm); }
.highlight-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 12px;
}
.highlight-card-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.highlight-card-body p { font-size: 0.9rem; }

/* ── LEVEN IN DE WIJK ── */
.life {
  padding: var(--space-xl) 0;
}
.life-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.life-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  order: 2;
}
.life-content { order: 1; }
.life-content h2 { margin-bottom: var(--space-sm); }
.life-content p { margin-bottom: var(--space-sm); }
.life-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-sm);
}
.life-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}
.life-item-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.life-item-text strong { display: block; font-size: 0.95rem; margin-bottom: 2px; color: var(--text); }
.life-item-text span { font-size: 0.84rem; color: var(--text-muted); }

/* ── NIEUWS ── */
.news {
  padding: var(--space-xl) 0;
  background: var(--bg-soft);
}
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.news-card:hover { transform: translateY(-4px); }
.news-card-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.news-card-body { padding: var(--space-sm); }
.news-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.news-card p { font-size: 0.88rem; }

/* ── CTA ── */
.cta-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, #005f92 50%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  color: #fff;
}
.cta-inner h2 { color: #fff; margin-bottom: var(--space-sm); }
.cta-inner p { color: rgba(255,255,255,0.88); margin-bottom: var(--space-md); font-size: 1.1rem; }
.cta-actions { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact {
  padding: var(--space-xl) 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: start;
}
.contact-info h2 { margin-bottom: var(--space-sm); }
.contact-info p { margin-bottom: var(--space-md); }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text);
}
.contact-item svg { color: var(--primary); flex-shrink: 0; }

.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group.full { grid-column: 1 / -1; }

/* ── FOOTER ── */
.site-footer {
  background: #0d1f2d;
  color: rgba(255,255,255,0.75);
  padding: var(--space-lg) 0 var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-brand .nav-logo { margin-bottom: var(--space-sm); }
.footer-brand .nav-logo { color: #fff; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ── SCROLL ANIMATIONS ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── ANIMATIONS ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .highlights-grid,
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --space-lg: 48px; --space-xl: 64px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    padding: var(--space-sm);
    gap: 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 999;
  }
  .nav-cta.open { display: block; }

  .about-grid,
  .life-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-img-wrap img { height: 320px; }
  .about-img-badge { bottom: 10px; right: 10px; }
  .life-img { order: 1; height: 280px; }
  .life-content { order: 2; }

  .highlights-grid,
  .news-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .hero-stats-inner { flex-wrap: wrap; }
  .stat-card { min-width: 120px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}