/* ===== Basis ===== */
:root {
  --bg-dark: #1a1a1a;
  --bg-darker: #111111;
  --text-light: #e5e5e5;
  --text-muted: #999999;
  --accent: #c9a86a;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.7;
}

body.home {
  height: 100vh;
  overflow: hidden;
}

body.home .hero {
  min-height: 100vh;
  height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Hero (homepage, foto-achtergrond) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  background: linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.7)), url('../images/historie-bg.jpg') center/cover no-repeat;
}

.hero .hero-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0 auto 24px;
  max-width: 900px;
}

.hero .hero-nav .crest {
  width: 130px;
}

.hero .hero-nav a.side-link {
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding: 10px 0;
  width: 220px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  letter-spacing: 4px;
  margin-bottom: 6px;
}

.hero h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-pill {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid #fff;
  border-radius: 30px;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  transition: 0.25s;
}

.btn-pill:hover { background: #fff; color: #111; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 700px) {
  .hero .hero-nav { display: none; }
  .hero h1 { margin-top: 40px; }
  .hero h2 { font-size: 1.1rem; }
}

/* ===== Content secties ===== */
.section {
  padding: 80px 0;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.section p {
  color: var(--text-light);
  margin-bottom: 18px;
  max-width: 760px;
}

/* ===== Contactformulier ===== */
.contact-form {
  max-width: 560px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  background: var(--bg-darker);
  border: 1px solid #333;
  color: var(--text-light);
  font-family: var(--font-body);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form button {
  background: var(--accent);
  border: none;
  color: #111;
  padding: 13px 34px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.25s;
}

.contact-form button:hover { background: #fff; }

.form-status { margin-top: 14px; font-size: 14px; }

/* ===== Historie: hero met achtergrondcollage ===== */
.historie-hero {
  position: relative;
  padding: 60px 24px 50px;
  text-align: center;
  background: linear-gradient(rgba(20,15,12,0.72), rgba(20,15,12,0.85)), url('../images/historie-bg.jpg') center/cover;
}

.historie-hero .crest {
  width: 130px;
  margin-bottom: 20px;
}

.historie-hero .hero-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.historie-hero .hero-nav a.side-link {
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding: 10px 0;
  width: 220px;
  text-align: center;
}

.historie-hero h1 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 3rem;
  letter-spacing: 3px;
}

/* ===== Timeline ===== */
.timeline-wrap {
  background: #f4f4f4;
  color: #333;
  padding: 60px 24px 100px;
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #222;
  transform: translateX(-50%);
}

.timeline-columns {
  display: flex;
  gap: 90px;
  align-items: flex-start;
}

.timeline-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.timeline-col-right {
  margin-top: 70px;
}

.timeline-item {
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 22px 26px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 26px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d94f3d;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.timeline-col-left .timeline-item::before { right: -51px; }
.timeline-col-right .timeline-item::before { left: -51px; }

.timeline-item::after {
  content: '';
  position: absolute;
  top: 30px;
  width: 36px;
  height: 1px;
  background: #aaa;
}

.timeline-col-left .timeline-item::after {
  right: -46px;
  transform-origin: right center;
  transform: rotate(-55deg);
}

.timeline-col-right .timeline-item::after {
  left: -46px;
  transform-origin: left center;
  transform: rotate(55deg);
}

.timeline-item:hover {
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
  border-color: #d94f3d;
  transform: translateY(-3px);
}

.timeline-item:hover::before {
  box-shadow: 0 0 0 5px rgba(217,79,61,0.22);
  transform: scale(1.15);
}

/* lange tekstblokken (zoals de biografie) volgen dezelfde kolomstijl */

.timeline-col-left .timeline-item .year {
  text-align: right;
  color: #2d3b55;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-col-right .timeline-item .year {
  text-align: left;
  color: #2d3b55;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-item .event-title {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: #888;
  font-weight: 600;
  margin-bottom: 4px;
  transition: color 0.25s ease;
}

.timeline-item:hover .event-title {
  color: #111;
}


.timeline-item img.event-img {
  max-width: 220px;
  margin: 16px auto;
}

.timeline-item p {
  color: #444;
  font-size: 15px;
  margin-bottom: 14px;
  max-width: none;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #2d2a4a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.back-to-top.show { display: flex; }

@media (max-width: 700px) {
  /* Lijn naar links, precies door het midden van de rode stippen */
  .timeline::before {
    left: 6px;
  }
  .timeline-columns {
    flex-direction: column;
    gap: 20px;
    padding-left: 22px;
  }
  /* Kolommen "oplossen" zodat alle kaartjes in één rij komen en we de volgorde kunnen bepalen */
  .timeline-col {
    display: contents;
  }
  /* Chronologische volgorde: links 1, rechts 1, links 2, rechts 2, ...
     Nieuw kaartje toegevoegd? Links nr. n krijgt order 2n-1, rechts nr. n krijgt order 2n. */
  .timeline-col-left  .timeline-item:nth-child(1) { order: 1; }
  .timeline-col-right .timeline-item:nth-child(1) { order: 2; }
  .timeline-col-left  .timeline-item:nth-child(2) { order: 3; }
  .timeline-col-right .timeline-item:nth-child(2) { order: 4; }
  .timeline-col-left  .timeline-item:nth-child(3) { order: 5; }
  .timeline-col-right .timeline-item:nth-child(3) { order: 6; }
  .timeline-col-left  .timeline-item:nth-child(4) { order: 7; }
  .timeline-col-right .timeline-item:nth-child(4) { order: 8; }
  .timeline-col-left .timeline-item::before,
  .timeline-col-right .timeline-item::before {
    left: -22px;
    right: auto;
  }
  /* Schuine verbindingsstreepjes zijn op mobiel niet nodig: de stip zit direct op de lijn */
  .timeline-item::after {
    display: none;
  }
  .timeline-col-left .timeline-item .year,
  .timeline-col-right .timeline-item .year {
    text-align: right;
  }
}

@media (max-width: 600px) {
  .historie-hero .hero-nav { display: none; }
  .historie-hero h1 { font-size: 2rem; }
  .timeline-item { padding: 18px; }
}

/* ===== Contactpagina (2-koloms, zoals origineel) ===== */
.contact-page {
  background: #f4f4f4;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.contact-info .address {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-info .contact-links {
  margin-bottom: 20px;
}

.contact-info .contact-links a,
.map-link {
  display: block;
  color: #d94f3d;
  margin-bottom: 4px;
}

.contact-info .contact-links a:hover,
.map-link:hover {
  color: #b83a2b;
}

.map-link {
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-page .contact-form {
  max-width: none;
}

.contact-page .form-row {
  display: flex;
  gap: 16px;
}

.contact-page .form-row input {
  flex: 1;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
}

.contact-page .contact-form input::placeholder,
.contact-page .contact-form textarea::placeholder {
  color: #999;
}

.contact-page .contact-form textarea {
  min-height: 160px;
}

.contact-page .contact-form button {
  background: #fff;
  color: #333;
  border: 1px solid #999;
}

.contact-page .contact-form button:hover {
  background: #f0f0f0;
}

.contact-maps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-maps iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-page .form-row { flex-direction: column; }
}

/* ===== Ledengrid ===== */
.leden-grid-section {
  background: #f4f4f4;
  padding: 60px 24px 100px;
}

.leden-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lid-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.lid-card .lid-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: #d8d8d8;
}

.lid-card .lid-caption {
  background: #1b1b3a;
  padding: 20px 14px;
  text-align: center;
}

.lid-card .lid-naam {
  color: #e8b923;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
  line-height: 1.3;
}

.lid-card .lid-jaar {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .leden-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .leden-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 420px) {
  .leden-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Footer (licht thema, zoals origineel) ===== */
.quote-light {
  background: #fff;
  padding: 60px 24px 40px;
  text-align: center;
}

.quote-light blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  color: #555;
  font-size: 1.15rem;
  max-width: 780px;
  margin: 0 auto 16px;
}

.quote-light cite {
  font-family: var(--font-heading);
  font-style: normal;
  color: #222;
  font-size: 1.05rem;
}

footer {
  background: #fff;
  padding: 0 24px 40px;
  border-top: none;
}

.footer-divider {
  border: none;
  border-top: 1px solid #e2e2e2;
  max-width: 1100px;
  margin: 0 auto 32px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img { height: 30px; margin: 0; }

.footer-brand span {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-size: 1.1rem;
  color: #222;
  text-transform: uppercase;
}

.footer-bottom .socials { margin: 0; justify-content: flex-start; }
.footer-bottom .socials img { opacity: 0.65; }

@media (max-width: 600px) {
  .footer-bottom { justify-content: center; text-align: center; }
}
