/* style.css - Klusbedrijf De Bouwbaas */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1e3a8a;
  --primary-dark: #0f172a;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-soft: #fef3c7;
  --surface: #ffffff;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --container: 1140px;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP BAR */
.top-bar {
  background: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-bar-item a {
  color: #f8fafc;
  font-weight: 600;
}

.top-bar-item a:hover {
  color: var(--accent);
}

.badge-pill {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* HEADER */
.site-header {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
}

.logo-text span {
  display: block;
}

.logo-text .title {
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.logo-text .subtitle {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.site-nav a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.site-nav a.active {
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
  font-weight: 700;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--primary-dark);
  line-height: 1;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  min-height: 48px;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.btn-primary:hover {
  background: #1e40af;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: #78350f;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  min-height: 40px;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero p {
  font-size: 1.125rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,0.15);
}

.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  color: var(--text);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 14px;
}

.floating-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: #b45309;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.floating-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.floating-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* USP STRIP */
.usp-section {
  margin-top: -30px;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}

.usp-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease;
}

.usp-card:hover {
  transform: translateY(-3px);
}

.usp-icon {
  font-size: 1.8rem;
  color: var(--primary);
}

.usp-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.usp-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* SECTIONS */
.section {
  padding: 64px 0;
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  background: rgba(30, 58, 138, 0.08);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 28px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.service-image {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.04);
}

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #78350f;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.service-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex-grow: 1;
  line-height: 1.55;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 800;
}

/* WERKWIJZE */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px;
}

.process-step {
  background: var(--surface);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* ABOUT INTRO / SPLIT */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.split-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.split-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.split-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.highlight-box {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.highlight-box p {
  color: #78350f;
  font-weight: 600;
  font-size: 0.98rem;
  margin: 0;
}

/* WERKGEBIED */
.area-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.area-tag {
  background: var(--bg-alt);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

/* FORM / CONTACT */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.form-control, input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.form-control:focus, input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Keuzelijst en datumveld even hoog als de tekstvelden, tekst op dezelfde plek */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select {
  height: 3rem;
  padding-top: 0;
  padding-bottom: 0;
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px; /* ruimte voor het pijltje */
  text-overflow: ellipsis; /* te lange keuze eindigt op … */
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-size: 6px 6px;
  background-position: right 22px center, right 16px center; /* 16px = padding links */
  background-repeat: no-repeat;
}

input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
}

input[type="date"]::-webkit-date-and-time-value {
  text-align: left; /* iOS zet de datum anders in het midden */
}

/* ACCORDION / FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  transition: all 0.2s ease;
}

details[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

summary {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CONTACT INFO CARDS */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-info-content p, .contact-info-content a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.contact-info-content a:hover {
  color: var(--primary);
}

/* FOOTER */
.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-main {
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  background: #020617;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.example-disclaimer {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  text-align: center;
  width: 100%;
  margin-bottom: 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid, .split-grid, .area-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-floating-card {
    position: static;
    margin-top: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
  }

  .menu-open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-bottom: 1px solid var(--border);
    gap: 6px;
  }

  .menu-open .site-nav a {
    padding: 12px 16px;
    font-size: 1.05rem;
  }

  .header-cta .btn {
    display: none;
  }

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

  .form-group.full {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .top-bar {
    display: none;
  }
}
