/* ============================================================
   SPORTCAFÉ DE KUIL — Gedeelde stijlen
   Kleurenschema: donkergrijs #3d3d3d, wit, oranje #f97316
   ============================================================ */

:root {
  --donkergrijs:  #3d3d3d;
  --grijs:        #6b7280;
  --lichtgrijs:   #f5f5f5;
  --wit:          #ffffff;
  --oranje:       #f97316;
  --oranje-hover: #ea6c0a;
  --oranje-licht: #fff7ed;
  --groen:        #16a34a;
  --rood:         #dc2626;
  --shadow:       0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.15);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   all 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--lichtgrijs);
  color: var(--donkergrijs);
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- Typografie ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--grijs); }

a { color: inherit; text-decoration: none; }

/* ---- Navigatie ---- */
.navbar {
  background: var(--donkergrijs);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wit);
}

.navbar-logo span { color: var(--oranje); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar-links a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
}

.navbar-links a:hover,
.navbar-links a.actief {
  color: var(--wit);
  background: rgba(255,255,255,0.10);
}

.navbar-links a.btn-bestellen {
  background: var(--oranje);
  color: var(--wit);
  font-weight: 600;
}

.navbar-links a.btn-bestellen:hover { background: var(--oranje-hover); }

/* Cart knop met badge */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

#cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--oranje);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Hamburger menu (mobiel) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--wit);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Knoppen ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--oranje);
  color: var(--wit);
}

.btn-primary:hover { background: var(--oranje-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.35); }

.btn-secondary {
  background: transparent;
  color: var(--wit);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn-outline {
  background: transparent;
  color: var(--oranje);
  border: 2px solid var(--oranje);
}

.btn-outline:hover { background: var(--oranje); color: white; }

.btn-danger {
  background: var(--rood);
  color: white;
}

.btn-danger:hover { background: #b91c1c; }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- Kaarten ---- */
.card {
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body { padding: 1.5rem; }

/* ---- Grid helpers ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }

/* ---- Sectie titels ---- */
.sectie-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sectie-header p { max-width: 600px; margin: 0.75rem auto 0; }

.label-boven {
  display: inline-block;
  background: var(--oranje-licht);
  color: var(--oranje);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}

/* ---- Formulier elementen ---- */
.form-groep {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-groep label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--donkergrijs);
}

.form-groep input,
.form-groep select,
.form-groep textarea {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--wit);
  color: var(--donkergrijs);
}

.form-groep input:focus,
.form-groep select:focus,
.form-groep textarea:focus {
  outline: none;
  border-color: var(--oranje);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

/* ---- Status badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-nieuw          { background: #dbeafe; color: #1e40af; }
.badge-behandeling    { background: #fef3c7; color: #92400e; }
.badge-klaar          { background: #d1fae5; color: #065f46; }
.badge-afgeleverd     { background: #f3f4f6; color: #374151; }

/* ---- Toast notificaties ---- */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--donkergrijs);
  color: var(--wit);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.3s ease;
  max-width: 320px;
}

.toast.success { border-left: 4px solid var(--groen); }
.toast.error   { border-left: 4px solid var(--rood); }
.toast.info    { border-left: 4px solid var(--oranje); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ---- Footer ---- */
footer {
  background: var(--donkergrijs);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: var(--wit);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--oranje); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Divider ---- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--oranje);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* ---- Responsief ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .navbar-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--donkergrijs);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
  }

  .navbar-links.open { display: flex; }
  .navbar-links a { width: 100%; }

  .section { padding: 3rem 0; }
  h1 { font-size: 2rem; }
}
