/* =============================================================
   SCHOT ENGINEERING — STYLESHEET
   Desktop-first | Inter | Tabler Icons | #003D5B primair
   ============================================================= */

/* ─── 1. CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  --color-navy:        #003D5B;
  --color-ocean:       #1B7DAA;
  --color-light-blue:  #5DB8D8;
  --color-tint:        #E1F5F4;
  --color-dark-navy:   #0F2D3D;
  --color-bg:          #F7F9FA;
  --color-white:       #FFFFFF;
  --color-text:        #1A1A1A;
  --color-text-muted:  #555555;
  --color-border:      #D0D7DE;
  --color-placeholder: #E2E6EA;

  --font-family: 'Inter', sans-serif;

  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  --max-width:        1200px;
  --max-width-narrow: 720px;

  --transition: 0.25s ease;
}

/* ─── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.65;
  background: var(--color-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

.card--project ul {
  list-style: disc;
  padding-left: 1.25rem;
}

address {
  font-style: normal;
}

/* ─── 3. TYPOGRAFIE ─────────────────────────────────────────── */
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  margin-bottom: var(--space-xl);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* ─── 4. LAYOUT UTILITIES ───────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--color-bg);
}

/* ─── 5. PLACEHOLDER (nav-logo) ─────────────────────────────── */
.placeholder {
  background-color: var(--color-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #888;
  font-family: monospace;
  text-align: center;
  padding: 4px;
}

.placeholder--nav-logo {
  width: 160px;
  height: 44px;
}

/* ─── 6. KNOPPEN — GEEN AFGERONDE HOEKEN ───────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0;
  border: 2px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.02em;
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-white);
  color: var(--color-navy);
  outline: none;
}

.btn--dark {
  border-color: var(--color-navy);
  color: var(--color-navy);
  margin-top: var(--space-lg);
  display: inline-block;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: var(--color-navy);
  color: var(--color-white);
}

/* ─── 7. NAVIGATIE ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem var(--space-xl);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  outline: none;
}

.nav-links a.nav-cta {
  opacity: 1;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 0.4rem 1rem;
  transition: background var(--transition), border-color var(--transition);
}

.nav-links a.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.nav-logo__img {
  height: 60px;
  width: auto;
  display: block;
}

/* ─── 8. HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-navy);
  color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/jan-huber-ICirNQS9UQ0-unsplash.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  width: 100%;
}

.hero-logo {
  flex: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
}

.hero-banner {
  width: 100%;
  height: auto;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-intro {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 520px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* ─── 9. SECTIE 2 — WAT WIJ DOEN ───────────────────────────── */
.grid--4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.card {
  background: var(--color-white);
  padding: var(--space-xl);
}

.card--service {
  border-top: 3px solid var(--color-ocean);
}

.card-icon {
  font-size: 2rem;
  color: var(--color-ocean);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.card-icon .ti {
  font-size: 2rem;
}

.methode-strip {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-tint);
  margin-bottom: var(--space-xl);
}

.methode-item {
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
}

.methode-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ocean);
  margin-bottom: 0.3rem;
}

.audience-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 760px;
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

/* ─── 10. SECTIE 3 — KLANTEN & PROJECTEN ───────────────────── */
.section-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  margin-top: calc(-1 * var(--space-md));
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-2xl);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.client-logo {
  height: auto;
  max-height: 60px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity var(--transition);
}

.client-logo:hover {
  opacity: 1;
}

.grid--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.card--project {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  transition: box-shadow var(--transition);
}

.card--project:hover {
  box-shadow: 0 4px 20px rgba(0, 61, 91, 0.1);
}

.card-project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ocean);
  background: var(--color-tint);
  padding: 0.2rem 0.6rem;
  margin-bottom: var(--space-sm);
}



/* ─── 11. SECTION CTA ──────────────────────────────────────── */
.section-cta {
  margin-top: var(--space-2xl);
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-navy);
  text-align: center;
}

.section-cta__heading {
  color: var(--color-white);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.section-cta .btn--dark {
  border-color: var(--color-white);
  color: var(--color-white);
  margin-top: 0;
}

.section-cta .btn--dark:hover,
.section-cta .btn--dark:focus-visible {
  background: var(--color-white);
  color: var(--color-navy);
}

/* ─── 12. SECTIE 4 — SPECIALISMEN ──────────────────────────── */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tag {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: 0.35rem 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: default;
  user-select: none;
}

/* ─── 13. SECTIE 5 — KERNWAARDEN ────────────────────────────── */
.grid--5col {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
}

.grid--5col > * {
  flex: 0 0 calc((100% - 2 * var(--space-xl)) / 3);
}

.card--value {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: box-shadow var(--transition);
}

.card--value:hover {
  box-shadow: 0 4px 20px rgba(0, 61, 91, 0.1);
}

.card--value .card-icon {
  justify-content: center;
  display: flex;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ─── 14. SECTIE 6 — OVER ONS ───────────────────────────────── */
.over-ons-section {
  padding: var(--space-3xl) 0; /* Zorgt voor dezelfde witruimte boven/onder als andere secties */
}

/* We stoppen de flexbox in een max-width container, net als de rest van je site */
.over-ons-inner {
  display: flex;
  flex-direction: row;
  max-width: var(--max-width); /* Begrenst de sectie tot 1200px breedte */
  margin: 0 auto;             /* Centreert de sectie op grote schermen */
  padding: 0 var(--space-xl);  /* Zorgt voor nette marges aan de zijkanten */
  min-height: 480px;
}

.over-ons-img {
  flex: 0 0 50%; /* Exact de helft van de container */
  overflow: hidden;
}

.over-ons-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.over-ons-content {
  flex: 0 0 50%; /* Exact de helft van de container */
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
}

.over-ons-text-wrap {
  padding: var(--space-2xl) var(--space-2xl); /* Iets compactere padding voor betere balans */
  max-width: 500px;
}

.over-ons-tekst {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 0;
}

/* ── RESPONSIVENESS VOOR MOBIEL ────────────────────────────── */
@media (max-width: 768px) {
  .over-ons-inner {
    flex-direction: column; /* Stapel afbeelding en tekst onder elkaar */
    min-height: auto; /* Haal de vaste minimale hoogte weg */
  }

  .over-ons-img, 
  .over-ons-content {
    flex: 0 0 100%; /* Beide pakken nu de volledige breedte */
    width: 100%;
  }

  .over-ons-photo {
    height: 350px; /* Geef de foto op mobiel een mooie vaste hoogte */
  }

  .over-ons-text-wrap {
    padding: var(--space-2xl) var(--space-xl); /* Iets minder padding op mobiel */
  }
}

/* ─── 15. SECTIE 7 — CONTACT ────────────────────────────────── */
.contact-cta {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

#contact h2 {
  text-align: center;
}

.contact-blocks {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.contact-icon {
  font-size: 2rem;
  color: var(--color-ocean);
  line-height: 1;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.contact-block a {
  font-weight: 500;
  color: var(--color-navy);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.contact-block a:hover {
  color: var(--color-ocean);
}

/* ─── 16. FOOTER ────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-dark-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2xl);
}

.footer-logo {
  height: 80px;
  width: auto;
  opacity: 0.9;
  flex-shrink: 0;
}

.footer-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.relatics-badge {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.photo-credits {
  font-size: 0.7rem;
  opacity: 0.45;
  margin-bottom: 0;
  line-height: 1.6;
}

.photo-credits a {
  text-decoration: underline;
  color: inherit;
  opacity: 1;
}

/* ─── 17. MEDIA QUERY — TABLET (max 768px) ──────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .nav-inner { padding-bottom: 1.1rem; }

  .nav-links {
    display: flex;
    overflow-x: unset;
    gap: 0;
    padding-right: 0;
  }

  .nav-links li:not(:last-child) { display: none; }

  .nav-links a.nav-cta {
    font-size: 0.875rem;
    padding: 0.6rem 1.5rem;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: var(--space-xl);
  }

  .hero-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-logo {
    width: 100%;
    max-width: 460px;
  }

  .hero-banner {
    width: 100%;
  }

  .grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--5col > * {
    flex: 0 0 calc((100% - var(--space-xl)) / 2);
  }

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

  .methode-strip {
    flex-direction: column;
    gap: var(--space-md);
  }

 

  .contact-blocks {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
  }

  .logo-row {
    gap: var(--space-xl);
  }

  .client-logo {
    max-height: 45px;
    max-width: 120px;
  }


  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    height: 60px;
  }
}

/* ─── 18. MEDIA QUERY — MOBIEL (max 480px) ──────────────────── */
@media (max-width: 480px) {
  :root {
    --space-3xl: 3rem;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .container {
    padding: 0 var(--space-md);
  }

  .grid--4col {
    grid-template-columns: 1fr;
  }

  .grid--5col > * {
    flex: 0 0 100%;
  }

  .client-logo {
    max-height: 30px;
  }

  .logo-row {
    gap: var(--space-md);
  }


  .hero-logo {
    max-width: 340px;
  }

  .hero-banner {
    width: 100%;
  }

  .card--value {
    padding: var(--space-lg) var(--space-md);
  }

  .over-ons-img {
    height: 240px;
  }
}
