/* ============================================
   Daltonschool De Poolster — Master Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand colours — inspired by the night-sky / star theme */
  --poolster-navy:    #1a2744;
  --poolster-blue:    #2c4a7c;
  --poolster-sky:     #4a90d9;
  --poolster-green:   #3a9b6d;
  --poolster-green-light: #e8f5ee;
  --poolster-gold:    #f0a830;
  --poolster-gold-light: #fff8e7;
  --poolster-orange:  #e8783a;
  --poolster-red:     #d94040;
  --poolster-white:   #ffffff;
  --poolster-off-white: #f7f9fc;
  --poolster-gray-100: #f0f2f5;
  --poolster-gray-200: #dde1e8;
  --poolster-gray-300: #b8bfcc;
  --poolster-gray-500: #6b7a90;
  --poolster-gray-700: #3d4a5c;
  --poolster-gray-900: #1e2836;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing scale */
  --space-xs: .25rem;
  --space-sm: .5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Transitions */
  --ease-smooth: cubic-bezier(.4, 0, .2, 1);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 50px rgba(0,0,0,.15);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 50%;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--poolster-gray-700);
  background: var(--poolster-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--poolster-navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p + p { margin-top: var(--space-md); }

/* ---------- Utility ---------- */
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

.section {
  padding: var(--space-2xl) 0;
}

.section--gray { background: var(--poolster-gray-100); }
.section--navy { background: var(--poolster-navy); color: var(--poolster-white); }
.section--green-light { background: var(--poolster-green-light); }
.section--gold-light { background: var(--poolster-gold-light); }

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__header p {
  max-width: 680px;
  margin: var(--space-md) auto 0;
  color: var(--poolster-gray-500);
  font-size: 1.1rem;
}

.section--navy .section__header p { color: var(--poolster-gray-200); }

.badge {
  display: inline-block;
  padding: .35em .9em;
  border-radius: var(--radius-xl);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge--blue  { background: rgba(74,144,217,.15); color: var(--poolster-sky); }
.badge--green { background: rgba(58,155,109,.15); color: var(--poolster-green); }
.badge--gold  { background: rgba(240,168,48,.15);  color: var(--poolster-orange); }
.badge--navy  { background: rgba(26,39,68,.1);     color: var(--poolster-navy); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85em 1.8em;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: .95rem;
  transition: all .3s var(--ease-smooth);
}

.btn--primary {
  background: var(--poolster-green);
  color: var(--poolster-white);
  box-shadow: 0 4px 15px rgba(58,155,109,.35);
}
.btn--primary:hover {
  background: #2e8a5c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58,155,109,.45);
}

.btn--secondary {
  background: var(--poolster-white);
  color: var(--poolster-navy);
  border: 2px solid var(--poolster-gray-200);
}
.btn--secondary:hover {
  border-color: var(--poolster-green);
  color: var(--poolster-green);
  transform: translateY(-2px);
}

.btn--outline-white {
  border: 2px solid rgba(255,255,255,.5);
  color: var(--poolster-white);
}
.btn--outline-white:hover {
  background: var(--poolster-white);
  color: var(--poolster-navy);
}

.btn--gold {
  background: var(--poolster-gold);
  color: var(--poolster-navy);
}
.btn--gold:hover {
  background: #d9952a;
  transform: translateY(-2px);
}

.btn--small {
  padding: .55em 1.2em;
  font-size: .85rem;
}

.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .75em 1.5em;
  background: var(--poolster-navy);
  color: var(--poolster-white);
  border-radius: var(--radius-md);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all .4s var(--ease-smooth);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-header.scrolled .container { height: 68px; }

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--poolster-white);
  transition: color .3s;
}

.site-header.scrolled .logo { color: var(--poolster-navy); }

.logo__icon {
  width: 44px;
  height: 44px;
  background: var(--poolster-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform .3s;
}
.logo:hover .logo__icon { transform: rotate(20deg) scale(1.05); }

.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav__link {
  padding: .5em 1em;
  font-weight: 500;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-md);
  transition: all .3s;
  position: relative;
}

.site-header.scrolled .nav__link { color: var(--poolster-gray-700); }

.nav__link:hover,
.nav__link.active {
  color: var(--poolster-white);
  background: rgba(255,255,255,.12);
}

.site-header.scrolled .nav__link:hover,
.site-header.scrolled .nav__link.active {
  color: var(--poolster-green);
  background: var(--poolster-green-light);
}

.nav__cta {
  margin-left: .75rem;
  padding: .6em 1.4em;
  background: var(--poolster-gold);
  color: var(--poolster-navy) !important;
  border-radius: var(--radius-xl);
  font-weight: 600;
}
.nav__cta:hover {
  background: #d9952a;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--poolster-white);
  border-radius: 2px;
  transition: all .3s;
}
.site-header.scrolled .hamburger span { background: var(--poolster-navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--poolster-navy) 0%, var(--poolster-blue) 50%, #1e5a8a 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__stars {
  position: absolute;
  inset: 0;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration, 3s) ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: .2; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.3); }
}

.hero__shapes {
  position: absolute;
  inset: 0;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  background: var(--poolster-gold);
}

.hero__shape--1 { width: 500px; height: 500px; top: -10%; right: -5%; }
.hero__shape--2 { width: 300px; height: 300px; bottom: -5%; left: -3%; background: var(--poolster-green); }
.hero__shape--3 { width: 200px; height: 200px; top: 30%; left: 15%; background: var(--poolster-sky); }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--poolster-white);
  padding: 6rem 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5em 1.2em;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(6px);
}

.hero h1 {
  color: var(--poolster-white);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero h1 span {
  display: inline;
  background: linear-gradient(135deg, var(--poolster-gold), var(--poolster-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: .9;
  margin-bottom: var(--space-xl);
  max-width: 580px;
}

.hero__buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--poolster-gold);
}

.hero__stat-label {
  font-size: .85rem;
  opacity: .75;
  margin-top: .15rem;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   DALTON PILLARS
   ============================================ */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.pillar-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--poolster-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--poolster-gray-200);
  transition: all .4s var(--ease-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pillar-card__icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
}

.pillar-card:nth-child(1) .pillar-card__icon { background: #eef4ff; color: var(--poolster-sky); }
.pillar-card:nth-child(2) .pillar-card__icon { background: #e8f5ee; color: var(--poolster-green); }
.pillar-card:nth-child(3) .pillar-card__icon { background: #fff3e0; color: var(--poolster-orange); }
.pillar-card:nth-child(4) .pillar-card__icon { background: #fce4ec; color: var(--poolster-red); }
.pillar-card:nth-child(5) .pillar-card__icon { background: #f3e5f5; color: #8e24aa; }

.pillar-card h3 {
  margin-bottom: var(--space-sm);
}

.pillar-card p {
  color: var(--poolster-gray-500);
  font-size: .9rem;
}

/* ============================================
   FEATURE SECTIONS (alternating image+text)
   ============================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }

.feature__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--poolster-gray-100);
}

.feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--poolster-green-light), var(--poolster-gold-light));
}

.feature__content h2 {
  margin-bottom: var(--space-md);
}

.feature__content p {
  color: var(--poolster-gray-500);
  margin-bottom: var(--space-md);
}

.feature__list {
  margin: var(--space-lg) 0;
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: var(--space-md);
  font-size: .95rem;
}

.feature__list-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--poolster-green-light);
  color: var(--poolster-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  margin-top: 2px;
}

/* ============================================
   NEWS / CARDS
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--poolster-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--poolster-gray-200);
  transition: all .4s var(--ease-smooth);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card__image {
  height: 200px;
  overflow: hidden;
}

.news-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.news-card:nth-child(1) .news-card__image-placeholder { background: linear-gradient(135deg, #e8f5ee, #c8e6c9); }
.news-card:nth-child(2) .news-card__image-placeholder { background: linear-gradient(135deg, #eef4ff, #bbdefb); }
.news-card:nth-child(3) .news-card__image-placeholder { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }

.news-card__body {
  padding: var(--space-lg);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: .8rem;
  color: var(--poolster-gray-500);
  margin-bottom: var(--space-sm);
}

.news-card__body h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.15rem;
}

.news-card__body p {
  color: var(--poolster-gray-500);
  font-size: .9rem;
  margin-bottom: var(--space-md);
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--poolster-green);
  font-weight: 600;
  font-size: .9rem;
  transition: gap .3s;
}
.news-card__link:hover { gap: .65rem; }

/* ============================================
   CALENDAR PREVIEW
   ============================================ */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.cal-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--poolster-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--poolster-gray-200);
  transition: all .3s;
}

.cal-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--poolster-green);
}

.cal-item__date {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--poolster-green-light);
  color: var(--poolster-green);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}
.cal-item__date .day  { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.cal-item__date .month { font-size: .65rem; font-weight: 600; text-transform: uppercase; }

.cal-item__info h4 {
  font-size: .95rem;
  margin-bottom: .2rem;
}
.cal-item__info p {
  font-size: .8rem;
  color: var(--poolster-gray-500);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--poolster-navy), var(--poolster-blue));
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  color: var(--poolster-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: var(--poolster-gold);
  opacity: .08;
  border-radius: 50%;
  top: -100px; right: -100px;
}

.cta-banner h2 { color: var(--poolster-white); margin-bottom: var(--space-md); }
.cta-banner p { opacity: .85; max-width: 600px; margin: 0 auto var(--space-xl); font-size: 1.1rem; }

.cta-banner .btn-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--poolster-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--poolster-gray-200);
  position: relative;
}

.testimonial-card__quote {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--poolster-gray-700);
  margin-bottom: var(--space-lg);
}

.testimonial-card__quote::before {
  content: '"';
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--poolster-green);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--poolster-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--poolster-green);
}

.testimonial-card__name { font-weight: 600; color: var(--poolster-navy); }
.testimonial-card__role { font-size: .85rem; color: var(--poolster-gray-500); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--poolster-gray-900);
  color: var(--poolster-gray-300);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand p {
  margin-top: var(--space-md);
  font-size: .9rem;
  line-height: 1.7;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  font-size: .9rem;
}
.footer__social a:hover { background: var(--poolster-green); color: white; }

.footer__col h4 {
  color: var(--poolster-white);
  font-size: .95rem;
  margin-bottom: var(--space-lg);
  position: relative;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--poolster-green);
}

.footer__col ul li { margin-bottom: .6rem; }
.footer__col ul a {
  font-size: .9rem;
  transition: color .3s;
}
.footer__col ul a:hover { color: var(--poolster-green); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__bottom a { color: var(--poolster-green); }

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--poolster-navy), var(--poolster-blue));
  color: var(--poolster-white);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--poolster-gold);
  opacity: .06;
  top: -200px; right: -100px;
}

.page-hero h1 { color: var(--poolster-white); margin-bottom: var(--space-md); }
.page-hero p  { opacity: .85; font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  opacity: .7;
  margin-bottom: var(--space-lg);
}

.breadcrumbs a:hover { opacity: 1; }

/* ============================================
   MR PAGE SPECIFICS
   ============================================ */
.mr-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.mr-intro__content h2 { margin-bottom: var(--space-md); }
.mr-intro__content p { color: var(--poolster-gray-500); }

.mr-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.mr-member {
  text-align: center;
  padding: var(--space-lg);
  background: var(--poolster-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--poolster-gray-200);
}

.mr-member__avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--poolster-green-light);
  color: var(--poolster-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto var(--space-sm);
}

.mr-member h4 { font-size: .9rem; }
.mr-member p  { font-size: .8rem; color: var(--poolster-gray-500); }

/* Meeting notes */
.meeting-notes {
  max-width: 900px;
  margin: 0 auto;
}

.meeting-card {
  background: var(--poolster-white);
  border: 1px solid var(--poolster-gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all .3s;
}

.meeting-card:hover { box-shadow: var(--shadow-md); }

.meeting-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  cursor: pointer;
  transition: background .3s;
}

.meeting-card__header:hover { background: var(--poolster-gray-100); }

.meeting-card__header-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.meeting-card__date-badge {
  width: 50px;
  height: 50px;
  background: var(--poolster-green-light);
  color: var(--poolster-green);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.meeting-card__date-badge .day  { font-size: 1.2rem; font-weight: 800; line-height: 1; }
.meeting-card__date-badge .month { font-size: .6rem; font-weight: 600; text-transform: uppercase; }

.meeting-card__title h3 { font-size: 1rem; }
.meeting-card__title p  { font-size: .8rem; color: var(--poolster-gray-500); }

.meeting-card__toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--poolster-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  font-size: .9rem;
  color: var(--poolster-gray-500);
}

.meeting-card.open .meeting-card__toggle {
  background: var(--poolster-green);
  color: white;
  transform: rotate(180deg);
}

.meeting-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-smooth);
}

.meeting-card.open .meeting-card__body {
  max-height: 2000px;
}

.meeting-card__content {
  padding: 0 var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--poolster-gray-200);
  padding-top: var(--space-lg);
}

.meeting-card__content h4 {
  font-size: .95rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--poolster-navy);
}

.meeting-card__content h4:first-child { margin-top: 0; }

.meeting-card__content p,
.meeting-card__content li {
  font-size: .9rem;
  color: var(--poolster-gray-700);
}

.meeting-card__content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: var(--space-sm);
}

.meeting-card__content ul li {
  margin-bottom: .4rem;
}

.meeting-card__actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--poolster-gray-200);
}

/* Documents table */
.documents-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--poolster-gray-200);
}

.documents-table {
  width: 100%;
  border-collapse: collapse;
}

.documents-table th {
  background: var(--poolster-gray-100);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-size: .85rem;
  font-weight: 600;
  color: var(--poolster-gray-700);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.documents-table td {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--poolster-gray-200);
  font-size: .9rem;
}

.documents-table tr:hover td { background: var(--poolster-gray-100); }

.documents-table .doc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  margin-right: .75rem;
  vertical-align: middle;
}

.doc-icon--pdf  { background: #fce4ec; color: var(--poolster-red); }
.doc-icon--doc  { background: #eef4ff; color: var(--poolster-sky); }
.doc-icon--xls  { background: #e8f5ee; color: var(--poolster-green); }

.doc-name {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--poolster-navy);
}

.doc-download {
  color: var(--poolster-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color .3s;
}
.doc-download:hover { color: #2e8a5c; }

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.filter-tab {
  padding: .5em 1.2em;
  border-radius: var(--radius-xl);
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid var(--poolster-gray-200);
  color: var(--poolster-gray-500);
  transition: all .3s;
  cursor: pointer;
  background: var(--poolster-white);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--poolster-green);
  color: white;
  border-color: var(--poolster-green);
}

/* ============================================
   AGENDA PAGE
   ============================================ */
.agenda-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.agenda-tab {
  padding: .6em 1.5em;
  border-radius: var(--radius-xl);
  font-weight: 500;
  font-size: .9rem;
  border: 2px solid var(--poolster-gray-200);
  background: transparent;
  color: var(--poolster-gray-500);
  transition: all .3s;
}

.agenda-tab:hover,
.agenda-tab.active {
  background: var(--poolster-navy);
  color: white;
  border-color: var(--poolster-navy);
}

.agenda-section h3 {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--poolster-gray-200);
}

.agenda-list {
  display: grid;
  gap: var(--space-md);
}

.agenda-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--poolster-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--poolster-gray-200);
  transition: all .3s;
}

.agenda-item:hover {
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--poolster-green);
}

.agenda-item__date {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
}

.agenda-item__date .day {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--poolster-navy);
  line-height: 1;
}

.agenda-item__date .month {
  font-size: .75rem;
  font-weight: 600;
  color: var(--poolster-green);
  text-transform: uppercase;
}

.agenda-item__date .weekday {
  font-size: .7rem;
  color: var(--poolster-gray-500);
  margin-top: .2rem;
}

.agenda-item__info h4 { font-size: 1rem; margin-bottom: .25rem; }
.agenda-item__info p  { font-size: .85rem; color: var(--poolster-gray-500); }

.agenda-item__tag {
  display: inline-block;
  margin-top: .5rem;
  padding: .2em .7em;
  border-radius: var(--radius-xl);
  font-size: .7rem;
  font-weight: 600;
}

.tag--vakantie  { background: #e8f5ee; color: var(--poolster-green); }
.tag--studie    { background: #eef4ff; color: var(--poolster-sky); }
.tag--feestdag  { background: #fff3e0; color: var(--poolster-orange); }
.tag--vroeg-uit { background: #fce4ec; color: var(--poolster-red); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info-cards {
  display: grid;
  gap: var(--space-md);
}

.contact-info-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--poolster-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--poolster-gray-200);
}

.contact-info-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--poolster-green-light);
  color: var(--poolster-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card h4 { font-size: .95rem; margin-bottom: .2rem; }
.contact-info-card p  { font-size: .9rem; color: var(--poolster-gray-500); }

.contact-form {
  background: var(--poolster-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: var(--space-sm);
  color: var(--poolster-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8em 1em;
  border: 2px solid var(--poolster-gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .3s;
  background: var(--poolster-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--poolster-green);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Map placeholder */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  background: var(--poolster-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-xl);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   OVER ONS / ABOUT PAGE
   ============================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--poolster-gray-200);
}

.timeline-item {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
}

.timeline-item__dot {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--poolster-green-light);
  color: var(--poolster-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  z-index: 1;
  border: 3px solid var(--poolster-white);
  box-shadow: var(--shadow-sm);
}

.timeline-item__content h3 { margin-bottom: var(--space-sm); }
.timeline-item__content p  { color: var(--poolster-gray-500); font-size: .9rem; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.team-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--poolster-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--poolster-gray-200);
  transition: all .3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--poolster-green-light), var(--poolster-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-md);
}

.team-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.team-card p  { font-size: .85rem; color: var(--poolster-gray-500); }

/* ============================================
   ONDERWIJS / EDUCATION PAGE
   ============================================ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.edu-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--poolster-white);
  border: 1px solid var(--poolster-gray-200);
  box-shadow: var(--shadow-sm);
  transition: all .4s;
}

.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.edu-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--space-lg);
}

.edu-card:nth-child(1) .edu-card__icon { background: #eef4ff; }
.edu-card:nth-child(2) .edu-card__icon { background: #e8f5ee; }
.edu-card:nth-child(3) .edu-card__icon { background: #fff3e0; }
.edu-card:nth-child(4) .edu-card__icon { background: #fce4ec; }
.edu-card:nth-child(5) .edu-card__icon { background: #f3e5f5; }
.edu-card:nth-child(6) .edu-card__icon { background: #e0f7fa; }

.edu-card h3 { margin-bottom: var(--space-sm); }
.edu-card p  { color: var(--poolster-gray-500); font-size: .9rem; }

/* ============================================
   AANMELDEN / ENROLLMENT PAGE
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  counter-reset: step;
}

.step-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--poolster-white);
  border: 1px solid var(--poolster-gray-200);
  position: relative;
  counter-increment: step;
}

.step-card::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: var(--space-lg);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--poolster-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
}

.step-card h3 { margin-bottom: var(--space-sm); margin-top: var(--space-sm); }
.step-card p  { color: var(--poolster-gray-500); font-size: .9rem; }

/* ============================================
   ANIMATIONS (scroll-triggered)
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-smooth), transform .6s var(--ease-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .6s var(--ease-smooth), transform .6s var(--ease-smooth);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .6s var(--ease-smooth), transform .6s var(--ease-smooth);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-smooth), transform .5s var(--ease-smooth);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: .1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: .2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: .3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: .4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: .5s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: .6s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: .7s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .feature { gap: var(--space-xl); }
  .mr-intro { gap: var(--space-xl); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--poolster-white);
    box-shadow: var(--shadow-xl);
    padding: 6rem var(--space-xl) var(--space-xl);
    transition: right .4s var(--ease-smooth);
    z-index: 999;
  }

  .nav.open { right: 0; }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  .nav__link {
    color: var(--poolster-gray-700) !important;
    width: 100%;
    padding: .75em 1em;
  }

  .nav__link:hover,
  .nav__link.active {
    background: var(--poolster-green-light) !important;
    color: var(--poolster-green) !important;
  }

  .nav__cta { margin-left: 0; margin-top: var(--space-md); }

  .feature { grid-template-columns: 1fr; }
  .feature--reverse { direction: ltr; }

  .hero__stats { flex-direction: column; gap: var(--space-lg); align-items: flex-start; }
  .hero__content { padding: 7rem 0 4rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .mr-intro { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }

  .news-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; justify-content: center; }
  .pillars__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   MOBILE OVERLAY
   ============================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   COOKIE / NOTIFICATION BAR (optional)
   ============================================ */
.notification-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--poolster-navy);
  color: var(--poolster-white);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  z-index: 999;
  transform: translateY(100%);
  transition: transform .4s var(--ease-smooth);
  font-size: .9rem;
}

.notification-bar.show { transform: translateY(0); }

.notification-bar .btn { flex-shrink: 0; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--poolster-green);
  color: var(--poolster-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .3s var(--ease-smooth);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #2e8a5c;
  transform: translateY(-3px);
}
