:root {
  /* Blauw palette */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  /* Neutrals */
  --bg:       #f8fafc;
  --white:    #ffffff;
  --dark:     #0f172a;
  --text:     #1e293b;
  --muted:    #64748b;
  --border:   #e2e8f0;

  /* UI */
  --radius:   12px;
  --shadow:   0 4px 24px rgba(15, 23, 42, 0.06);
  --font:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & Base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 80px; /* hoogte van de nav + beetje ruimte */
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* ---------- Header / Navigatie ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo span {
  color: var(--blue-600);
}

.logo-icon {
  height: 32px;        /* pas aan naar wens */
  width: auto;
  display: block;
  margin-right: 0.6rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue-600);
}

.cta-nav {
  display: inline-flex;
  align-items: center;
  background: var(--blue-600);
  color: white !important;
  padding: 0.6rem 1.25rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cta-nav:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.lang-switch button,
.lang-switch a {
  background: none;
  border: 1px solid transparent;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.15s;
}

.lang-switch button.active,
.lang-switch a.active {
  background: var(--blue-50);
  border-color: var(--blue-100);
  color: var(--blue-700);
}

.lang-switch button:hover:not(.active),
.lang-switch a:hover:not(.active) {
  color: var(--blue-600);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--blue-600);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

/* ---------- Shared section helpers ---------- */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-title {
  font-size: 1.9rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ========================================
   HOMEPAGE SPECIFIEK
   ======================================== */

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* hero visual slider start */

.hero-right {
  display: flex;
  flex-direction: column;
}

.hero-visual {
  position: relative;
  background: var(--blue-50);
  border-radius: 20px;
  aspect-ratio: 1113 / 720;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  color: var(--blue-700);
  z-index: 5;
}

/* Bolletjes onder de afbeelding */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease;
}

.hero-dots .dot.active {
  background: #0f172a;
}

/* Badge */
.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  color: var(--blue-700);
  z-index: 5;
}

/* hero visual einde */

.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  color: var(--blue-700);
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefit h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.benefit p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Process / Werkwijze */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -12px;
  left: 1.25rem;
  width: 28px;
  height: 28px;
  background: var(--blue-600);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.step h3 {
  margin: 0.75rem 0 0.4rem;
  font-size: 1.05rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

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

.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.card-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--blue-50);
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(0, 0, 0, 0.075)
  );
  pointer-events: none;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.25rem;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.card-body p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Downloads */
.downloads {
  background: var(--blue-50);
  border-radius: 20px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.download-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-form input {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

/* Contact form */
.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 640px;
}

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

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue-500);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========================================
   PROJECT DETAILPAGINA SPECIFIEK
   ======================================== */

.project-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.75rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--blue-600);
}

.project-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.project-meta strong {
  color: var(--text);
}

/* Detail layout: ⅔ content | ⅓ sticky sidebar */
.content-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.left-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.main-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--blue-50);
  aspect-ratio: 16/10;
  object-fit: cover;
}

.content h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.content p {
  margin-bottom: 1.25rem;
}

.content ul {
  margin: 1rem 0 1.5rem 1.25rem;
}

.content li {
  margin-bottom: 0.4rem;
}

/* Gallery (detail) */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--blue-50);
}

/* Sticky sidebar */
.sidebar {
  position: sticky;
  top: 100px;
}

.info-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.info-row:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
}

.info-row span:first-child {
  color: var(--muted);
}

.info-row span:last-child {
  font-weight: 600;
  color: var(--dark);
  text-align: right;
}

/* Related projects */
.related {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.related h2 {
  font-size: 1.6rem;
  margin-bottom: 1.75rem;
  color: var(--dark);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.related-card:hover {
  transform: translateY(-4px);
}

.related-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--blue-50);
}

.related-card .body {
  padding: 1.1rem 1.25rem;
}

.related-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.related-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-col strong {
  display: block;
  margin-bottom: 0.25rem;
}

.footer-col p {
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-col a {
  color: #e2e8f0;
  text-decoration: none;
}

.footer-col a:hover {
  color: white;
}

/* WhatsApp knop */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25D366;
  color: white !important;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-whatsapp:hover {
  background: #1ebe57;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: white;
}

/* ---------- Language visibility ---------- */
[data-lang] {
  display: none;
}

html[lang="nl"] [data-lang="nl"],
html[lang="en"] [data-lang="en"] {
  display: block;
}

/* ---------- Responsive ---------- */

/* Mobiel */
@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .nav {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  /* Verberg de Offerte-knop op mobiel */
  .cta-nav {
    display: none;
  }

  /* Zorg dat de taalswitch netjes blijft staan */
  .nav-right {
    gap: 0.75rem;
  }

  /* Homepage */
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  .benefits,
  .process {
    grid-template-columns: 1fr 1fr;
  }

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

  /* Detail */
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: -1;
    margin-bottom: 1.5rem;
  }

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

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

@media (max-width: 600px) {
  .benefits,
  .process,
  .form-row {
    grid-template-columns: 1fr;
  }

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