/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a2e4a;
  --blue-mid: #2d4a6e;
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --white: #ffffff;
  --gray-light: #f5f6f8;
  --gray: #6b7280;
  --text: #1f2937;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s, transform .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--white); color: var(--blue); }

.btn-large { padding: 18px 48px; font-size: 1.1rem; }
.btn-full { width: 100%; text-align: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .3s, box-shadow .3s;
  padding: 16px 0;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  padding: 10px 0;
}
.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a:hover { color: var(--orange); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 105px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--white);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color .2s;
  font-size: .95rem;
}
.nav-links a:hover { color: var(--orange); }

.btn-offerte {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.btn-offerte:hover { background: var(--orange-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
.navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/fondowebsite.jpg') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 74, 0.62);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
  color: var(--white);
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin-bottom: 36px;
  opacity: .92;
  max-width: 580px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== SECTION LABELS & HEADERS ===== */
.section-label {
  display: inline-block;
  background: rgba(249,115,22,.12);
  color: var(--orange);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-header p { color: var(--gray); max-width: 560px; margin: 0 auto; }

/* ===== OVER ONS ===== */
.over-ons { background: var(--white); }
.over-ons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.over-ons-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
}
.over-ons-text p { color: var(--gray); margin-bottom: 28px; font-size: 1.05rem; }

.check-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
}
.check-list li::before {
  content: '✓';
  background: var(--orange);
  color: var(--white);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.over-ons-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(26,46,74,.15);
}

/* ===== DIENSTEN ===== */
.diensten { background: var(--gray-light); }
.diensten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.dienst-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid #e5e7eb;
}
.dienst-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,46,74,.12);
}
.dienst-icon {
  width: 56px;
  height: 56px;
  background: rgba(249,115,22,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.dienst-icon svg { width: 28px; height: 28px; color: var(--orange); }
.dienst-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.dienst-card p { color: var(--gray); font-size: .95rem; }

/* ===== WAAROM ===== */
.waarom { background: var(--white); }
.waarom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.waarom-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--gray-light);
  border-radius: 10px;
  transition: transform .2s;
}
.waarom-item:hover { transform: translateY(-3px); }
.check-icon {
  background: var(--orange);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.waarom-item h4 { font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.waarom-item p { color: var(--gray); font-size: .9rem; }

/* ===== PROJECTEN ===== */
.projecten { background: var(--gray-light); }
.projecten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.project-img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-placeholder svg { width: 48px; height: 48px; opacity: .5; }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,74,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
  opacity: 0;
  transition: opacity .3s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
}
.project-overlay h4 { font-weight: 700; font-size: 1rem; }

/* ===== CTA ===== */
.cta-section {
  background: var(--blue);
  padding: 90px 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.cta-section p { font-size: 1.1rem; opacity: .85; margin-bottom: 36px; }

/* ===== CONTACT ===== */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--blue); font-size: .9rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}
.form-group textarea { resize: vertical; }

.form-success {
  background: #d1fae5;
  color: #065f46;
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 16px;
}

.info-card {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}
.info-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin-bottom: 24px; }
.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.info-item svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.info-item strong { display: block; font-weight: 600; color: var(--blue); margin-bottom: 2px; font-size: .9rem; }
.info-item p { color: var(--gray); font-size: .9rem; }
.info-item a { color: var(--orange); transition: opacity .2s; }
.info-item a:hover { opacity: .8; }

.map-container { border-radius: 12px; overflow: hidden; height: 220px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--blue);
  color: rgba(255,255,255,.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 44px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; opacity: .8; line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 18px; height: 18px; color: var(--white); }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 18px;
  font-size: .95rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; opacity: .75; transition: opacity .2s, color .2s; }
.footer-links a:hover { opacity: 1; color: var(--orange); }

.footer-contact p { font-size: .9rem; opacity: .8; margin-bottom: 10px; }
.footer-contact a { color: rgba(255,255,255,.8); transition: color .2s; }
.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  opacity: .65;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.whatsapp-float svg { width: 30px; height: 30px; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  animation: fadeIn .9s ease forwards .2s;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .diensten-grid,
  .waarom-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--blue);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--white) !important; padding: 12px 16px; width: 100%; }
  .hamburger { display: flex; }

  .over-ons-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .over-ons-image { order: -1; }
  .over-ons-image img { height: 280px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

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

@media (max-width: 520px) {
  .diensten-grid,
  .waarom-grid,
  .projecten-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
