:root {
  --primary: #e10600;
  --secondary: #1e1e1e;
  --accent: #ffcc00;
  --light: #f5f5f5;
  --dark: #15151e;
}

body {
  background: linear-gradient(135deg, var(--dark), var(--secondary));
  color: var(--light);
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
}

header {
  text-align: center;
  padding: 2rem;
  background: rgba(30,30,30,0.85);
  border-bottom: 3px solid var(--primary);
}

header h1 {
  margin: 0;
  color: var(--primary);
  text-transform: uppercase;
}

.intro {
  text-align: center;
  margin: 2rem auto;
  font-size: 1.2rem;
  max-width: 900px;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  padding: 2rem 4%;
}

.car-card {
  background: rgba(20,20,20,0.7);
  padding-bottom: 1rem;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: 0.3s ease;
}

.car-card:hover {
  transform: translateY(-8px);
}

.car-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 1rem;
}

.car-card h2 {
  color: var(--accent);
  margin: 0.5rem 0;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(30,30,30,0.9);
  border-top: 3px solid var(--primary);
  margin-top: 3rem;
}
/* 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);
}