:root {
  --bg: #0b0f1a;
  --surface: #0f1627;
  --card: #121b30;
  --text: #f6f7fb;
  --muted: #b7c0d6;
  --line: rgba(255,255,255,.12);
  --accent: #ff7a00;
  --accent2: #44d3ff;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 12px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

* { box-sizing: border-box; }
html, body { height: 100%; width: 100%; margin: 0; font-family: var(--font); line-height: 1.6; color: var(--text); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.92; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

body {
  background: radial-gradient(1200px 600px at 15% -20%, rgba(68,211,255,.18), transparent 55%),
              radial-gradient(1000px 700px at 110% 10%, rgba(255,122,0,.16), transparent 55%),
              var(--bg);
}

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,26,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand__logo { width: 120px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.nav { display: flex; gap: 1rem; align-items: center; }
.nav__link { opacity: .9; font-weight: 600; padding: 0.45rem .5rem; border-radius: 10px; }
.nav__link.is-active { background: rgba(255,255,255,.08); opacity: 1; }
.nav__toggle {
  display: none; background: transparent; border: 1px solid var(--line);
  border-radius: 12px; padding: .55rem .6rem;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; opacity: .9; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ff9b3b);
  color: #0b0f1a; font-weight: 800;
  box-shadow: 0 12px 30px rgba(255,122,0,.18);
  border: 0;
  transition: transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--ghost {
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  color: var(--text); box-shadow: none;
}
.btn--small { padding: .65rem .9rem; font-weight: 800; }

/* BADGE */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: .35rem .6rem;
  color: var(--muted); font-weight: 700; font-size: .9rem;
}

/* HERO */
.hero { padding: 3.25rem 0 1.2rem; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.hero__title { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15; margin: .6rem 0 1rem; }
.hero__lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.3rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.10); }
.hero__photo img { width: 100%; height: 420px; object-fit: cover; }

/* PROJECTS / GALLERY */
.project { margin-bottom: 3rem; }
.project__title { margin-bottom: 1rem; }
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.gallery img {
  width: 100%; height: 180px; object-fit: cover; cursor: pointer; border-radius: 8px;
  transition: transform .2s;
}
.gallery img:hover { transform: scale(1.04); }

}
/* FULLSCREEN LIGHTBOX */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
}

#lightbox.active {
  display: flex;
}

#lightbox-img {
  max-width: 95vw;      /* neem bijna de volledige breedte */
  max-height: 95vh;     /* neem bijna de volledige hoogte */
  width: auto;
  height: auto;
  object-fit: contain;   /* verhoudingen behouden */
  transition: transform 0.3s ease;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: #fff;
  font-size: 2.5rem;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  z-index: 10000;
}

.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }


/* SECTIONS & CARDS */
.section { padding: 2.2rem 0; }
.section__title { font-size: 1.65rem; margin-bottom: 1rem; }
.muted { color: var(--muted); }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: 0 16px 35px rgba(0,0,0,.22);
}
.card h3 { margin: .2rem 0 .4rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }

/* FORM */
.form { display: grid; gap: .85rem; }
.input, textarea {
  width: 100%; padding: .85rem .95rem; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04); color: var(--text); outline: none;
}
textarea { min-height: 140px; resize: vertical; }
.input:focus, textarea:focus { border-color: rgba(68,211,255,.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.note { font-size: .92rem; color: var(--muted); }

/* FOOTER */
.footer { padding: 2.4rem 0 1.2rem; border-top:1px solid var(--line); margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
.footer__title { font-weight: 900; margin-bottom: .6rem; }
.footer__list { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.footer__list li { margin: .35rem 0; }
.footer__bar { padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: 1.2rem; color: var(--muted); }

/* WHATSAPP BUTTON */
.whatsapp {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: .55rem;
  background: #25D366; color: #07120b;
  padding: .85rem 1rem; border-radius: 999px; font-weight: 900;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}
.whatsapp span { line-height: 1; }

/* RESPONSIVE */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo img { height: 320px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 64px; left: 1rem; right: 1rem;
    background: rgba(15,22,39,.92);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px; padding: 1rem;
    flex-direction: column; align-items: stretch; gap: .5rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
}


