:root {
  --bg: #0b1220;
  --bg-light: #f5f7fb;
  --steel: #c0c7d1;
  --steel-dark: #7b828c;
  --accent: #1e6fd9;
  --text: #0c1016;
  --card: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg-light);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  background: linear-gradient(90deg, #0b1220, #1e2a3f);
  color: #fff;
  padding: 16px 30px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(192,199,209,0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-img {
  height: 48px;
}

.hero {
  height: 390px; 
  position: relative;
  z-index: 0;
  color: #fff;
  padding: 35px 20px 35px;
  background: radial-gradient(circle at top left, #1e6fd9 0, #0b1220 45%, #05070c 100%);
  overflow: hidden;
}

.hero::before {
  z-index: 1;
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/achtergrond.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;

  padding-top: 90px;  
}

.hero-logo {
  position: absolute;
  top: -90px;
  left: 40px;
  width: 240px;
  height: auto;
  z-index: 3;
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-buttons {
  margin-top: 25px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--steel);
  color: #fff;
  background: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-outline {
  background: rgba(11,18,32,0.4);
  border-color: var(--steel-dark);
}

.btn:hover {
  opacity: 0.9;
}

.hero-panel {
  position: relative;
  background: linear-gradient(145deg, rgba(192,199,209,0.15), rgba(11,18,32,0.85));
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(192,199,209,0.5);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

main {
  padding: 40px 30px 60px;
}

section {
  max-width: 1100px;
  margin: 0 auto 40px;
}

section h2 {
  margin-top: 0;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1e2a3f;
}

.section-intro {
  margin-bottom: 20px;
  max-width: 800px;
  color: #333a45;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(11,18,32,0.08);
  border: 1px solid rgba(192,199,209,0.6);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-number {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 30px;
}

.contact-block p {
  margin: 4px 0;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e2a3f;
}

input, textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #c0c7d1;
  font: inherit;
  background: #f5f7fb;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input[type="file"] {
  padding: 4px 0;
  border: none;
  background: transparent;
}

footer {
  background: #0b1220;
  color: #e3e7f2;
  text-align: center;
  padding: 18px 10px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(192,199,209,0.4);
}
/* --- Projecten Galerij --- */

.project-gallery {
  margin-top: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(192,199,209,0.6);
  background: #fff;
  box-shadow: 0 4px 14px rgba(11,18,32,0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(11,18,32,0.15);
}

.gallery-item img {
  width: 100%;
  height: 150px; /* thumbnail formaat */
  object-fit: cover;
}

.gallery-caption {
  padding: 10px 12px;
  font-size: 0.9rem;
  text-align: center;
  background: var(--bg-light);
  color: #1e2a3f;
  border-top: 1px solid rgba(192,199,209,0.4);
}

/* --- Lightbox --- */

.lightbox {
  display: none;            /* heel belangrijk: standaard verborgen */
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255,255,255,0.3);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* einde stylesheet */

/* =========================================================
   📱 MOBIEL (max-width: 768px)
   ========================================================= */

@media (max-width: 768px) {

  body {
    font-size: 0.95rem;
  }

  header {
    padding: 12px 18px;
  }

  .nav-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .logo-img {
    height: 40px;
  }

  /* --- HERO --- */

  .hero {
    height: auto;
    padding: 40px 20px 50px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
    text-align: center;
  }

  .hero-logo {
    position: static;
    width: 160px;
    margin: 0 auto 20px;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-panel {
    margin-top: 10px;
  }

  /* --- SECTIONS --- */

  main {
    padding: 25px 18px 40px;
  }

  section h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .section-intro {
    text-align: center;
    margin: 0 auto 20px;
  }

  /* --- GRIDS --- */

  .services-grid,
  .projects-grid,
  .steps,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 180px;
  }

  /* --- CONTACT --- */

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  label {
    font-size: 0.8rem;
  }

  input, textarea {
    font-size: 0.95rem;
  }

  /* --- LIGHTBOX --- */

  .lightbox img {
    max-width: 95%;
    max-height: 80%;
  }

  .close-lightbox {
    font-size: 40px;
    right: 20px;
  }

  /* --- FOOTER --- */

  footer {
    font-size: 0.8rem;
    padding: 14px 10px;
  }

/* Hamburger icoon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff !important;
  border-radius: 2px;
}

/* Mobiel menu */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
  }

  nav a {
    padding: 10px 0;
  }

  nav.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

.footer-logo {
  height: 10px;          /* klein en strak */
  margin-left: 8px;      /* klein beetje ruimte naast de tekst */
  vertical-align: middle; /* mooi uitgelijnd met de tekst */
  opacity: 0.9;          /* subtiel, professioneel */
 }

.footer-logo {
  height: 10px !important;
  width: auto !important;
  margin-left: 8px;
  vertical-align: middle;
  opacity: 0.9;
  }
}

