/* =============================================
   DE MAX VZW — STYLESHEET
   Theme: Warm & Professional
   Colors derived from logo: deep red, warm gold, orange
   ============================================= */

:root {
  --red:       #B81C1C;
  --red-dark:  #8B1212;
  --gold:      #C9960A;
  --gold-light:#E8B830;
  --orange:    #E07820;
  --cream:     #FDF6EC;
  --warm-bg:   #FEF3E2;
  --text:      #2C1A0E;
  --text-mid:  #5C3D2E;
  --text-light:#8B6B56;
  --white:     #FFFFFF;
  --border:    #E8D5B8;
  --shadow:    0 4px 24px rgba(184,28,28,0.10);
  --shadow-lg: 0 12px 48px rgba(184,28,28,0.15);
  --radius:    12px;
  --radius-lg: 20px;
  --nav-h:     74px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

em { font-style: italic; color: var(--orange); }
strong { color: var(--text); font-weight: 700; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.bg-warm { background: var(--warm-bg); }
.center  { text-align: center; }

/* ---- SECTION LABELS ---- */
.section-label {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(224,120,32,0.10);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 0.8rem; }
.section-header p  { font-size: 1.1rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 15px rgba(224, 120, 32, 0.4);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 184, 48, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
  backdrop-filter: blur(5px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-light {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--red-dark);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-mid);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  background: rgba(184,28,28,0.07);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  color: var(--white); /* White text for contrast against image */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/banner de max.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Overlay to darken image and ensure readability */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: 1;
}

/* Subtle pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(201,150,10,0.05) 0%, transparent 50%);
  z-index: 2;
}

.hero-shape {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 60vw;
  max-width: 700px;
  height: 60vw;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,10,0.1) 0%, transparent 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 720px;
  padding: 4rem 1.5rem;
  margin: 0 auto;
  text-align: center;
  animation: heroFadeIn 1s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(184,28,28,0.3);
}

.hero-title {
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.25rem;
  color: #f0f0f0;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-content strong {
  color: var(--white);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ---- INTRO SECTION ---- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text h2 { margin-bottom: 1.2rem; }
.intro-text p  { margin-bottom: 1rem; }
.intro-text .btn { margin-top: 0.5rem; }

.intro-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--warm-bg) 60%, transparent 100%);
}

.visual-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px dashed rgba(201,150,10,0.25);
  animation: spin 30s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.intro-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(184,28,28,0.15));
}

/* ---- PIJLERS GRID ---- */
.pijlers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pijler-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.pijler-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.pijler-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.pijler-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--red);
}

.pijler-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(201,150,10,0.2) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-content p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, #FDF0E0 0%, #FEF8F0 100%);
  padding: calc(var(--nav-h) + 3.5rem) 1.5rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 85%, rgba(184,28,28,0.07) 0%, transparent 40%),
                    radial-gradient(circle at 85% 15%, rgba(201,150,10,0.07) 0%, transparent 40%);
}

.page-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero-content h1 { margin: 0.5rem 0 1rem; }
.page-hero-content p  { font-size: 1.1rem; color: var(--text-mid); }

/* ---- TWO COL LAYOUT ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.col-text h2 { margin-bottom: 1.2rem; }

.quote-block {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}
.quote-block blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.quote-block cite {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-style: normal;
  font-weight: 600;
}

/* ---- PIJLER DETAIL ---- */
.pijler-detail {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.pijler-detail:last-of-type { border-bottom: none; }

.pijler-num {
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(184,28,28,0.12);
  line-height: 1;
  min-width: 70px;
  text-align: center;
}

.pijler-body h3 { color: var(--red); margin-bottom: 0.8rem; font-size: 1.15rem; }
.pijler-body p  { font-size: 1rem; margin: 0; }

/* ---- ACTIVITEITEN GRID ---- */
.activiteiten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.activiteit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.activiteit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}

.activiteit-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-bg);
  border-radius: 10px;
}

.activiteit-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(224,120,32,0.1);
  padding: 0.18rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.4rem;
}

.activiteit-content h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--text); }
.activiteit-content p  { font-size: 0.9rem; margin: 0; color: var(--text-light); }

/* ---- AGENDA ---- */
.agenda-placeholder { max-width: 700px; margin: 0 auto; }

.agenda-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--warm-bg);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
}

.agenda-date {
  flex-shrink: 0;
  text-align: center;
  width: 64px;
}
.agenda-date .day   { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--red); }
.agenda-date .month { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--text-light); letter-spacing: 0.08em; }

.agenda-info { flex: 1; }
.agenda-info h4 { margin-bottom: 0.3rem; color: var(--text); }
.agenda-info p  { font-size: 0.9rem; margin: 0; color: var(--text-light); }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrap h2 { margin-bottom: 0.6rem; }
.contact-form-wrap > p { margin-bottom: 2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-weight: 700; font-size: 0.88rem; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(184,28,28,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  background: #F0FDF0;
  color: #166534;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-success.visible { display: block; }

/* Contact info panel */
.contact-info h2 { margin-bottom: 1.5rem; }

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--warm-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-card h4 { margin-bottom: 0.2rem; font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }
.info-card p, .info-card a { font-size: 0.95rem; color: var(--text); margin: 0; }
.info-card a:hover { color: var(--red); }

.contact-about,
.vzw-info {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--warm-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-about h3,
.vzw-info h3 { font-size: 1rem; margin-bottom: 0.8rem; color: var(--red); }
.contact-about ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.contact-about li { font-size: 0.9rem; color: var(--text-mid); }
.vzw-info p { font-size: 0.9rem; margin: 0; }

/* ---- FOOTER ---- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

.footer-links h4,
.footer-contact h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-contact p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for grid children */
.pijlers-grid .pijler-card:nth-child(2) { transition-delay: 0.1s; }
.pijlers-grid .pijler-card:nth-child(3) { transition-delay: 0.2s; }
.pijlers-grid .pijler-card:nth-child(4) { transition-delay: 0.3s; }
.pijlers-grid .pijler-card:nth-child(5) { transition-delay: 0.4s; }
.pijlers-grid .pijler-card:nth-child(6) { transition-delay: 0.5s; }

.activiteiten-grid .activiteit-card:nth-child(2) { transition-delay: 0.1s; }
.activiteiten-grid .activiteit-card:nth-child(3) { transition-delay: 0.15s; }
.activiteiten-grid .activiteit-card:nth-child(4) { transition-delay: 0.2s; }
.activiteiten-grid .activiteit-card:nth-child(5) { transition-delay: 0.25s; }
.activiteiten-grid .activiteit-card:nth-child(6) { transition-delay: 0.3s; }
.activiteiten-grid .activiteit-card:nth-child(7) { transition-delay: 0.35s; }
.activiteiten-grid .activiteit-card:nth-child(8) { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 960px) {
  .pijlers-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .two-col      { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }

  /* Hamburger menu */
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1rem; border-radius: var(--radius); }

  .hero-content { padding: 2rem 1rem 3rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 280px; }

  .pijlers-grid { grid-template-columns: 1fr; }
  .activiteiten-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .pijler-detail { flex-direction: column; gap: 0.8rem; }
  .pijler-num { font-size: 2rem; min-width: auto; }

  .agenda-item { flex-direction: column; gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .visual-card { width: 240px; height: 240px; }
  .intro-logo  { width: 180px; height: 180px; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
}

/* ---- BANNER SECTION ---- */
.banner-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.banner-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 21 / 9;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.banner-img-wrapper:hover .banner-image {
  transform: scale(1.05);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

@media (max-width: 768px) {
  .banner-img-wrapper {
    aspect-ratio: 16 / 9;
  }
}

/* ---- Mobile version ---- */
@media (max-width: 480px) {
  :root {
    --nav-h: 64px;
  }

  .container {
    padding: 0 1.2rem;
  }

  .section {
    padding: 3rem 0;
  }

  /* Hero adjustments for tiny screens */
  .hero-title {
    font-size: 2.4rem;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 1.1rem;
    padding: 0 0.5rem;
  }

  .hero-cta {
    gap: 1rem;
  }

  /* Navbar tweaks */
  .logo-img {
    height: 44px;
  }

  /* Card layouts */
  .pijler-card, .activiteit-card {
    padding: 1.5rem 1.2rem;
  }

  /* Footer cleanup */
  .footer {
    padding-top: 3rem;
  }

  .footer-logo {
    height: 52px;
  }

  /* Typography */
  h2 {
    font-size: 1.8rem;
  }
}

/* Extra small devices fix */
@media (max-width: 360px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}


/* ---- Mobile version ---- */



/* ---- NIEUWE ACTIVITEITEN KAARTJES ---- */
.activities-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card-activity {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  height: 100%;
}

.card-activity:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.card-activity-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-activity:hover .card-activity-img img {
  transform: scale(1.1);
}

.activity-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.badge-upcoming { background: var(--orange); }
.badge-past { background: var(--text-light); }

.card-activity-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

.card-activity h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.3;
}

.card-activity p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-activity-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.activity-location {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-activity-link {
  cursor: pointer;
}

.card-activity-link-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.card-activity-link-inner:focus-visible {
  outline: 3px solid rgba(224, 120, 32, 0.35);
  outline-offset: -3px;
}

.card-activity-link:hover .card-activity-img img {
  transform: scale(1.08);
}

.activity-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(34, 18, 10, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 2000;
}

.activity-lightbox:target {
  opacity: 1;
  pointer-events: auto;
}

.activity-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.activity-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  padding: 1rem;
}

.activity-lightbox-panel img {
  width: 100%;
  height: auto;
  max-height: calc(90vh - 120px);
  object-fit: contain;
  border-radius: 18px;
}

.activity-lightbox-caption {
  padding: 1rem 0.5rem 0.25rem;
}

.activity-lightbox-caption h3 {
  margin-bottom: 0.35rem;
}

.activity-lightbox-caption p {
  margin-bottom: 0;
}

.activity-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

@media (max-width: 768px) {
  .activities-grid-new {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .activity-lightbox {
    padding: 1rem;
  }

  .activity-lightbox-panel {
    padding: 0.75rem;
  }
}

