/* ===========================
   IT-Fusion — stylesheet
   =========================== */

:root {
  --primary: #1b4f91;
  --primary-dark: #0f2f57;
  --primary-light: #2f6fc7;
  --accent: #17a2e0;
  --ink: #182530;
  --ink-soft: #526075;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-alt: #eef3fa;
  --border: #e1e8f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 47, 87, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 47, 87, 0.18);
  --maxw: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--primary-dark); }
h2.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--primary); text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-alt);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-header { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-header p { font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(23,162,224,.35); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-ghost { border-color: var(--primary); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ===== Top utility bar ===== */
.topbar {
  background: var(--primary-dark);
  color: #d7e6fb;
  font-size: .85rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #d7e6fb; }
.topbar .topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .topbar-links span { opacity: .85; }

/* ===== Header ===== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 0;
  display: inline-block;
}
.nav-links a.nav-link:hover { color: var(--primary); }

.has-dropdown > .nav-link::after {
  content: "▾";
  font-size: .7em;
  margin-left: 5px;
  color: var(--ink-soft);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
}
.dropdown a:hover { background: var(--bg-alt); color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { padding: 11px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--primary-dark); border-radius: 3px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(15,47,87,.93), rgba(27,79,145,.86));
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 640px; padding: 60px 0; }
.hero .eyebrow { background: rgba(255,255,255,.14); color: #bfe0ff; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: .4em; }
.hero h1 span { color: #7fd0ff; }
.hero p.lead { color: #dbe8fb; font-size: 1.15rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 28px;
}
.hero-stats .stat strong { display: block; font-size: 1.7rem; color: #fff; }
.hero-stats .stat span { font-size: .85rem; color: #bcd3ee; }

/* ===== Service cards (3-up) ===== */
.service-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .thumb { height: 170px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .body { padding: 24px 24px 28px; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: .95rem; margin-bottom: 14px; }
.service-card .more { font-weight: 700; font-size: .88rem; }

/* ===== Why us / values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.value-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: left;
}
.value-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; font-weight: 800;
  margin-bottom: 16px;
}
.value-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.value-item p { font-size: .92rem; margin: 0; }

.stat-strip {
  margin-top: 60px;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: #fff;
  text-align: center;
}
.stat-strip .stat strong { display: block; font-size: 2rem; }
.stat-strip .stat span { font-size: .85rem; color: #cfe1f8; }

/* ===== Split feature (image + text) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.split-text ul { padding: 0; margin: 20px 0; list-style: none; }
.split-text ul li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.split-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ===== Diensten grid (6 up) ===== */
.service-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.mini-card .icon-photo {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
}
.mini-card .icon-photo img { width: 100%; height: 100%; object-fit: cover; }
.mini-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.mini-card p { font-size: .9rem; margin: 0; }

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p.quote { font-style: italic; color: var(--ink); }
.testimonial-card .who { font-size: .85rem; color: var(--ink-soft); font-weight: 600; margin-top: 14px; }

/* ===== Referenties ===== */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reference-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.reference-card h4 { margin-bottom: 4px; }
.reference-card .sector {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: 10px;
}
.reference-card p { font-size: .92rem; margin: 0; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, rgba(15,47,87,.93), rgba(27,79,145,.9)), url("../images/handshake.jpg") center 30%/cover no-repeat;
  border-radius: var(--radius);
  padding: 64px 48px;
  color: #fff;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #dbe8fb; max-width: 560px; margin: 0 auto 28px; }

/* ===== About ===== */
.about-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.about-figures div {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.about-figures strong { display: block; font-size: 1.5rem; color: var(--primary); }
.about-figures span { font-size: .8rem; color: var(--ink-soft); }

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card p { color: #cfe1f8; }
.contact-line { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-line .ic {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  flex: none; font-size: 1rem;
}
.contact-line strong { display: block; color: #fff; font-size: .92rem; }
.contact-line span { color: #cfe1f8; font-size: .9rem; }

form.contact-form { display: grid; gap: 16px; }
form.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; display: block; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--bg-soft);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-note { font-size: .8rem; color: var(--ink-soft); }

/* ===== Footer ===== */
footer.site-footer {
  background: var(--primary-dark);
  color: #b9cde8;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: #b9cde8; font-size: .9rem; }
.footer-grid a:hover { color: #fff; }
.footer-about img { height: 38px; margin-bottom: 16px; }
.footer-about p { color: #a9c0e0; font-size: .9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .85rem;
}
.footer-social a:hover { background: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: .82rem;
  color: #8ba6cb;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #8ba6cb; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ===== Utility ===== */
.placeholder-note {
  background: #fff8e1;
  border: 1px dashed #e0b13a;
  color: #7a5b00;
  font-size: .82rem;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 10px;
}

/* ===== Active nav state ===== */
.nav-link.active { color: var(--primary); }
.dropdown a.active { background: var(--bg-alt); color: var(--primary); }
.dropdown .dropdown-all {
  display: block;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: .88rem;
  color: var(--primary);
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 44px; }
.breadcrumb { font-size: .85rem; color: #bcd3ee; margin-bottom: 14px; }
.breadcrumb a { color: #bcd3ee; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: .3em; max-width: 700px; }
.page-hero p.lead { color: #dbe8fb; max-width: 560px; font-size: 1.05rem; margin: 0; }

/* ===== Clickable mini-card (diensten overview) ===== */
a.mini-card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
a.mini-card .more { display: inline-block; margin-top: 8px; font-size: .85rem; font-weight: 700; color: var(--primary); }

/* ===== Related services strip ===== */
.related-services { margin-top: 20px; }
.related-services .service-grid-3 { margin-top: 20px; }
a.service-card { text-decoration: none; color: inherit; display: block; }

/* ===== Simple content page (over ons / support) ===== */
.icon-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.icon-row .pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .service-grid-3, .service-grid-6, .values-grid, .stat-strip, .testimonial-grid, .reference-grid, .about-figures { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse, .contact-wrap { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .topbar { display: none; }
  .service-grid-3, .service-grid-6, .values-grid, .stat-strip, .testimonial-grid, .reference-grid, .about-figures, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { min-height: auto; }
  .hero-stats { gap: 24px; }
  .page-hero { min-height: 220px; }
  .contact-form .row2 { grid-template-columns: 1fr; }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    padding: 20px 24px 30px;
    box-shadow: var(--shadow-lg);
    gap: 6px;
  }
  body.nav-open .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; border: none; padding-left: 10px; }
  body.nav-open .has-dropdown.open .dropdown { display: block; }
}
