/* --- Variabelen & Reset --- */
:root {
  --primary-color: #1fa9bb; /* Turkoois */
  --primary-dark: #198796;
  --secondary-color: #fec201; /* Mosterdgeel */
  --secondary-dark: #cc9b01;
  --secondary-hover: #e5af01;
  --text-dark: #0c444b; /* Diep donkerblauw/grijs voor tekst */
  --text-light: #6d7a82;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --radius: 15px; /* De ronde hoeken zoals op de foto */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Poppins', Arial, sans-serif; /* Added fallback font */
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

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

a, button {
  outline: none; /* Verwijder de focus outline */
  text-decoration: none; /* Verwijder onderstreping */
  color: inherit; /* Zorg dat de tekstkleur hetzelfde blijft */
}

a:focus, a:active, button:focus, button:active {
  color: inherit; /* Voorkom blauwe kleur bij focus of klik */
  text-decoration: none; /* Geen onderstreping bij focus of klik */
}

/* --- Navigatie --- */
.navbar {
  background: var(--white);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: auto; /* Allow the image to scale naturally */
  max-width: 130px; /* Set a maximum width to prevent it from being too large */
  height: auto; /* Maintain aspect ratio */
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Knoppen --- */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  display: inline-block; /* Ensure proper inline-block behavior */
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  display: inline-block; /* Ensure proper inline-block behavior */
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  display: inline-block; /* Ensure proper inline-block behavior */
}

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

@media (max-width: 768px) {
  .btn-primary, .btn-secondary, .btn-outline {
    padding: 0.6rem 1.2rem; /* Adjust padding for smaller screens */
    font-size: 0.9rem; /* Slightly reduce font size */
  }
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1fa9bb 100%);
  color: var(--white);
  padding: 6rem 0;
  border-bottom-right-radius: 80px; /* Stijlelement */
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 2rem; /* Reduced margin to bring text closer together */
  line-height: 1.2; /* Adjusted line height for tighter spacing */
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* --- Secties Algemeen --- */
.section {
  padding: 5rem 20px; /* Voeg padding aan de zijkanten toe */
}

.sub-title {
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* --- About Section --- */
.about-section .row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.col-text { flex: 1; }
.col-img { flex: 1; }

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 600px; /* Adjust the max height to slightly reduce the image height */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover; /* Ensures the image doesn't distort */
}

.badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0;
}

/* --- Services Grid --- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.3s;
  text-align: center;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--secondary-color);
}

.icon-box {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.center-btn {
  text-align: center;
  margin-top: 2rem;
}

.btn-text {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

/* --- Testimonials --- */
.testimonials {
  background-color: #eaf4f4; /* Zeer licht turkoois */
  border-radius: 50px;
  margin: 2rem 20px; /* Beetje marge aan zijkant zoals in voorbeeld */
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease; /* Smooth transition for both transform and shadow */
}

.review-card:hover {
  transform: scale(1.05); /* Slight zoom effect */
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Enhance shadow on hover */
}


h5 {
  margin-top: 1rem;
}

.stars {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* --- Contact Section --- */
.contact-box {
  display: flex;
  align-items: stretch; /* Forces both sides to be the same height */
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-logo {
  margin-top: auto;   /* This is the "magic" that pushes it down */
  margin-bottom: 2rem;
  align-self: flex-start;
  line-height: 0;     /* Extra insurance against text-line-height gaps */
}

.contact-logo img {
  width: auto;
  max-width: 150px;
  height: auto;
  display: block; 
}

.contact-info {
  flex: 1;
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 3rem 0 3rem; /* Bottom padding is 0 */
  
  display: flex;
  flex-direction: column;
  /* Remove justify-content: flex-start; it can sometimes interfere */
}

.contact-info h2 { color: var(--white); }
.contact-list { margin-top: 2rem; }
.contact-list li { margin-bottom: 01rem; display: flex; align-items: center; gap: 10px;}

.contact-form-wrapper {
  flex: 1.5;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

.full-width {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* --- Diensten Detail Pagina Styles --- */
.page-header {
  background-color: var(--bg-light);
  padding: 6rem 0 0 0;
  text-align: center;
  max-width: 700px; /* Limit the width of the text */
  margin: 0 auto; /* Center the text block */
}

.service-detail-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.service-detail-row.reverse {
  flex-direction: row-reverse;
}

.service-text { flex: 1; }

.service-text p {
  margin-bottom: 1.5rem;
}

.service-img { flex: 1; }

.service-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Increased shadow intensity */
  height: 350px;
  object-fit: cover;
}

.icon-large {
  font-size: 3rem;
  color: var(--secondary-color); /* Mosterd iconen hier */
  margin-bottom: 0.5rem;
}

.check-list li {
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.check-list i {
  color: var(--primary-color);
}

.cta-block {
  text-align: center;
  background: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
}

.cta-block a {
  margin-top: 1rem;
}

.cta-block h2 { color: var(--white); }

/* --- Footer --- */
.footer {
  background-color: var(--text-dark); /* Donkere achtergrondkleur */
  color: var(--white); /* Witte tekstkleur */
  padding: 3rem 0; /* Ruimte rondom de footer */
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem; /* Ruimte tussen logo en links */
  margin-bottom: 2rem; /* Ruimte onder de bovenste sectie */
}

.footer-logo img {
  max-width: 120px; /* Kleinere logo-afmeting */
  height: auto;
}

.footer-links {
  display: flex;
  gap: 1.5rem; /* Ruimte tussen de links */
  flex-wrap: wrap; /* Zorgt ervoor dat links op kleinere schermen breken */
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color); /* Primaire kleur bij hover */
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* Subtiele scheidingslijn */
  padding-top: 1.5rem;
  font-size: 0.9rem; /* Kleinere tekstgrootte */
  line-height: 1.5;
}

.footer-bottom p {
  margin: 0.5rem 0; /* Ruimte tussen de paragrafen */
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
  section, .container, main {
    padding-left: 20px;
    padding-right: 20px;
}
  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      right: 0;
      background: var(--white);
      width: 100%;
      padding: 2rem;
      box-shadow: 0 10px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
      display: flex;
  }

  .hamburger { display: block; }

  .hero h1 { font-size: 2rem; }
  
  .about-section .row,
  .contact-box,
  .service-detail-row,
  .service-detail-row.reverse {
      flex-direction: column;
  }

  .badge {
      left: 0;
      bottom: -15px;
  }

  @media (max-width: 768px) {
    .footer {
      padding: 2rem 1rem; /* Minder padding op kleinere schermen */
    }
  
    .footer-links {
      flex-direction: column; /* Links onder elkaar op kleinere schermen */
      gap: 1rem;
    }
  }
} /* Ensure proper closure of @media query */