/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
  --color-primary: #031f36;
  --color-secondary: rgba(0, 74, 173, 0.35);
  --color-card: rgba(0, 74, 173, 0.40);
  --color-card-hover: rgba(0, 74, 173, 0.50);
  --color-accent: #FFFFFF;
  --color-bg: #F4F6FA;
  --color-text: #031f36;
  --color-subtext: #4a6a8a;
  --color-success: #27ae60;
  --font-family: 'Poppins', sans-serif;
  --shadow-card: 0 4px 18px rgba(3, 31, 54, 0.10);
  --shadow-hover: 0 8px 28px rgba(3, 31, 54, 0.16);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== Typography ===== */
h1 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  box-shadow: 0 2px 12px rgba(27, 42, 74, 0.08);
}

.logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  background-color: var(--color-primary);
}

.logo-bar img {
  height: 200px;
  width: auto;
  display: block;
}

/* ===== Navigation ===== */
.main-nav {
  background-color: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav .nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 12px 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s, background-color 0.2s;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: #FFFFFF;
  border-bottom: 3px solid #FFFFFF;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 0;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Main Content ===== */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  text-align: center;
  padding: 0 20px 40px;
  margin-bottom: 40px;
}

.hero-image {
  width: 220px;
  height: auto;
  margin: 0 auto 28px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
  color: var(--color-subtext);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Section ===== */
.section {
  margin-bottom: 48px;
}

.section-title {
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* ===== Cards ===== */
.card {
  background: var(--color-card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  background: var(--color-card-hover);
  box-shadow: var(--shadow-hover);
}

.card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card .card-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: 6px;
}

.card .card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.card .card-location {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card .card-location::before {
  content: '\2022';
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.card .card-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.card.past {
  opacity: 0.5;
}

.card.past .card-title::after {
  content: " — voorbij";
  font-size: 12px;
  font-weight: 400;
  color: var(--color-subtext);
}

.card.cancelled {
  background: rgba(180, 30, 30, 0.35);
  border: 1px solid rgba(220, 50, 50, 0.3);
}

.card.cancelled:hover {
  background: rgba(180, 30, 30, 0.42);
}

.card.cancelled .card-title {
  text-decoration: line-through;
  opacity: 0.8;
}

.badge-cancelled {
  background-color: rgba(220, 50, 50, 0.3);
  color: #ff6b6b;
}

/* ===== Evenementen badge ===== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-upcoming {
  background-color: rgba(39, 174, 96, 0.35);
  color: #5eff9e;
}

.card.upcoming {
  background: rgba(39, 174, 96, 0.30);
  border: 1px solid rgba(39, 174, 96, 0.25);
}

.card.upcoming:hover {
  background: rgba(39, 174, 96, 0.38);
}

.badge-past {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Filter Buttons ===== */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  border-radius: 24px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.filter-btn:hover {
  background-color: rgba(26, 31, 58, 0.08);
  transform: translateY(-1px);
}

.filter-btn.active {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

/* ===== Photo Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--color-card);
  border: 1px solid rgba(0, 74, 173, 0.15);
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-card);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--color-card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.gallery-placeholder p {
  font-size: 15px;
}

.gallery-placeholder code {
  background: rgba(26, 31, 58, 0.10);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 200;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding: 20px 0;
  max-width: 900px;
  margin: 0 auto;
}

/* Racing track SVG behind timeline */
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 1200' preserveAspectRatio='none'%3E%3Cpath d='M450 0 C450 60, 250 80, 200 160 S100 280, 250 360 S600 400, 700 480 S800 580, 650 660 S300 700, 200 780 S100 880, 300 960 S650 1000, 700 1080 S500 1160, 450 1200' fill='none' stroke='rgba(0,74,173,0.08)' stroke-width='80' stroke-linecap='round'/%3E%3Cpath d='M450 0 C450 60, 250 80, 200 160 S100 280, 250 360 S600 400, 700 480 S800 580, 650 660 S300 700, 200 780 S100 880, 300 960 S650 1000, 700 1080 S500 1160, 450 1200' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='4' stroke-dasharray='20 15' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* Center line */
.timeline::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  border-radius: 3px;
  z-index: 1;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.timeline-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  padding-top: 18px;
}

.timeline-item:nth-child(odd) .timeline-date {
  text-align: right;
  grid-column: 1;
  grid-row: 1;
  padding-right: 8px;
}

.timeline-item:nth-child(odd) .timeline-dot-wrapper {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 3;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-date {
  text-align: left;
  grid-column: 3;
  grid-row: 1;
  padding-left: 8px;
}

.timeline-item:nth-child(even) .timeline-dot-wrapper {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 1;
  grid-row: 1;
}

.timeline-dot-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 4px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-primary);
  flex-shrink: 0;
}

.timeline-dot.concept {
  background-color: var(--color-subtext);
  box-shadow: 0 0 0 2px var(--color-subtext);
}

.timeline-content {
  padding: 18px 22px;
  background: var(--color-card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, background 0.2s;
}

.timeline-content:hover {
  transform: translateY(-2px);
  background: var(--color-card-hover);
}

.timeline-content h3 {
  margin-bottom: 6px;
  color: #FFFFFF;
}

.timeline-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.timeline-content .timeline-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Aanpassingen voor specifieke planning foto's */
.timeline-content .timeline-image[src*="rode-golf"] {
  object-position: center 60%;
}
.timeline-content .timeline-image[src*="dtm-hockenheim"] {
  object-position: center 70%;
}
.timeline-content .timeline-image[src*="c1"] {
  object-position: center 50%;
}
.timeline-content .timeline-image[src*="bbq"] {
  object-position: center 40%;
}

.timeline-status {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.timeline-status.bevestigd {
  background-color: rgba(39, 174, 96, 0.25);
  color: #5eff9e;
}

.timeline-status.concept {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.timeline-status.gecanceld {
  background-color: rgba(220, 50, 50, 0.3);
  color: #ff6b6b;
}

/* Timeline content color variants */
.timeline-content.bevestigd {
  background: rgba(39, 174, 96, 0.30);
  border: 1px solid rgba(39, 174, 96, 0.25);
}

.timeline-content.bevestigd:hover {
  background: rgba(39, 174, 96, 0.38);
}

.timeline-content.gecanceld {
  background: rgba(180, 30, 30, 0.35);
  border: 1px solid rgba(220, 50, 50, 0.3);
}

.timeline-content.gecanceld:hover {
  background: rgba(180, 30, 30, 0.42);
}

.timeline-content.gecanceld h3 {
  text-decoration: line-through;
  opacity: 0.8;
}

.timeline-dot.gecanceld {
  background-color: #dc3232;
  box-shadow: 0 0 0 2px #dc3232;
}

.timeline-dot.bevestigd {
  background-color: #27ae60;
  box-shadow: 0 0 0 2px #27ae60;
}

/* ===== Nieuws Article ===== */
.news-article {
  display: flex;
  gap: 24px;
  background: var(--color-card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.news-article:hover {
  transform: translateY(-2px);
  background: var(--color-card-hover);
  box-shadow: var(--shadow-hover);
}

.news-article img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.news-article .news-body {
  flex: 1;
}

.news-article .news-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: 4px;
}

.news-article .news-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.news-article .news-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 28px 20px;
  font-size: 13px;
  font-weight: 400;
  margin-top: auto;
  letter-spacing: 0.04em;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-image {
    width: 180px;
  }

  /* Timeline stacked */
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    display: block;
    padding-left: 52px;
  }

  .timeline-date,
  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    width: 100%;
    text-align: left;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 8px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot-wrapper {
    position: absolute;
    left: 12px;
    top: 0;
    padding-top: 2px;
  }
}

@media (max-width: 600px) {
  .card-grid.cols-3,
  .card-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-image {
    width: 150px;
  }

  /* Mobile nav */
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--color-primary);
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .main-nav .nav-container {
    justify-content: flex-start;
    min-height: 48px;
  }

  /* Nieuws stacked */
  .news-article {
    flex-direction: column;
  }

  .news-article img {
    width: 100%;
    height: 180px;
  }
}

/* ===== Password Overlay (Files) ===== */
.password-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 31, 54, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.password-overlay.hidden {
  display: none;
}

.password-box {
  background: rgba(0, 74, 173, 0.20);
  border: 1px solid rgba(0, 74, 173, 0.35);
  border-radius: 18px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: pwdFadeIn 0.35s ease;
}

@keyframes pwdFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.password-box .pwd-lock {
  font-size: 48px;
  margin-bottom: 16px;
}

.password-box h2 {
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.password-box p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin-bottom: 28px;
}

.pwd-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.pwd-input-wrap input {
  width: 100%;
  padding: 14px 48px 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.pwd-input-wrap input:focus {
  border-color: rgba(255, 255, 255, 0.45);
}

.pwd-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.pwd-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: color 0.2s;
}

.pwd-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
}

.pwd-submit {
  width: 100%;
  padding: 14px;
  background: #FFFFFF;
  color: var(--color-primary);
  border: none;
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.pwd-submit:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

.pwd-error {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 12px;
  min-height: 20px;
  transition: opacity 0.2s;
}

/* ===== Wie is Wie ===== */
.members-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.members-ereleden {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.member-card {
  background: var(--color-card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-card:hover {
  transform: translateY(-3px);
  background: var(--color-card-hover);
  box-shadow: var(--shadow-hover);
}

.member-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 16px;
  object-fit: cover;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  border: 4px solid var(--color-bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.member-card.featured .member-photo {
  width: 180px;
  height: 180px;
  font-size: 50px;
}

.member-card.ere .member-photo {
  width: 100px;
  height: 100px;
  font-size: 30px;
  margin-bottom: 12px;
}

.member-card.ere {
  padding: 20px 16px;
}

.member-name {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.member-card.featured .member-name {
  font-size: 22px;
}

.member-role {
  font-size: 13px;
  font-weight: 500;
  color: #5eff9e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.member-card.ere .member-role {
  margin-bottom: 0;
}

.member-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .members-featured, .members-grid {
    grid-template-columns: 1fr;
  }
  .members-ereleden {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .members-ereleden {
    grid-template-columns: 1fr;
  }
}

/* ===== Member Detail Page (Lid) ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  color: #000000;
  font-weight: 600;
  margin-bottom: 24px;
  transition: transform 0.2s, background 0.2s;
  padding: 8px 16px;
  background: #FFFFFF;
  border-radius: 20px;
}
.back-link:hover {
  background: #EFEFEF;
  transform: translateY(-1px);
}

.lid-detail-card {
  background: var(--color-card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.lid-detail-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 32px;
}

.lid-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--color-bg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.lid-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 56px;
  font-weight: 600;
}

.lid-detail-titles h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.lid-role {
  font-size: 16px;
  font-weight: 500;
  color: #5eff9e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(39, 174, 96, 0.2);
  border-radius: 12px;
}

.lid-detail-body p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .lid-detail-header {
    flex-direction: column;
    text-align: center;
  }
}

/* Lid Extra Info */
.lid-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  background: rgba(0, 0, 0, 0.1);
  padding: 24px;
  border-radius: 12px;
}

.lid-info-item {
  display: flex;
  flex-direction: column;
}

.lid-info-item strong {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.lid-info-item span {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

/* Lid Momenten */
.lid-momenten-sectie {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lid-momenten-sectie h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.lid-momenten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lid-moment-item {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 74, 173, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lid-moment-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lid-moment-item.placeholder-moment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  .lid-info-grid {
    grid-template-columns: 1fr;
  }
  .lid-momenten-grid {
    grid-template-columns: 1fr;
  }
}
