 /* === Algemene basisstijl === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Inter', sans-serif;
}

html, body {
  height: 100%;
}

body {
  background-color: #f7f8fa; 
  color: #222;
  line-height: 1.6;
  font-size: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* === Header en navigatie === */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 15px 60px; /*evt naar 15px 40px voor mobiel*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: #0078D4; 
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  position: relative;
  padding: 6px 2px;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0078D4;
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
  color: #0078D4;
}


/* === Hamburger-knop === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* === Responsieve layout === */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px; /* onder de header */
    right: 0;
    background-color: white;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  nav.open {
    max-height: 300px; 
    transition: max-height 0.3s ease-in;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hamburger animatie bij openen */
  .menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* === Hero sectie (voor homepage bijv.) === */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(180deg, #f7f8fa 0%, #e6eef6 100%);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #222;
}

.hero p {
  font-size: 1.1rem;
  color: #444;
  max-width: 600px;
  margin: 0 auto 25px;
}

.btn-primary {
  background-color: #0078D4;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #005fa3;
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

/* === Content blokken (voor about, services, etc.) === */
.section {
  padding: 80px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 30px;
  text-align: center;
}

.section p {
  color: #444;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}

/* === Formulieren (Inquiry page) === */
form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

form h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #222;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0078D4;
  box-shadow: 0 0 6px rgba(0, 120, 212, 0.2);
}

button[type="submit"] {
  background-color: #0078D4;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #005fa3;
}

/* === inquiry page titel === */
.page-title {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
  color: #000000;
}

/* === Footer === */
footer {
  background-color: #ffffff;
  text-align: center;
  padding: 20px 0;
  color: #666;
  font-size: 0.9rem;
  margin-top: 80px;
  border-top: 1px solid #eee;
}

footer span {
  font-weight: 500;
  color: #0078D4;
}

/* ===== HERO CONTENT ===== */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* -------------------------
   PAGE-SPECIFIC CARD STIJLEN
   ------------------------- */

/* --- INDEX: 2x2 grid, behoud huidige look --- */
body.page-index .service-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  body.page-index .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  body.page-index .service-grid {
    grid-template-columns: 1fr;
  }
}

body.page-index .card {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(11,31,64,0.05);
  transition: transform .22s ease, box-shadow .22s ease;
  text-align: center;
  border: 1px solid rgba(15,23,42,0.03);
}

body.page-index .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11,31,64,0.08);
}

/* ==========================
   NIEUWE CARD ABOUT EN SERVICES STIJLEN
   ========================== */

.page-about .card,
.page-services .card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px 22px;
  text-align: left;
  border: 1px solid #e5e7eb;       /* heel licht grijs */
  transition: all 0.25s ease;
  max-width: 850px;                 /* cards worden niet HUGE */
  margin: 0 auto 25px;              /* centeren + ruimte */
  margin-top: 25px;
}

/* Titels subtiel, niet schreeuwerig */
.page-about .card h1,
.page-services .card h1,
.page-about .card h2,
.page-services .card h2,
.page-about .card h3,
.page-services .card h3 {
  margin-bottom: 10px;
  color: #216bba;       /* zacht donkerblauw-grijs */
  font-size: 1.15rem;
  font-weight: 600;
}

/* Tekst */
.page-about .card p,
.page-services .card p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

/* ========== LEGAL LINKS ========== */
.legal-links {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
  color: #666;
}

.legal-links a {
  color: #0078D4;
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #005a9e;
  text-decoration: underline;
}

/* checkbox + tekst styling */
.consent-box {
  margin: 16px 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.consent-box label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: flex-start;
  gap: 0px;
  line-height: 1.2;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.consent-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0078D4;
  cursor: pointer;
}

.consent-box a {
  color: #0078D4;
  text-decoration: underline; 
  cursor: pointer;
  transition: color 0.3s ease;
}

.consent-box a:hover {
  color: #00467c;
}

/* ========== POP-UP STYLING ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 35px 40px;
  border-radius: 14px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: fadeIn 0.25s ease-in-out;
}

.modal-content h2 {
  color: #0078D4;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.modal-content p {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

.close {
  color: #999;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #0078D4;
}

/* Fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} 
