/*
  RAAK Zele-Heikant — Fietszoektocht
  Full custom stylesheet (replaces the old Sentra template styling).
*/

:root {
  --brand: #45489a;
  --brand-dark: #2f316b;
  --accent: #ff6b35;
  --accent-solid-dark: #e05220;
  --ink: #1b1b1f;
  --muted: #666672;
  --bg: #ffffff;
  --bg-tint: #f5f4fb;
  --dark: #15151a;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--muted);
  line-height: 1.7;
  background: var(--bg);
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.brand span {
  font-weight: 600;
  color: var(--accent);
}

.is-scrolled .brand {
  color: var(--ink);
}

#main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

#main-nav a {
  display: inline-block;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #fff;
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.is-scrolled #main-nav a {
  color: var(--ink);
}

#main-nav a:hover,
#main-nav a.active-section {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 21, 26, 0.35) 0%, rgba(21, 21, 26, 0.55) 55%, rgba(21, 21, 26, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 100px;
  width: 100%;
  color: #fff;
}

.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.eyebrow-light {
  color: #ffb28f;
}

.hero-content h1 {
  color: #fff;
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.35);
}

.btn-accent:hover {
  background: var(--accent-solid-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 15px;
}

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

.section {
  padding: 110px 24px;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-size: 38px;
  margin-bottom: 24px;
}

.section h2.light {
  color: #fff;
}

.section-lead {
  font-size: 16px;
  margin: -12px auto 32px;
  max-width: 520px;
}

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

.section-dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Image cards (reglement / kaart) ---------- */

.card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20, 20, 30, 0.15);
}

.image-card a {
  display: block;
  transition: transform 0.4s ease;
}

.image-card:hover a {
  transform: scale(1.015);
}

.image-card img {
  width: 100%;
}

.zoom-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.zoom-link:hover {
  color: var(--accent-solid-dark);
  border-color: currentColor;
}

/* ---------- Divider bands ---------- */

.divider {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.divider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 26, 0.5);
}

.divider-text {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  text-align: center;
  max-width: 640px;
  margin: 0;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  text-align: left;
  align-items: center;
  margin-top: 20px;
}

.map-card iframe {
  display: block;
}

.contact-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

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

.site-footer {
  background: var(--dark);
  text-align: center;
  padding: 28px 24px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  margin-bottom: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.site-footer a:hover {
  background: var(--accent);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 46px;
  }

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

@media (max-width: 767px) {
  #main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #main-nav.open {
    max-height: 320px;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 16px 20px;
  }

  #main-nav a {
    color: var(--ink);
    padding: 12px 10px;
    border-radius: 6px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 16px;
  }

  .section {
    padding: 70px 20px;
  }

  .section h2 {
    font-size: 28px;
  }

  .divider {
    min-height: 200px;
  }

  .divider-text {
    font-size: 18px;
  }
}
