/* =======================
   RESET & BASIS
   ======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: Arial, sans-serif;
}

/* =======================
   NAVBAR
   ======================= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 30px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 85px;
  width: auto;
  display: block;
  image-rendering: auto;
}

/* Navigatie */
.topnav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.topnav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s;
}

.topnav ul li a:hover,
.topnav a.active {
  color: orange;
}

/* =======================
   ALGEMENE CONTENT
   ======================= */
main {
  padding: 130px 20px 40px; /* ruimte voor vaste navbar */
  text-align: center;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
}

/* =======================
   WERKEN – TABEL
   ======================= */
.werken-tabel {
  width: 85%;
  margin: 0 auto;
  border-collapse: collapse;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.werken-tabel th,
.werken-tabel td {
  border: 1px solid #ddd;
  padding: 15px;
  font-size: 1em;
}

.werken-tabel th {
  background-color: #f9f9f9;
  font-weight: bold;
}

.werken-tabel td a {
  color: orange;
  text-decoration: none;
  font-weight: bold;
}

.werken-tabel td a:hover {
  text-decoration: underline;
}

/* =======================
   PROJECTEN / FOTO-GALERIJ
   ======================= */
.projecten-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}

.project {
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.project:hover {
  transform: scale(1.05);
}

.project img {
  width: 100%;
  height: auto;
  display: block;
}

/* Detailpagina – 1 foto groter */
.detailpagina {
  max-width: 900px;
  margin: 140px auto 40px auto;
  padding: 20px;
  text-align: center;
}

.detailpagina h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #d35400;
}

.detailpagina img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border: 5px solid #f3f3f3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

/* Onze werken – grid */
.gallery {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 10px 0 40px;
}

.gallery .project {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery .project:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.gallery .project img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.gallery .project p {
  padding: 10px 12px 14px;
  font-weight: 600;
}

/* =======================
   LIGHTBOX
   ======================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox .btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
}
.lightbox .btn:hover { background: rgba(0,0,0,0.75); }

.lightbox .close { top: 20px; right: 20px; }
.lightbox .prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .next  { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox .counter {
  position: absolute;
  bottom: 18px;
  color: #fff;
  font-weight: 600;
  letter-spacing: .3px;
}

/* =======================
   OVER ONS
   ======================= */
.over-ons {
  max-width: 900px;
  margin: 150px auto 90px;
  padding: 0 20px;
  text-align: left;
  line-height: 1.8;
  color: #333;
}

.over-ons h1 {
  text-align: center;
  font-size: 2.6em;
  margin-bottom: 34px;
  color: #d35400;
}

.over-ons p,
.over-ons li {
  font-size: 1.125rem;
}

.over-ons p { margin-bottom: 20px; }

.over-ons ul {
  margin: 6px 0 0 22px;
}

.over-ons strong {
  color: #d35400;
}

/* Layout met 2 kolommen (tekst + beeld) – optioneel */
.over-ons__wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.over-ons .cta {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
  padding: 14px 22px;
  border-radius: 999px;
  background: #d35400;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  transition: transform .15s, box-shadow .15s;
}

.over-ons .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
}

/* Beelden rechts */
.over-ons__media.stack {
  display: grid;
  gap: 16px;
}

.over-ons__media.stack img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.over-ons__media.stack img.crop-bottom {
  object-position: center 35%;
}

/* =======================
   SERVICES (HOME)
   ======================= */
.services {
  width: min(1200px, 92%);
  margin: 60px auto 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.services h2 {
  font-size: 2.2rem;
  letter-spacing: .5px;
  margin-bottom: 14px;
  color: #d35400;
}

.services p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 18px;
}

.services__right {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.services__right ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.services__right li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  line-height: 1.6;
}
.services__right li:last-child { border-bottom: none; }

.services__locatie {
  display: inline-block;
  background: #fff3e9;
  color: #d35400;
  border: 1px solid #ffd7b8;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  margin: 6px 0 14px;
}

/* CTA-knoppen */
.btn-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #d35400;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-cta:hover {
  background: #b94600;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
}

/* =======================
   HERO (HOME)
   ======================= */
.hero {
  position: relative;
  background: url('images/auto.jpeg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: 100px;   /* ruimte onder navbar */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 25px;
}

/* =======================
   CONTACT
   ======================= */
.contact {
  max-width: 900px;
  margin: 150px auto 80px;
  padding: 0 20px;
  text-align: left;
}

.contact h1 {
  text-align: center;
  margin-bottom: 12px;
  color: #d35400;
}

.contact p {
  text-align: center;
  margin-bottom: 24px;
  color: #333;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  background: #f8f8f8;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #222;
  padding: 10px 6px;
  border-radius: 10px;
  transition: background .15s ease, transform .15s ease;
}

.contact-row:hover {
  background: #fff;
  transform: translateY(-1px);
}

.contact-row svg {
  width: 26px;
  height: 26px;
  fill: #d35400;
  flex: 0 0 26px;
}

.contact-row span {
  font-size: 1.05rem;
}

/* Socials */
.socials-col h3 {
  margin: 0 0 12px;
  text-align: left;
  font-size: 1.05rem;
  color: #333;
}

.socials-list {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.social-btn img {
  width: 30px;
  height: 30px;
  display: block;
}

.social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
  background: #fff3e9;
}

/* Contact-foto onderaan */
.contact-photo {
  margin: 28px auto 0;
  text-align: center;
}

.contact-photo img {
  display: block;
  width: min(1000px, 94%);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* =======================
   SHOWCASE / CARROUSEL
   ======================= */
.showcase {
  width: min(1300px, 94%);
  margin: 40px auto 80px;
  text-align: center;
}

.showcase h2 {
  font-size: 2.2rem;
  color: #d35400;
  letter-spacing: .5px;
  margin-bottom: 16px;
}

/* scroll-snap viewport */
.sc-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

/* horizontale rij items */
.sc-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 26px*4)/5);
  gap: 26px;
}

.sc-item {
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  background: #fff;
}

.sc-item img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Dots */
.sc-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
}
.sc-dots a {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cfcfcf;
  display: inline-block;
  transition: transform .15s, background .15s;
}
.sc-dots a:hover {
  transform: scale(1.15);
  background:#999;
}

/* =======================
   RESPONSIVE BREAKPOINTS
   ======================= */

/* Gallery & showcase kolommen verkleinen stap voor stap */
@media (max-width: 1200px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .sc-track { grid-auto-columns: calc((100% - 26px*3)/4); }
}

@media (max-width: 980px) {
  .sc-track { grid-auto-columns: calc((100% - 26px*2)/3); }
  .sc-item img { height: 240px; }
}

@media (max-width: 960px) {
  .services { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .over-ons__wrap { grid-template-columns: 1fr; }
  .over-ons__media.stack img { height: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* === Globale mobile-fix (gsm / tablet) === */
@media (max-width: 768px) {
  html, body {
    font-size: 16px;
  }

  /* Alle hoofdcontainers dezelfde topafstand onder navbar */
  main,
  .over-ons,
  .contact,
  .detailpagina {
    max-width: 100%;
    margin: 0 auto 60px;
    padding: 110px 16px 40px;
    box-sizing: border-box;
  }

  /* Hero onder navbar, iets lager & smaller tekst */
  .hero {
    margin-top: 0;
    height: 70vh;
    padding: 0 16px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  /* Titels overal ongeveer gelijk */
  h1,
  .detailpagina h1,
  .over-ons h1,
  .contact h1,
  .showcase h2,
  .services h2 {
    font-size: 1.9rem;
  }

  /* Grids & kaarten full-width laten ademen */
  .projecten-container,
  .gallery,
  .showcase,
  .services,
  .contact-grid {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project,
  .contact-card,
  .services__right {
    width: 100%;
    margin: 0 auto;
  }

  /* Contact pagina stacken + centreren */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-card {
    text-align: center;
  }

  .socials-list {
    justify-content: center;
  }

  .social-btn img {
    width: 38px;
    height: 38px;
  }

  .contact-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/7;
    object-fit: cover;
    margin-top: 10px;
  }

  /* Navbar compacter op gsm */
  .topbar{
    padding: 8px 12px;
  }

  .logo img{
    height: 58px;
  }

  .topnav ul{
    gap: 14px;
    flex-wrap: nowrap;
  }

  .topnav ul li a{
    font-size: 0.95rem;
    white-space: nowrap;
  }
}

/* Kleinere schermen: 2 of 1 item in carrousel */
@media (max-width: 720px) {
  .sc-track { grid-auto-columns: calc((100% - 26px)/2); }
}

@media (max-width: 480px) {
  .sc-track { grid-auto-columns: 100%; }
  .sc-item img { height: 220px; }
}

/* Extra smalle gsm's */
@media (max-width: 380px) {
  .logo img { height: 50px; }
  .topnav ul { gap: 8px; }
  .topnav ul li a { font-size: 0.85rem; }
}
/* ---- Over ons: zelfde afstand onder de navbar als de andere pagina's ---- */
.over-ons {
  max-width: 900px;
  margin: 0 auto 80px;        /* geen extra margin-top meer */
  padding: 130px 20px 0;      /* 130px top = zelfde als main */
  text-align: left;
  line-height: 1.8;
  color: #333;
}
/* ========= HAMBURGER MENU ========= */

/* Standaard: knop verbergen op desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  margin-left: 16px;
}

/* Mobiel: navbar compacter + hamburger tonen */
@media (max-width: 768px) {

  .topbar {
    padding: 8px 12px;
    justify-content: space-between;
  }

  .logo img {
    height: 56px;
  }

  /* Hamburger zichtbaar */
  .menu-toggle {
    display: block;
  }

  /* Menu standaard VERBORGEN op mobiel */
  .topnav ul {
    position: absolute;
    top: 70px;              /* net onder de balk */
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px 16px 12px;
    background: #ffffff;
    display: none;          /* wordt 'flex' wanneer open */
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 99;
  }

  /* Als .open erbij komt via JS → menu tonen */
  .topnav ul.open {
    display: flex;
  }

  /* Links iets compacter op mobiel */
  .topnav ul li a {
    font-size: 0.95rem;
    padding: 6px 0;
    white-space: nowrap;
  }
}
/* ==== FOOTER ==== */

.site-footer {
  background-color: #d35400;        
  color: #fff;
  padding: 3rem 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 2fr 3fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.footer-col {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col--brand {
  font-size: 0.9rem;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 1rem;
}

.footer-company {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.footer-tagline {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-address,
.footer-contact,
.footer-vat {
  margin: 0.3rem 0;
}

.footer-heading {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.35rem;
}

/* Links in footer */
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsief gedrag */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.3fr 1.7fr;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2.5rem 1.25rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-col {
    margin-bottom: 1.5rem;
  }
}




