/* ─────────────────────────────────────────────────────────────
   Visspecialist van Wijk – Gedeelde stijlen
───────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
}

a { color: #1565C0; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 40px;
  width: auto;
}
.logo span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a3a6e;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  padding: 8px 14px;
  color: #333;
  font-size: 0.92rem;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav a:hover { color: #1565C0; text-decoration: none; }
.site-nav a.active { color: #1565C0; font-weight: 600; }

.btn-contact {
  background: #1565C0;
  color: #fff !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 8px 16px;
}
.btn-contact:hover { background: #0d47a1; }

/* Winkelwagen knop in nav */
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: #333;
  font-size: 0.92rem;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.15s;
}
.cart-link:hover { color: #1565C0; text-decoration: none; }
.cart-link svg { width: 20px; height: 20px; }

.cart-badge {
  display: none;
  position: absolute;
  top: 2px;
  right: 6px;
  background: #e53935;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  text-align: center;
  line-height: 17px;
}

.header-cart-btn {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 4px;
  margin-left: auto;
  transition: color 0.15s;
}
.header-cart-btn svg {
  width: 24px;
  height: 24px;
}
.header-cart-btn .cart-badge {
  top: 0;
  right: 0;
  font-size: 0.6rem;
  width: 15px;
  height: 15px;
  line-height: 15px;
}
.header-cart-btn:hover { color: #1565C0; }

@media (max-width: 768px) {
  .header-cart-btn { display: flex; }
}

/* ── KNOPPEN ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: #1565C0;
  color: #fff;
}
.btn-primary:hover { background: #0d47a1; color: #fff; text-decoration: none; }

.btn-light {
  background: #42a5f5;
  color: #fff;
}
.btn-light:hover { background: #1e88e5; color: #fff; text-decoration: none; }

.btn-outline {
  background: transparent;
  color: #1565C0;
  border: 2px solid #1565C0;
}
.btn-outline:hover { background: #1565C0; color: #fff; text-decoration: none; }

.btn-danger {
  background: #e53935;
  color: #fff;
}
.btn-danger:hover { background: #b71c1c; }

.btn-sm { padding: 6px 14px; font-size: 0.82rem; }

/* ── PAGINATITEL ──────────────────────────────────────────── */
.page-hero {
  background: #1565C0;
  color: #fff;
  padding: 32px 40px;
}
.page-hero h1 { font-size: 1.8rem; font-weight: 800; }
.page-hero p  { font-size: 0.95rem; margin-top: 6px; opacity: 0.85; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── MELDINGEN ────────────────────────────────────────────── */
.alert {
  padding: 12px 18px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.alert-success { background: #e8f5e9; border: 1px solid #66bb6a; color: #1b5e20; }
.alert-error   { background: #ffebee; border: 1px solid #ef9a9a; color: #b71c1c; }
.alert-info    { background: #e3f2fd; border: 1px solid #90caf9; color: #0d47a1; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: #1a3a6e;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 20px;
  font-size: 0.82rem;
  margin-top: 60px;
}

/* ── HAMBURGER ────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  color: #333;
  font-size: 1.8rem;
  line-height: 1;
  border-radius: 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { color: #1565C0; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header {
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: flex;
    margin-left: 4px;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px 0 8px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    display: flex;
    align-items: center;
    padding: 11px 8px;
    font-size: 0.95rem;
    border-radius: 4px;
  }
  .site-nav .btn-contact {
    justify-content: center;
    margin-top: 4px;
  }
  .page-hero { padding: 24px 16px; }
  .page-hero h1 { font-size: 1.4rem; }
}
