/* ----------------------------------------
   smooth scroll
----------------------------------------- */
html {
  scroll-behavior: smooth;
}

/* ----------------------------------------
   CSS‑variabelen & Fonts
----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

:root {
  --primary: #e63946;
  --bg: #111;
  --section-bg: #1a1a1a;
  --text-light: #f1f1f1;
  --card-bg: #222;
  --radius: 12px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text-light);
  line-height: 1.5;
}

/* ----------------------------------------
   NAVBAR
----------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.6);
  padding: 1rem 0;
  z-index: 10;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-img {
  height: 40px;
  width: auto;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}
.nav-links a:hover {
  color: var(--primary);
}

/* ----------------------------------------
   HERO
----------------------------------------- */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1rem;
}
.hero-logo {
  max-width: 350px;
  width: 90%;
  height: auto;
  margin-bottom: 1rem;
  transition: transform var(--transition);
}
.hero-logo:hover {
  transform: scale(1.05);
}
.hero-content p {
  font-size: 1.25rem;
  margin: 0.5rem 0 1.5rem;
}
.cta-button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.cta-button:hover {
  background: #d62839;
  transform: translateY(-3px);
}

/* ----------------------------------------
   ALGEMENE SECTIE‑STYLING
----------------------------------------- */
section {
  padding: 5rem 0;
  background: var(--section-bg);
}
.container {
  width: min(90%, 1000px);
  margin: auto;
  text-align: center;
}
section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}
section h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: var(--primary);
  display: block;
  margin: 0.5rem auto 0;
}

/* ----------------------------------------
   DETAILS GRID
----------------------------------------- */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.card p,
.card ul {
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
}
.card ul {
  padding-left: 1rem;
  list-style: disc inside;
}

/* ----------------------------------------
   SPONSORS BANNER
----------------------------------------- */
.sponsors-banner {
  background: var(--section-bg);
}
.sponsor-logos-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}
.sponsor-logo {
  max-height: 60px;
  max-width: 45%;
  object-fit: contain;
}

/* ----------------------------------------
   “Wat is een Speedrun?” SECTIE
----------------------------------------- */
.what-speedrun {
  background: var(--bg);
}
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.what-text {
  text-align: left;
}
.what-text h2 {
  margin-bottom: 1rem;
}
.what-text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.what-image img {
  width: 100%;
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  object-fit: cover;
}

/* ----------------------------------------
   VIDEO SECTIE
----------------------------------------- */
.video video {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

/* ----------------------------------------
   DOE MEE SECTIE
----------------------------------------- */
.countdown {
  font-size: 2.2rem;
  margin: 1rem 0 2rem;
  font-weight: 700;
}
.cta-button.big {
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
}

/* ----------------------------------------
   FOOTER
----------------------------------------- */
footer {
  background: #000;
  padding: 2rem 0;
}
footer p {
  color: #777;
  font-size: 0.9rem;
}

/* ----------------------------------------
   RESPONSIVE
----------------------------------------- */
@media (max-width: 768px) {
  .hero {
    height: 85vh;
  }
  .hero-logo {
    max-width: 250px;
  }
  .hero-content p {
    font-size: 1rem;
    margin: 0.5rem 0 1rem;
  }
  .nav-links {
    display: none;
  }
  .what-grid {
    grid-template-columns: 1fr;
  }
  .what-image img {
    clip-path: none;
  }
}



/* ---------------------------------------------------
   Paragraphs in cards: altijd onderlinge witruimte
---------------------------------------------------- */
.card p {
  margin-bottom: 1rem;
}

/* ---------------------------------------------------
   Stijlvolle Vol = Vol banner
---------------------------------------------------- */
.sold-out-banner {
  margin-top: 2rem;
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
