/* =================================
   FONT SETUP
================================= */
@font-face {
  font-family: "VWHead";
  src: url("fonts/VWHead-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "VWText";
  src: url("fonts/VWText-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* =================================
   ROOT VARIABLES
================================= */
:root {
  --bg: #0b0b0b;
  --fg: #ffffff;
  --ink: #111;
  --muted: #888;
  --max: 1100px;
  --beige: #faf9f7;
  --section-padding: 80px;
  --gutter: 16px;

  /* Services */
  --services-red: #b22222;
}

/* =================================
   GLOBAL RESET & TYPOGRAPHY
================================= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "VWText", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
  background: #fff;
}
h1,
h2,
h3 {
  font-family: "VWHead", Arial, sans-serif;
  font-weight: bold;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.2;
  margin: 0 0 24px;
  color: #111;
}
p {
  margin: 0 0 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* =================================
   LAYOUT SECTIONS
================================= */
section,
.band,
.werkplaats {
  width: 100%;
  max-width: none;
  padding: var(--section-padding) var(--gutter);
  margin: 0;
  border: none;
}
section > *,
.band > * {
  max-width: var(--max);
  margin: 0 auto;
}

/* subtle separators between blocks (optional) */
body > *:not(.nav):not(.hero):not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* === Global title alignment & spacing === */
section > h2,
.band > h2,
.band > section > h2 {
  max-width: var(--max);
  margin: 0 auto 1.5rem; /* gap from title to body */
  padding: 0 var(--gutter);
}
#about .about,
#services .rail,
#reviews .reviews,
#contact section,
#werkplaats .werkplaats__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =================================
   NAV
================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.nav__inner {
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px var(--gutter);
}
.brand {
  font-family: "VWHead", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.spacer {
  flex: 1;
}
.nav a {
  padding: 8px 10px;
  border-radius: 6px;
}
.nav a:hover,
.nav a:focus {
  background: #f3f3f3;
}

/* =================================
   HERO
================================= */
.hero {
  background: var(--beige);
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 100px 0;
}
.hero > div {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brandmark {
  width: min(520px, 90vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.03));
}
.cta {
  margin-top: 18px;
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
}
.cta:hover {
  opacity: 0.9;
}

/* =================================
   BANDS (dark sections)
================================= */
.band {
  background: var(--ink);
  color: var(--fg);
}
.band h2 {
  color: var(--fg);
}

/* =================================
   ABOUT
================================= */
.about {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .about {
    grid-template-columns: 1fr 1fr;
  }
}

/* =================================
   HORIZONTAL SCROLLER (generic)
================================= */
.rail {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.scroll::-webkit-scrollbar {
  height: 8px;
}
.scroll::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 8px;
}
.card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #111;
  color: #fff;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
}
.card img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}
.card .pad {
  padding: 14px;
}
.arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  border: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.arrow:hover {
  background: #f3f3f3;
}
.arrow--left {
  left: 6px;
}
.arrow--right {
  right: 6px;
}
.scroll.is-short {
  justify-content: center;
}

/* =================================
   WERKPLAATS
================================= */
.werkplaats {
  background: var(--beige);
}
.werkplaats__inner {
  display: grid;
  gap: 24px;
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .werkplaats__inner {
    grid-template-columns: 1fr 1.2fr;
  }
}
.werkplaats__copy h2 {
  margin: 0 0 12px;
}
.werkplaats__copy p {
  margin: 0;
  max-width: 40ch;
  color: #333;
}

/* IG-style slider */
.ig-slider {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #ddd;
  height: 70vh;
  min-height: 500px;
  max-height: 900px;
}
.ig-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.4s ease;
}
.ig-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}
.ig-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ig-prev {
  left: 10px;
}
.ig-next {
  right: 10px;
}
.ig-btn:hover {
  background: #f5f5f5;
}
.ig-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  translate: -50% 0;
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}
.ig-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
}
.ig-dots button[aria-current="true"] {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}

/* =================================
   REVIEWS
================================= */
#reviews h2 {
  margin-bottom: 32px;
}
.reviews {
  display: grid;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 720px) {
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
}
.review {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review p {
  margin-bottom: 12px;
}
.review small {
  color: var(--muted);
}

/* =================================
   CONTACT
================================= */
#contact {
  padding-top: 48px;
  padding-bottom: 48px;
}
#contact h2 {
  margin-bottom: 24px;
}
.contact-card {
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 14px;
}
.contact-grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 680px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =================================
   FOOTER
================================= */
footer {
  color: #666;
  text-align: center;
  padding: 40px var(--gutter);
}

/* =================================
   SERVICES (Wat We Doen)
================================= */
#services .scroll {
  gap: 14px;
}

#services .card {
  flex: 0 0 280px;
  max-width: 280px;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1200px) {
  #services .card {
    flex-basis: 300px;
    max-width: 300px;
    height: 400px;
  }
}
#services .card img {
  height: 65%;
  width: 100%;
  object-fit: cover;
}
#services .card .pad {
  min-height: 35%;
  margin-top: auto;
  background: var(--services-red);
  color: #fff;
  padding: 10px 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#services .card h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  margin: 0 0 4px;
  font-weight: 800;
  color: #fff;
}
#services .card p {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.35;
  margin: 0;
  color: #fff;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* =========================
   NAV: desktop/tablet default
========================= */
.nav__inner {
  flex-wrap: nowrap;
}
.brand {
  white-space: nowrap;
  line-height: 1;
}
.nav__links {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
}
.nav__links a {
  white-space: nowrap;
}
.nav__toggle {
  display: none;
} /* hidden by default */

/* Small laptops/tablets: tiny spacing tweak (optional) */
@media (min-width: 701px) and (max-width: 980px) {
  .nav__inner {
    gap: 12px;
  }
  .nav__links {
    gap: 10px;
  }
  .nav__links a {
    font-size: 0.95rem;
  }
  .brand {
    font-size: clamp(18px, 2.2vw, 22px);
  }
}

/* =========================
   NAV: phones (hamburger)
   -> triggers before links wrap
========================= */
@media (max-width: 900px) {
  .nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #f3f3f3;
    cursor: pointer;
  }
  .nav__toggle:hover {
    background: #e9e9e9;
  }
  /* Lucide icon inside the toggle */
  .nav__toggle svg {
    width: 26px;
    height: 26px;
    stroke: #111;
    display: block;
    transition: transform 0.2s ease;
  }
  /* subtle rotate when open (optional) */
  .nav__toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
  }

  .nav__links {
    position: fixed;
    top: calc(var(--nav-h, 56px) + 6px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    z-index: 20;
  }
  .nav__links.is-open {
    display: flex;
  }
}

/* Force desktop/tablet inline, hide toggle */
@media (min-width: 901px) {
  .nav__toggle {
    display: none;
  }
  .nav__links {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
  }
}
