/* =========================================
   ROOT VARIABELEN
========================================= */
:root {
  --pd-blauw: #241578;
  --pd-oranje: #FF7F00;
  --pd-lichtblauw: #4A90E2;
  --pd-grijs: #F2F0EC;
  --pd-tekst: #222222;
  --pd-tekst-licht: #555555;
  --pd-max-width: 1100px;
}

/* =========================================
   RESET
========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--pd-tekst);
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  color: var(--pd-oranje);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================================
   TYPOGRAFIE
========================================= */
p {
  margin-bottom: 0.75rem;
  color: var(--pd-tekst-licht);
}

h1, h2, h3 {
  color: var(--pd-blauw);
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
h3 { font-size: 1.2rem; }

.lead { font-size: 1.05rem; }
.muted { color: var(--pd-tekst-licht); font-size: 0.95rem; }
.small { font-size: 0.85rem; }
.blauw {color: var(--pd-blauw)}
.onderstrepen {text-decoration: underline}
.extraruimte {margin-top: 1rem;}

.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

/* =========================================
   LAYOUT
========================================= */
.page {
  max-width: var(--pd-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  padding-bottom: 5rem;
  margin-right: 260px; /* ruimte voor sidebar */
}

section {
  padding: 2rem 0;
  border-bottom: 1px solid #eee;
}

section:last-of-type {
  border-bottom: none;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--pd-lichtblauw);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* =========================================
   GRID SYSTEM
========================================= */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* =========================================
   Common elements
========================================= */
.list ul li {
  color: var(--pd-tekst);
}

/* Dit richt zich specifiek op de bullet/het cijfer */
.list li::marker {
  color: var(--pd-blauw);
}
.list {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.1rem;
}

.list li {
  margin-bottom: 0.35rem;
}

.vet {
  font-weight: 700;
  color: var(--pd-blauw);
}

/* =========================================
   GRID foto met 2 x2 cards
========================================= */
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.links {
  border-radius: 8px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rechts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.blok {
  background: #e0e8f0;
  border-radius: 8px;
  padding: 1rem;
  min-height: 90px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .container {
    grid-template-columns: 1fr;
  }

  .right {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }
}
/* =========================================
   CARDS
========================================= */
.card {
  background-color: var(--pd-grijs);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.cluster-title {
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--pd-blauw);
  text-align: center;
}

.blok p {
  text-align: center;
}

/* =========================================
   TEAM
========================================= */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.team-grid > div {
  display: flex;
  justify-content: center;
}

.profile-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-photo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.profile-photo img {
  width: 160px;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

.team-name {
  color: var(--pd-blauw);
  font-weight: 700;
}

.team-role {
  color: var(--pd-oranje);
  font-style: italic;
}

/* =========================================
   HERO
========================================= */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.hero-logo {
  width: 360px;
  height: auto;
  margin-top: 2rem;
}

.hero-image {
  width: 360px;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin-top: 8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.float-end {
  float: right !important;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.05s ease-out, box-shadow 0.05s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pd-oranje), #ff9a2e);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* =========================================
   CONTACT FORM
========================================= */
#contact form input,
#contact form select,
#contact form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#contact form textarea {
  min-height: 160px;
  resize: vertical;
}

#contact form button[type="submit"] {
  margin-top: 1rem;
}

/* WAARSCHUWING */
p.form-warning {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  color: #cc0000 !important;
  font-weight: 700 !important;
  font-size: 0.9rem;
}

/* =========================================
   SIDEBAR (DESKTOP)
========================================= */
header {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 200px;
  background: #fff;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  z-index: 9999;
}

header .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: 4rem;
}

header .logo-image {
  width: 80px;
}
header .contact-image {
  width: 160px;
}

header .logo-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pd-blauw);
}

header .logo-subtitle {
  font-size: 0.9rem;
  color: var(--pd-oranje);
  max-width: 140px;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

nav ul li a {
  color: var(--pd-tekst-licht);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--pd-blauw);
}

/* =========================================
   MOBIELE NAVIGATIE
========================================= */
@media (max-width: 900px) {
  header {
    display: none;
  }

  .page {
    margin-right: 0;
  }

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

/* Mobiele topbalk — apart element */
.mobile-header {
  display: none;
}

@media (max-width: 900px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .mobile-header .logo {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .mobile-header .logo-image {
    width: 200px;
  }

  .mobile-header .logo-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pd-blauw);
  }

  .mobile-header .logo-subtitle {
    font-size: 0.75rem;
  }
}

/* =========================================
   FOOTER
========================================= */
footer {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid #eee;
  font-size: 0.8rem;
  color: var(--pd-tekst-licht);
}

.footer-inner.footer-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  width: 80px;
  opacity: 0.9;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  header { display: none; }
  .page { margin-right: 0; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-logo { width: 90px; }
  .hero-image { width: calc(90px * 3); }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.d-block {
  display: block !important;
  /* Wordt zichtbaar */
}

.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #556270;
  float: left;
  width: 44px;
  height: 44px;
  background: #edeff1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #556270;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #8795a4;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #556270;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #d9232d;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: var(--pd-oranje);
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type=submit]:hover {
  background: #e24d55;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.cluster-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 420px; /* optioneel: houdt het mooi compact */
}

/* Custom Grid voor de gedragsclusters */
.clusters-grid {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.clusters-grid .col {
  flex: 0 0 auto;
  width: 100%;
  /* Standaard op mobiel: volledige breedte */
  padding: 15px;
}

/* Desktop: 4 naast elkaar vanaf 768px breedte */
@media (min-width: 768px) {
  .clusters-grid .col {
    width: 25%;
  }
}

.card.h-100 {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  background-color: #fff;
  padding: 1.5rem;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.fw-bold {
  font-weight: bold;
}

.text-muted {
  color: #6c757d;
}

.small {
  font-size: 0.875em;
}
