/* ===========================
   JFD Infra BV – style.css
   =========================== */

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

:root {
  --blue-dark:   #042C53;
  --blue-mid:    #185FA5;
  --blue-light:  #E6F1FB;
  --blue-pale:   #B5D4F4;
  --text:        #1a1a1a;
  --text-muted:  #6b7280;
  --bg:          #ffffff;
  --bg-soft:     #f7f8fa;
  --border:      rgba(0,0,0,0.09);
  --radius:      10px;
  --radius-lg:   14px;
}

body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.6; }

/* ── Navbar ── */
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 40px; background: #042C53; border-bottom: 1px solid rgba(255,255,255,0.1); position: sticky; top: 0; z-index: 100; }
.navbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 600; font-size: 17px; }
.logo-img { height: 44px; width: auto; }
.logo-circle { width: 36px; height: 36px; border-radius: 8px; background: var(--blue-mid); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.7); font-size: 14px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.btn-nav { background: var(--blue-mid) !important; color: #fff !important; padding: 8px 18px; border-radius: 7px; font-size: 13px; font-weight: 500; }
.btn-nav:hover { background: var(--blue-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ── Hero ── */
.hero { background: linear-gradient(rgba(4,44,83,0.75), rgba(4,44,83,0.85)), url('hero.jpg') center center / cover no-repeat; padding: 72px 40px; color: #fff; }
.hero-content { max-width: 720px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); padding: 5px 15px; border-radius: 20px; font-size: 12px; margin-bottom: 22px; }
.hero h1 { font-size: 36px; font-weight: 700; line-height: 1.2; margin-bottom: 18px; }
.hero h1 span { color: var(--blue-pale); }
.hero p { color: rgba(255,255,255,0.8); max-width: 580px; margin-bottom: 30px; font-size: 15px; }
.hero-btns { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.btn-primary { background: #fff; color: var(--blue-mid); padding: 11px 22px; border-radius: 7px; text-decoration: none; font-size: 14px; font-weight: 600; transition: opacity .2s; }
.btn-primary:hover { opacity: .9; }
.btn-outline { border: 1px solid rgba(255,255,255,0.45); color: #fff; padding: 11px 22px; border-radius: 7px; text-decoration: none; font-size: 14px; transition: background .2s; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-item .stat-num { font-size: 22px; font-weight: 700; }
.stat-item .stat-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ── Page hero (inner pages) ── */
.page-hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%); padding: 52px 40px; color: #fff; }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.breadcrumb span { color: rgba(255,255,255,0.85); }
.page-hero h1 { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; font-size: 14px; }

/* ── USP strip ── */
.usp-strip { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 40px; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.usp-item { display: flex; gap: 12px; align-items: flex-start; }
.usp-icon { font-size: 22px; margin-top: 2px; }
.usp-item h4 { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.usp-item p { font-size: 12px; color: var(--text-muted); }

/* ── Sections ── */
section { padding: 56px 40px; }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-mid); font-weight: 600; margin-bottom: 8px; }
.section-title { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.section-title span { color: var(--blue-mid); }
.section-sub { color: var(--text-muted); max-width: 600px; line-height: 1.7; margin-bottom: 36px; font-size: 14px; }

/* ── Diensten grid (homepage) ── */
.diensten-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dienst-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: box-shadow .2s; }
.dienst-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.dienst-icon { font-size: 26px; margin-bottom: 14px; }
.dienst-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.dienst-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Werkgebied ── */
.werkgebied { background: var(--bg-soft); }
.werkgebied-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.werkgebied-visual { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.map-icon { font-size: 44px; margin-bottom: 14px; }
.werkgebied-visual h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.werkgebied-visual p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.regio-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.regio-tag { background: var(--blue-light); color: #0C447C; font-size: 11px; padding: 4px 11px; border-radius: 4px; font-weight: 500; }
.werkgebied-text ul { list-style: none; margin-top: 18px; }
.werkgebied-text ul li { padding: 7px 0; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--border); display: flex; gap: 8px; }
.werkgebied-text ul li::before { content: "✓"; color: var(--blue-mid); font-weight: 700; }

/* ── CTA banner ── */
.cta-banner { background: var(--blue-mid); padding: 56px 40px; text-align: center; color: #fff; }
.cta-banner h2 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 26px; font-size: 15px; }
.btn-dark { background: #fff; color: var(--blue-mid); padding: 12px 28px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; transition: opacity .2s; }
.btn-dark:hover { opacity: .9; }

/* ── Footer ── */
footer { background: var(--blue-dark); color: rgba(255,255,255,0.75); padding: 56px 40px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; margin-bottom: 36px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 14px; line-height: 1.6; }
.footer-logo { font-size: 16px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,0.5); font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-contact-item { display: flex; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; align-items: center; }
.footer-contact-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }

/* ── Diensten detail page ── */
.dienst-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 56px; align-items: start; }
.dienst-img { border-radius: var(--radius-lg); padding: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 210px; border: 1px solid var(--border); }
.dienst-emoji { font-size: 52px; margin-bottom: 14px; }
.dienst-img-label { font-size: 13px; font-weight: 600; }
.dienst-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.dienst-info p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.dienst-list { list-style: none; margin-bottom: 20px; }
.dienst-list li { font-size: 13px; color: var(--text-muted); padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.dienst-list li::before { content: "✓"; color: var(--blue-mid); font-weight: 700; flex-shrink: 0; }
.tag { background: var(--blue-light); color: #0C447C; font-size: 11px; padding: 3px 10px; border-radius: 4px; display: inline-block; margin: 2px; font-weight: 500; }
.tags { margin-bottom: 16px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.spec-card { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; text-align: center; }
.spec-num { font-size: 22px; font-weight: 700; color: var(--blue-mid); margin-bottom: 6px; }
.spec-label { font-size: 12px; color: var(--text-muted); }

/* ── Projecten page ── */
.filter-bar { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-btn { padding: 7px 16px; border-radius: 20px; font-size: 13px; border: 1px solid var(--border); background: var(--bg); cursor: pointer; color: var(--text-muted); transition: all .2s; }
.filter-btn:hover { border-color: var(--blue-mid); color: var(--blue-mid); }
.filter-btn.active { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s; }
.project-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.project-visual { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 44px; position: relative; }
.project-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; padding: 3px 10px; border-radius: 4px; font-weight: 600; }
.badge-vri { background: var(--blue-light); color: #0C447C; }
.badge-dvm { background: #EAF3DE; color: #3B6D11; }
.badge-tel { background: #FAEEDA; color: #854F0B; }
.badge-toe { background: #FBEAF0; color: #993556; }
.project-body { padding: 18px; }
.project-body h3 { font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.project-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.project-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.meta-item { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--border); }
.stat-box { text-align: center; }
.stat-box .stat-num { font-size: 28px; font-weight: 700; color: var(--blue-mid); }
.stat-box .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Contact page ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; padding: 56px 40px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.info-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.info-item:last-child { margin-bottom: 0; }
.info-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.info-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.info-value { font-size: 13px; font-weight: 600; }
.info-value a { color: var(--blue-mid); text-decoration: none; }
.response-badge { background: #EAF3DE; color: #3B6D11; font-size: 12px; padding: 9px 14px; border-radius: 6px; display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 500; }
.dienst-select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.dienst-opt { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); transition: all .15s; background: var(--bg); }
.dienst-opt:hover { border-color: var(--blue-mid); }
.dienst-opt.selected { border-color: var(--blue-mid); background: var(--blue-light); color: #0C447C; font-weight: 500; }
.opt-icon { font-size: 16px; }
.form-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.form-card > p { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.req { color: var(--blue-mid); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 6px;
  font-size: 13px; font-family: inherit; background: var(--bg); color: var(--text);
  transition: border-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(24,95,165,0.1); }
textarea { resize: vertical; min-height: 115px; }
.form-section-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; margin: 22px 0 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.submit-btn { width: 100%; background: var(--blue-mid); color: #fff; border: none; padding: 14px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 8px; transition: background .2s; font-family: inherit; }
.submit-btn:hover { background: var(--blue-dark); }
.submit-btn:disabled { opacity: .55; cursor: default; }
.privacy-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.success-msg { display: none; background: #EAF3DE; border: 1px solid #C0DD97; border-radius: 8px; padding: 18px; text-align: center; margin-top: 18px; }
.success-msg .s-icon { font-size: 26px; margin-bottom: 8px; }
.success-msg p { font-size: 13px; color: #3B6D11; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .usp-grid, .diensten-grid, .projects-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .werkgebied-inner, .dienst-detail, .contact-layout { grid-template-columns: 1fr; }
  .specs-grid, .stats-row { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 26px; }
}
@media (max-width: 600px) {
  .navbar { padding: 12px 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #042C53; padding: 16px 20px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero, .page-hero, section, .cta-banner, footer, .contact-layout { padding-left: 20px; padding-right: 20px; }
  .usp-strip { padding: 20px; }
  .usp-grid, .diensten-grid, .projects-grid, .footer-grid, .specs-grid, .stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
