/* ==========================================================================
   Ontstopping Vilvoorde - Master Stylesheet
   Design System based on Plumber Paragon Template Kit
   Colors: Primary #01306E | Secondary #EA4B43 | Accent #FFC752 | Dark #11121A
   ========================================================================== */

:root {
  --primary: #01306E;
  --primary-hover: #00224F;
  --primary-light: #EAF3FF;
  --secondary: #EA4B43;
  --secondary-hover: #D83B33;
  --secondary-light: #FEEDEB;
  --accent: #FFC752;
  --accent-light: #FEF5DF;
  --dark: #11121A;
  --dark-surface: #1B1D2A;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --white: #FFFFFF;
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  padding-bottom: 72px; /* For mobile sticky bar */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Utilities */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }

.bg-primary { background-color: var(--primary); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-dark { background-color: var(--dark); }
.bg-gray-50 { background-color: #F8FAFC; }
.bg-white { background-color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(234, 75, 67, 0.35);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 75, 67, 0.45);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(1, 48, 110, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
  border-radius: 10px;
}

/* Pulse animation */
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(234, 75, 67, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(234, 75, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 75, 67, 0); }
}

.pulse-button {
  animation: pulse-red 2s infinite;
}

/* Header & Navigation */
.top-bar {
  background-color: var(--dark);
  color: #CBD5E1;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.site-header {
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

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

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  transition: color 0.2s ease;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  padding: 8px 0;
  display: none;
  list-style: none;
  z-index: 200;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 24px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--primary);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 84px;
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 150;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #F8FAFC 0%, var(--primary-light) 100%);
  padding: 60px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  border: 1px solid #CBD5E1;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hero-title {
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.18;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

.hero-lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 640px) {
  .hero-trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* Feature Cards Grid */
.features-section {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  padding-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-badge {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 40px;
  }
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(1, 48, 110, 0.12);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 28px;
}

.service-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--secondary);
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 12px;
  color: var(--secondary-hover);
}

/* Steps / Process */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 900;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Emergency Callout Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(1, 48, 110, 0.25);
}

.cta-banner h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #E2E8F0;
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto 30px auto;
}

/* Form Section */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #F8FAFC;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(1, 48, 110, 0.15);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.stars {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 14px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  transition: transform 0.25s ease;
  font-size: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: #94A3B8;
  padding: 70px 0 30px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-title {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Mobile Sticky Bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  padding: 10px 16px;
  display: flex;
  gap: 12px;
  z-index: 999;
}

@media (min-width: 1024px) {
  .sticky-bar {
    display: none;
  }
}

.sticky-bar a {
  flex: 1;
}
