:root {
  --navy: #04134b;
  --navy-dark: #020a30;
  --gold: #c9a961;
  --gold-light: #e6d5a8;
  --tint: #eceef4;
  --text: #1c1e2b;
  --text-soft: #545872;
  --white: #ffffff;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  margin: 0;
}

a {
  color: inherit;
}

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

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar--solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 16px rgba(4, 19, 75, 0.08);
  padding: 12px 32px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.navbar--solid .navbar__brand {
  color: var(--navy);
}

.navbar__crest {
  height: 32px;
  width: auto;
}

.navbar__links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.navbar__links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.3s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.navbar__links a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.navbar--solid .navbar__links a {
  color: var(--navy);
}

.navbar--solid .navbar__links a:hover {
  color: var(--gold);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s ease;
}

.navbar--solid .navbar__toggle span {
  background: var(--navy);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, var(--navy) 0%, var(--navy-dark) 75%);
  overflow: hidden;
  text-align: center;
}

.hero__pattern {
  position: absolute;
  inset: -15%;
  background-image: url("../assets/backgrounds/hero-pattern-tile.png");
  background-repeat: repeat;
  background-size: 76px 122px;
  transform: rotate(-6deg);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.hero__logo {
  width: min(340px, 70vw);
  margin-bottom: 28px;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35));
}

.hero__motto {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--gold-light);
  letter-spacing: 0.02em;
  max-width: 640px;
  margin: 0;
  position: relative;
  padding-bottom: 22px;
}

.hero__motto::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.hero__scroll {
  margin-top: 64px;
}

.hero__scroll span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  50% { transform: rotate(45deg) translate(6px, 6px); opacity: 1; }
}

/* ---------- Sections ---------- */

.section {
  padding: 110px 24px;
}

.section--tinted {
  background: var(--tint);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 44px;
}

.prose {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.prose p {
  line-height: 1.8;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ---------- Bestuur ---------- */

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  max-width: 820px;
  margin: 0 auto;
}

.board-card__photo-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  box-shadow: 0 8px 24px rgba(4, 19, 75, 0.15);
}

.board-card__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
}

.board-card__name {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.board-card__role {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
}

/* ---------- Leden ---------- */

.members-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 24px;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 130px;
  flex: 0 0 auto;
}

.member-card__photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--navy);
}

.member-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tint);
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.3rem;
}

.member-card__name {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
  text-align: center;
}

/* ---------- Lidmaatschap tijdlijn ---------- */

.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.timeline__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  max-width: 260px;
}

.timeline__icon {
  height: 90px;
  width: auto;
  margin-bottom: 20px;
}

.timeline__title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.timeline__desc {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.timeline__connector {
  flex: 0 0 60px;
  height: 2px;
  background: var(--gold);
  margin-top: 45px;
}

/* ---------- Activiteiten ---------- */

.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  text-align: left;
}

.activity-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(4, 19, 75, 0.08);
  display: flex;
  flex-direction: column;
}

.activity-card__photo {
  height: 160px;
  background-color: var(--tint);
  background-size: cover;
  background-position: center;
}

.activity-card__body {
  padding: 24px;
}

.activity-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.activity-card__badge--geweest {
  background: var(--navy);
  color: var(--white);
}

.activity-card__badge--gepland {
  background: var(--gold);
  color: var(--navy);
}

.activity-card__title {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.activity-card__date {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.activity-card__desc {
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 24px 28px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer__logo {
  width: 160px;
  margin: 0 auto 40px;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: left;
  max-width: 700px;
  margin: 0 auto 48px;
}

.footer__columns h4 {
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer__columns p {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.footer__columns a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
}

.footer__columns a:hover {
  color: var(--gold-light);
}

.footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 12px 24px;
    gap: 16px;
    display: none;
    box-shadow: 0 12px 24px rgba(4, 19, 75, 0.12);
  }

  .navbar__links--open {
    display: flex;
  }

  .navbar__links a {
    color: var(--navy) !important;
  }

  .section {
    padding: 72px 20px;
  }

  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline__step {
    max-width: 320px;
  }

  .timeline__connector {
    flex: 0 0 auto;
    width: 2px;
    height: 32px;
    margin: 0 0 24px;
  }
}
