/* Dodentocht brand colors */
:root {
  --doto-blue: #0A246A;
  --doto-red: #EA2D49;
  --doto-dark: #111111;
  --doto-gray: #738290;
  --doto-light: #EEEEEE;
  --doto-white: #ffffff;
  --font-heading: 'Barlow', sans-serif;
  --font-body: 'Lato', sans-serif;
  --shadow: 0 4px 20px rgba(10, 36, 106, 0.12);
  --shadow-hover: 0 8px 30px rgba(10, 36, 106, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--doto-dark);
  background: var(--doto-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
.site-header {
  background: var(--doto-blue);
  position: relative;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}

.logo-link:hover .logo {
  transform: scale(1.05);
}

.header-text {
  color: var(--doto-white);
}

.header-tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.header-date {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.15rem;
}

.lang-switcher {
  margin-left: auto;
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.25rem;
  border-radius: 999px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--doto-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
  background: var(--doto-white);
  color: var(--doto-blue);
}

.header-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--doto-red) 0%, var(--doto-red) 30%, var(--doto-blue) 30%);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--doto-blue) 0%, #0d2f8a 50%, var(--doto-blue) 100%);
  color: var(--doto-white);
  text-align: center;
  padding: 3rem 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234, 45, 73, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.hero-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--doto-red);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0.25rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.85;
  font-weight: 400;
}

/* ── Quick Links ── */
main {
  flex: 1;
}

.quick-links {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.quick-links h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--doto-blue);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.quick-links h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--doto-red);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--doto-white);
  border: 2px solid var(--doto-light);
  border-radius: 12px;
  text-decoration: none;
  color: var(--doto-dark);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.link-action {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--doto-red);
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--doto-blue);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.link-card:hover {
  border-color: var(--doto-blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.link-card:hover::before {
  transform: scaleY(1);
}

.link-card:hover .link-title {
  color: var(--doto-red);
}

.link-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--doto-blue);
  transition: color 0.25s ease;
  margin-bottom: 0.35rem;
}

.link-desc {
  font-size: 0.875rem;
  color: var(--doto-gray);
  line-height: 1.5;
}

/* ── Sponsors Footer ── */
.sponsors {
  background: var(--doto-white);
  padding: 3.5rem 1.5rem 2.5rem;
  border-top: 1px solid #d9d9d9;
}

.sponsors h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--doto-blue);
  text-align: center;
  margin-bottom: 0.5rem;
}

.sponsors-intro {
  text-align: center;
  color: var(--doto-gray);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.sponsor-group {
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.sponsor-group:last-of-type {
  margin-bottom: 0;
}

.sponsor-group h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--doto-blue);
  text-align: center;
  margin-bottom: 1.75rem;
}

.sponsors-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.25rem 1.5rem;
  align-items: center;
}

.hoofdsponsors-grid {
  margin-bottom: 0;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  border-radius: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  min-height: 120px;
  text-decoration: none;
}

.sponsor-item:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.sponsor-item img {
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
}

.andere-sponsors-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  padding: 0;
  margin: 0;
}

.andere-sponsors-list li {
  font-size: 0.9rem;
  color: var(--doto-dark);
  padding: 0.35rem 0;
  border-bottom: 1px solid #e4e4e4;
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #d5d5d5;
  text-align: center;
  color: var(--doto-gray);
  font-size: 0.85rem;
}

.footer-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--doto-red);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--doto-blue);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sponsors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .andere-sponsors-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }

  .lang-switcher {
    margin-left: 0;
    order: 3;
  }

  .logo {
    width: 70px;
    height: 70px;
  }

  .hero {
    padding: 2rem 1rem 2.5rem;
  }

  .quick-links {
    padding: 2rem 1rem 3rem;
  }

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

  .sponsors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .andere-sponsors-list {
    grid-template-columns: 1fr;
  }
}

/* ── Modal (Foto's) ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal {
  background: var(--doto-white);
  width: 100%;
  max-width: 720px;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--doto-blue);
  font-size: 1.6rem;
  margin-right: 2rem;
}

.modal-desc {
  color: var(--doto-gray);
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(10, 36, 106, 0.08);
  color: var(--doto-blue);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(10, 36, 106, 0.14);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.modal-btn {
  border: 2px solid var(--doto-blue);
  background: var(--doto-white);
  color: var(--doto-blue);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.modal-btn:hover {
  background: var(--doto-blue);
  color: var(--doto-white);
  transform: translateY(-1px);
}
