:root {
  --primary: #e10600;
  --secondary: #1e1e1e;
  --accent: #ffcc00;
  --light: #f5f5f5;
  --dark: #15151e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

/* Header */
header {
  background: var(--secondary);
  color: var(--light);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  color: var(--primary);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}
nav {display:flex; align-items:center;}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: var(--light);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent);
}

/* Hero Banner */
.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;         /* verberg wat buiten beeld valt */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Video als achtergrond */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* zorgt dat hij gedraagt als background-size: cover */
  z-index: -1;              /* achter de content */
}

/* Content bovenop de video */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* donkere overlay voor betere leesbaarheid */
  z-index: 1;
}


/* Content Sections */
section {
  padding: 3rem 2rem;
}

section h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--secondary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 1rem;
  color: var(--accent);
}

.card p {
  padding: 0 1rem 1rem;
  color: var(--light);
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--light);
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}
/* Sidebar basis */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* verborgen */
  width: 250px;
  height: 100%;
  background: rgba(30,30,30,0.95);
  backdrop-filter: blur(10px);
  padding-top: 60px;
  transition: left 0.4s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.sidebar a {
  padding: 1rem 2rem;
  text-decoration: none;
  color: var(--light);
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.sidebar a:hover {
  background: var(--primary);
  color: var(--accent);
}

/* Sidebar actief */
.sidebar.active {
  left: 0;
}

/* Menu button */
.menu-btn {
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 1.5rem;
  background: var(--primary);
  color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  z-index: 2100;
  transition: background 0.3s ease;
}

.menu-btn:hover {
  background: var(--accent);
  color: var(--dark);
}
