/* ============================================================
   HAMAPARTS — Stylesheet
   ============================================================ */
:root {
  --ink: #14181d;
  --ink-soft: #3d4650;
  --muted: #6b7683;
  --bg: #f6f7f9;
  --white: #ffffff;
  --accent: #e63b11;          /* Hamaparts oranje-rood */
  --accent-dark: #c22f0b;
  --line: #e3e7ec;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 24, 29, .08);
  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .02em; }

/* ===== Topbar ===== */
.topbar { background: var(--ink); color: #cfd6dd; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 7px 20px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar-sep { opacity: .4; margin: 0 8px; }

/* ===== Nav ===== */
.nav { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; padding: 14px 20px; }
.logo {
  font-family: var(--font-head); font-weight: 800; font-size: 1.7rem;
  color: var(--ink); letter-spacing: .03em;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; margin-left: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; transition: .18s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #14181d 0%, #232b34 60%, #2d1a12 100%);
  color: #fff; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 84px 20px; }
.hero-kicker { color: #f2a48f; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; font-weight: 800; }
.hero .accent { color: var(--accent); }
.hero-sub { color: #b8c1cb; margin: 20px 0 28px; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-usps { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: #d6dde4; font-size: .9rem; font-weight: 500; }
.hero-art { color: rgba(255,255,255,.16); }
.hero-art svg { width: 100%; max-width: 420px; }

/* ===== Brands strip ===== */
.brands { background: var(--white); border-bottom: 1px solid var(--line); padding: 28px 0; }
.brands-title { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--muted); font-weight: 700; margin-bottom: 16px; }
.brands-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.brand-pill {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-transform: uppercase;
  color: var(--ink-soft); background: var(--bg); border: 1px solid var(--line);
  padding: 6px 18px; border-radius: 999px; cursor: pointer; transition: .15s;
}
.brand-pill:hover { color: var(--accent); border-color: var(--accent); }
.brand-pill-logo { display: flex; align-items: center; background: var(--white); padding: 8px 20px; }
.brand-pill-logo img { height: 26px; width: auto; max-width: 120px; object-fit: contain; display: block; }
.brand-pill-logo:hover { border-color: var(--accent); transform: translateY(-1px); }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--muted); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-head p { color: #aab4bf; }
.section-dark a { color: #ff8a65; }

/* ===== Catalog ===== */
.catalog-controls { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-body); font-weight: 600; font-size: .85rem;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink-soft); cursor: pointer; transition: .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 7px; }
.chip-logo { height: 15px; width: auto; max-width: 54px; object-fit: contain; }
.chip.active .chip-logo { background: #fff; border-radius: 4px; padding: 2px 4px; height: 17px; }
.logo-darken { filter: brightness(0); }
.catalog-count { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.scooter-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s;
}
.scooter-card:hover { transform: translateY(-4px); }
.scooter-visual {
  height: 170px; display: flex; align-items: center; justify-content: center;
  position: relative; color: rgba(255,255,255,.85);
  background: linear-gradient(135deg, var(--card-accent) 0%, color-mix(in srgb, var(--card-accent) 80%, #000) 100%);
}
/* Silhouet-terugval (geen foto, of foto mislukt) */
.scooter-visual svg { width: 96px; height: 72px; }
/* Kaart mét echte productfoto: lichte, nette achtergrond */
.scooter-visual.has-photo {
  background: #f2f4f7;
  border-bottom: 3px solid var(--card-accent);
}
.scooter-visual.no-photo {
  background: linear-gradient(135deg, var(--card-accent) 0%, color-mix(in srgb, var(--card-accent) 80%, #000) 100%);
}
.scooter-photo {
  width: 100%; height: 100%; object-fit: contain; padding: 10px 14px; display: block;
}
.scooter-tag {
  position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.45);
  color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(2px); z-index: 1;
}
.scooter-body { padding: 12px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.scooter-brand { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.scooter-brand-logo { height: 22px; max-width: 96px; width: auto; object-fit: contain; object-position: left center; display: block; margin-bottom: 3px; }
.scooter-model { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; }
.scooter-meta { font-size: .8rem; color: var(--muted); }
/* Kleurkiezer — direct onder de foto */
.scooter-colors {
  display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap;
  padding: 11px 18px 2px;
}
.scooter-colorname { font-size: .76rem; font-weight: 600; color: var(--muted); min-height: 1em; }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.swatch {
  width: 20px; height: 20px; border-radius: 50%; cursor: pointer; padding: 0;
  background: var(--sw); border: 1px solid rgba(0,0,0,.2);
  box-shadow: inset 0 0 0 2px #fff; transition: transform .12s, box-shadow .12s;
}
.swatch:hover { transform: scale(1.12); }
.swatch.active { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--accent); }

.scooter-price { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 1.15rem; }
.scooter-price small { display: block; font-size: .7rem; color: var(--muted); font-weight: 500; }
.catalog-note { margin-top: 26px; font-size: .82rem; color: var(--muted); max-width: 70ch; }
.catalog-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px 0; }

/* ===== Cards (diensten/werkplaats) ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 26px;
}
.section:not(.section-dark) .card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card-icon { font-size: 1.9rem; margin-bottom: 12px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { font-size: .9rem; color: inherit; opacity: .82; }

/* ===== Contact ===== */
.section-contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-grid h2 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-list strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hours-title { font-size: 1.2rem; margin-bottom: 10px; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; font-size: .92rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #8a95a1; padding: 26px 0; font-size: .85rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo-footer { color: #fff; font-size: 1.3rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 20px; }
  .hero-art { display: none; }
  .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 18px 24px; gap: 14px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
}
