/* =============================================================
   Verleij Services - services.css
   Gedeeld stylesheet voor alle taalpagina's
   ============================================================= */

/* --- Variabelen -------------------------------------------- */
:root {
  --accent:  #0a84ff;
  --accent-hover: #0071e3;
  --bg:      #ffffff;
  --bg2:     #f5f5f7;
  --text:    #1c1c1e;
  --text2:   #636366;
  --border:  #e5e5ea;
  --radius:  12px;
  --max-w:   1000px;
  --font:    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Reset -------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

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

a:hover {
  text-decoration: underline;
}

img, svg {
  display: block;
}

/* --- Lay-out hulpklasse ------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================================
   HEADER  (identiek aan de homepage-menubalk)
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
  font-family: "Inter", var(--font);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 34px;
  width: auto;
}

/* Hoofdmenu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #334155;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #1a56db;
  background: #e8effc;
  text-decoration: none;
}

.nav-cta {
  margin-left: 4px;
}

.nav-cta a {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: #1a56db;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.nav-cta a:hover {
  background: #1241a8;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
}

/* Taal-switcher als pill-groep, net als de homepage */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 8px;
  background: #f1f5f9;
  border-radius: 50px;
  padding: 3px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.lang-switcher a {
  padding: 6px 13px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  border-radius: 50px;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.lang-switcher a:hover {
  color: #1a56db;
  background: #ffffff;
  text-decoration: none;
}

.lang-switcher a.active {
  background: #1a56db;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(26, 86, 219, 0.3);
  text-decoration: none;
}

/* Hamburger voor mobiel */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  background: var(--bg2);
  padding: 72px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Knoppen */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.28);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg2);
  text-decoration: none;
  border-color: #c7c7cc;
}

/* =============================================================
   SECTIE HEADER
   ============================================================= */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h1,
.section-header h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.portfolio-cta {
  text-align: center;
  margin-top: 8px;
}

.section-header p {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* =============================================================
   SERVICES GRID
   ============================================================= */
.services-section {
  padding: 72px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Service kaart */
.service-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}

.service-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: #e5f0ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-icon svg {
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.55;
}

/* =============================================================
   WHY US
   ============================================================= */
.why-us {
  padding: 72px 0;
  background: var(--bg2);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #e5f0ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-text h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.why-text p {
  font-size: 0.87rem;
  color: var(--text2);
  line-height: 1.55;
}

/* =============================================================
   SHOWCASE
   ============================================================= */
.showcase {
  padding: 72px 0;
  background: var(--bg);
}

.showcase-grid {
  display: grid;
  /* minmax(0, 1fr): zonder de 0-ondergrens neemt een kolom de min-content-
     breedte van z'n inhoud (de 1400px-schermafbeelding) als minimum, waardoor
     het grid buiten de container uitloopt. Met 0 mag de kolom krimpen. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.showcase-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: var(--bg);
  overflow: hidden;
}

.showcase-card .showcase-img {
  display: block;
  width: calc(100% + 44px);
  max-width: calc(100% + 44px);
  height: auto;
  margin: -26px -22px 16px -22px;
  object-fit: cover;
}

.showcase-card .app-icon {
  display: block;
  width: 56px;
  height: 56px;
  /* iOS-achtige afgeronde hoek (~22% van de zijde) */
  border-radius: 13px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.showcase-card .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: #e5f0ff;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.showcase-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.showcase-card p {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.55;
}

.showcase-card a.card-link {
  display: inline-block;
  margin-top: 12px;
  margin-right: 18px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* =============================================================
   CTA SECTIE
   ============================================================= */
.cta-section {
  background: var(--accent);
  padding: 72px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
}

.btn-white:hover {
  background: #f5f5f7;
  text-decoration: none;
  color: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* =============================================================
   FAQ
   ============================================================= */
.faq {
  padding: 72px 0;
  background: var(--bg2);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.faq-item h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.6;
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text2);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text2);
}

.footer-links a:hover {
  color: var(--accent);
}

/* =============================================================
   RESPONSIVE: tablet (2 kolommen)
   ============================================================= */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    margin-left: 0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.04);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 14px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 4px;
  }

  .nav-cta a {
    width: 100%;
    justify-content: center;
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: 12px;
    align-self: flex-start;
  }
}

/* =============================================================
   RESPONSIVE: mobiel (1 kolom)
   ============================================================= */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 48px 0 44px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
