/* =========================================================
   Handelsonderneming S. de Jong — Stylesheet
   Kleuren: #1e4d6b primair, #5a8ba8 accent, #f5f7f9 grijs
   ========================================================= */

/* ---------- Reset & basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1e4d6b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--grey {
  background-color: #f5f7f9;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header p {
  color: #5a6975;
  margin-top: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background-color: #1e4d6b;
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #163a52;
  box-shadow: 0 4px 12px rgba(30, 77, 107, 0.25);
}

.btn--secondary {
  background-color: #ffffff;
  color: #1e4d6b;
  border-color: #1e4d6b;
}

.btn--secondary:hover {
  background-color: #f5f7f9;
}

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

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

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e9ee;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.2s ease;
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header.hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #1e4d6b;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

.logo:hover { text-decoration: none; }

.logo__mark {
  width: 38px;
  height: 38px;
  background-color: #1e4d6b;
  color: #ffffff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__text small {
  color: #5a6975;
  font-weight: 500;
  font-size: 0.75rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  gap: 1.75rem;
}

.nav__link {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav__link:hover {
  color: #1e4d6b;
  text-decoration: none;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background-color: #1e4d6b;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1a1a1a;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }

.menu-toggle.open .menu-toggle__bars { background: transparent; }
.menu-toggle.open .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: 72px;
  min-height: 600px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(30, 77, 107, 0.85) 0%, rgba(30, 77, 107, 0.55) 100%),
    url('images/hero.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 4rem 0 0;
}

.hero__content {
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__stats {
  margin-top: 2rem;
  background-color: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.stat__number {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Voorraad / cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border: 1px solid #e5e9ee;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 77, 107, 0.12);
}

.card__image {
  aspect-ratio: 4 / 3;
  background-color: #f5f7f9;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #5a6975;
}

.card__specs span {
  background-color: #f5f7f9;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.card__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e4d6b;
  margin-top: auto;
}

.card__btn {
  margin-top: 0.5rem;
}

.cards-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.cards-cta a {
  font-weight: 600;
  font-size: 1rem;
}

/* ---------- Service cards ---------- */
.service-card {
  background-color: #ffffff;
  border: 1px solid #e5e9ee;
  border-radius: 10px;
  padding: 1.75rem;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #5a8ba8;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background-color: #1e4d6b;
  color: #ffffff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #5a6975;
  font-size: 0.95rem;
}

/* ---------- Specialisatie sectie ---------- */
.specialty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.specialty__image img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.specialty__eyebrow {
  color: #5a8ba8;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.specialty h2 {
  margin-bottom: 1rem;
}

.specialty p {
  color: #3d4a55;
  margin-bottom: 1rem;
}

.specialty__list {
  margin: 1.25rem 0 1.75rem;
}

.specialty__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  color: #1a1a1a;
}

.specialty__list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #1e4d6b;
  margin-top: 2px;
}

/* ---------- Booking CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #1e4d6b 0%, #5a8ba8 100%);
  color: #ffffff;
  text-align: center;
  padding: 3.5rem 1.25rem;
  border-radius: 12px;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Over Ons ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about p {
  color: #3d4a55;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about__image img {
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ---------- Contact sectie ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__info h3 {
  margin-bottom: 1rem;
  color: #1e4d6b;
}

.contact__list {
  margin-bottom: 2rem;
}

.contact__list li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.contact__list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #1e4d6b;
  margin-top: 4px;
}

.contact__list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #1a1a1a;
}

.contact__list a {
  color: #1a1a1a;
}

.contact__map {
  background-color: #f5f7f9;
  border-radius: 12px;
  height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #5a6975;
  border: 1px dashed #cbd5dc;
}

.contact__map svg {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  color: #5a8ba8;
}

/* ---------- Form ---------- */
.form {
  background-color: #ffffff;
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid #e5e9ee;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form h3 {
  margin-bottom: 0.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a1a1a;
}

.form__group label .required {
  color: #c0392b;
}

.form__group input,
.form__group select,
.form__group textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cbd5dc;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1a1a1a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: #1e4d6b;
  box-shadow: 0 0 0 3px rgba(30, 77, 107, 0.15);
}

.form__group input.error,
.form__group select.error,
.form__group textarea.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form__error {
  color: #c0392b;
  font-size: 0.85rem;
  display: none;
}

.form__error.visible { display: block; }

/* ---------- Footer ---------- */
.footer {
  background-color: #1a1a1a;
  color: #b0b8c1;
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer a {
  color: #b0b8c1;
}

.footer a:hover {
  color: #ffffff;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  background-color: #2a2a2a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}

.footer__social a:hover {
  background-color: #1e4d6b;
}

.footer__social svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.footer__bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* =========================================================
   BOOKING.HTML — Stappenformulier
   ========================================================= */

.booking-page {
  margin-top: 72px;
  padding: 3rem 0 4rem;
  background-color: #f5f7f9;
  min-height: calc(100vh - 72px);
}

.booking-header {
  text-align: center;
  margin-bottom: 2rem;
}

.booking-header p {
  color: #5a6975;
  margin-top: 0.5rem;
}

.booking {
  max-width: 720px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid #e5e9ee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.progress {
  margin-bottom: 2rem;
}

.progress__bar {
  height: 6px;
  background-color: #e5e9ee;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #1e4d6b, #5a8ba8);
  border-radius: 100px;
  transition: width 0.3s ease;
  width: 20%;
}

.progress__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #5a6975;
  font-weight: 500;
}

.step {
  display: none;
  animation: fadeIn 0.25s ease;
}

.step.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.step__intro {
  color: #5a6975;
  margin-bottom: 1.5rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #cbd5dc;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.radio-option:hover {
  border-color: #5a8ba8;
  background-color: #f5f7f9;
}

.radio-option input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #1e4d6b;
}

.radio-option:has(input:checked) {
  border-color: #1e4d6b;
  background-color: #eef4f8;
}

.radio-option__title {
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}

.radio-option__desc {
  color: #5a6975;
  font-size: 0.9rem;
}

.step__nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e9ee;
}

.step__nav .btn--secondary {
  background-color: #f5f7f9;
  border-color: #cbd5dc;
}

.summary {
  background-color: #f5f7f9;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1rem 0 1.5rem;
}

.summary dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1rem;
}

.summary dt {
  font-weight: 600;
  color: #5a6975;
}

.summary dd {
  color: #1a1a1a;
}

.success {
  text-align: center;
  padding: 2rem 0 1rem;
}

.success__icon {
  width: 72px;
  height: 72px;
  background-color: #d4edda;
  color: #155724;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}

.success__icon svg {
  width: 36px;
  height: 36px;
}

.success h2 {
  color: #1e4d6b;
  margin-bottom: 0.5rem;
}

.success p {
  color: #5a6975;
  margin-bottom: 1.5rem;
}

.success .summary {
  text-align: left;
  margin-bottom: 1.5rem;
}

/* =========================================================
   RESPONSIVE — Mobiel-eerst breakpoints
   ========================================================= */

@media (max-width: 900px) {
  .specialty,
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e9ee;
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 1rem;
  }

  .nav__cta {
    width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    min-height: 540px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 3rem;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__stats-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .booking {
    padding: 1.5rem 1.25rem;
  }

  .step__nav {
    flex-direction: column-reverse;
  }

  .step__nav .btn {
    width: 100%;
  }

  .summary dl {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .summary dt { margin-top: 0.5rem; }
  .summary dt:first-child { margin-top: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding-top: 3rem; }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ---------- Toegankelijkheid ---------- */
:focus-visible {
  outline: 3px solid #5a8ba8;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
