/* KLEUREN & BASIS */
:root {
  --bg-page: #f3f4f6;
  --bg-white: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --primary: #0053aa; /* marine blauw */
  --primary-dark: #003f80;
  --border: #e5e7eb;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
}

/* ALGEMEEN */

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HERO */

.hero {
  background: var(--bg-white);
  padding: 60px 0 40px;
  text-align: center;
  box-shadow: 0 1px 0 #e5e7eb;
}

.hero-inner {
  max-width: 800px;
}

.hero-logo img {
  max-width: 260px;
  margin: 0 auto 24px;
}

.hero-title {
  font-family: "Stencil", "Stardos Stencil", Arial, sans-serif;
  font-size: 42px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.hero-subtitle {
  font-family: "Stencil", "Stardos Stencil", Arial, sans-serif;
  font-size: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 16px;
}

.hero-text {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease-out, color 0.15s ease-out,
    box-shadow 0.15s ease-out, border-color 0.15s ease-out,
    transform 0.1s ease-out;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
}

/* SECTIONS */

.section {
  padding: 60px 0;
}

.section-heading {
  font-family: "Stencil", "Stardos Stencil", Arial, sans-serif;
  font-size: 30px;
  text-align: center;
  margin: 0 0 8px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* Kleinere heading (They Trust Us) */
.section-heading-small {
  font-family: "Stencil", "Stardos Stencil", Arial, sans-serif;
  font-size: 20px;
  text-align: center;
  margin: 0 0 4px;
}

.section-subtitle-small {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 24px;
}

/* THEY TRUST US – CAROUSEL */

.trust {
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

/* Buitenste wrapper: zorgt voor mask / clipping */
.trust-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-top: 20px;
  white-space: nowrap; 
}

/* De rij die horizontaal schuift */
.trust-track {
  display: flex;
  flex-wrap: nowrap;              /* VOORKOMT ALLE VERSCHUIVING */
  gap: 40px;
  width: calc( (140px * 24) + (40px * 23) ); /* pixel-perfect breedte */
  animation: logosScroll 30s linear infinite;
  will-change: transform;         /* maakt animatie stabieler */
}

/* Pauzeer animatie bij hover */
.trust-carousel:hover .trust-track {
  animation-play-state: paused;
}

/* Elk logo-vak: hier bepalen we grootte & stijl */
.trust-logo {
  flex: 0 0 auto;
  width: 140px;          /* zelfde breedte */
  height: 70px;          /* zelfde hoogte */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
}

.trust-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;   /* past logo netjes binnen het vak */
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s ease;
}

.trust-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Tekst onderaan blijft hetzelfde */
.trust-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* Infinite scroll animatie */
@keyframes logosScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2120px);
  }
}
/* SERVICES */

.services {
  background: #f9fafb;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  font-family: "Stencil", "Stardos Stencil", Arial, sans-serif;
  font-size: 18px;
  margin: 0 0 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
}

/* PORTFOLIO */

.portfolio {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.portfolio-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.portfolio-image {
  height: 180px;
  background-size: cover;
  background-position: center center;
}

.portfolio-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-content {
  padding: 16px 18px 18px;
}

.portfolio-content h3 {
  font-family: "Stencil", "Stardos Stencil", Arial, sans-serif;
  font-size: 18px;
  margin: 0 0 8px;
}

.portfolio-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.portfolio-meta {
  font-size: 12px;
  color: #4b5563;
}

.portfolio-button-wrap {
  margin-top: 26px;
  text-align: center;
}

/* CONTACT */

.contact {
  background: #f9fafb;
}

.contact-inner {
  max-width: 700px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.contact-item h3 {
  font-family: "Stencil", "Stardos Stencil", Arial, sans-serif;
  font-size: 16px;
  margin: 0 0 6px;
}

.contact-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-item a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form {
  margin-top: 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 20px;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 9px 10px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #ffffff;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(0, 83, 170, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  min-height: 16px;
  font-size: 12px;
  color: #b91c1c;
  margin: 4px 0 0;
}

.form-success {
  font-size: 13px;
  color: #047857;
  margin: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

/* Honeypot verbergen voor echte gebruikers, maar zichtbaar voor bots */
.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Extra tekst onder het formulier */

.contact-extra {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-extra a {
  color: var(--primary);
  text-decoration: underline;
}

/* Kleine optimalisatie op mobiel */

@media (max-width: 640px) {
  .contact-form {
    padding: 16px 14px 18px;
  }
}

/* FOOTER */

.footer {
  background: #111827;
  color: #e5e7eb;
  padding: 24px 0;
}

.footer-inner {
  text-align: center;
  font-size: 13px;
}

.footer-brand {
  font-family: "Stencil", "Stardos Stencil", Arial, sans-serif;
  font-size: 16px;
  margin-bottom: 4px;
}

.footer-text {
  margin: 0 0 4px;
  color: #9ca3af;
}

.footer-meta {
  margin: 0;
  color: #6b7280;
}

/* RESPONSIVE */

@media (max-width: 640px) {
  .hero {
    padding-top: 40px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .portfolio-image {
    height: 160px;
  }
}
