:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --background: #0f172a;
  --surface: #1e293b;
  --text-primary: #f0f0f0;
  --text-muted: #a0aec0;
  --accent: #2563eb;
  --shadow: rgba(37, 99, 235, 0.3);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover,
a:focus {
  color: var(--primary-dark);
  outline: none;
  text-shadow: 0 0 8px var(--primary-dark);
}

header {
  background-color: var(--surface);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px var(--shadow);
}

header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  cursor: default;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
nav a:hover,
nav a:focus,
nav a.active {
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Main Content */
main {
  max-width: 1100px;
  margin: 3rem auto 5rem auto;
  padding: 0 2rem;
  flex: 1;
}

/* Intro */
.shop-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.shop-intro h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.shop-intro p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Categories Grid */
/* Categories Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Altijd 3 kolommen */
  gap: 2rem;
}


.category-card {
  background-color: var(--surface);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 0 15px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  outline: none;
}
.category-card:hover,
.category-card:focus {
  transform: translateY(-5px);
  box-shadow: 0 0 25px var(--shadow);
}

.category-card h3 {
  margin: 0 0 0.8rem 0;
  font-size: 1.5rem;
  color: var(--accent);
}
.category-card h3 a {
  color: var(--accent);
}
.category-card h3 a:hover {
  text-decoration: underline;
}
.category-card p {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
}

/* Footer */
footer {
  background-color: var(--surface);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -2px 10px var(--shadow);
}
footer a {
  color: var(--accent);
}
footer a:hover {
  color: #00a96b;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    gap: 1rem;
  }
  .shop-intro h2 {
    font-size: 2rem;
  }
  .shop-intro p {
    font-size: 1rem;
  }
  .category-card h3 {
    font-size: 1.3rem;
  }
  .category-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolommen op tablets */
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr; /* 1 kolom op mobiel */
  }
}

