/* styles.css */

/* Import Poppins van Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

html {
  margin: 0; /* Ensure no margin on html */
  padding: 0; /* Ensure no padding on html */
  height: 100%; /* Set html height to 100% */
  overflow-x: hidden; /* Prevent horizontal scroll */
  scroll-behavior: smooth; /* Smooth scrolling */
  scroll-padding-top: 97px; /* Account for fixed header */
  overscroll-behavior: none; /* Prevent bounce/elastic scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Basis instellingen */
body {
  font-family: 'Poppins', sans-serif;
  color: #0c113e;
  line-height: 1.6;
  margin: 0; /* Ensure no margin on body */
  padding: 0; /* Remove all padding from body */
  overflow-x: hidden; /* Prevent horizontal scroll */
  min-height: 100vh; /* Ensure body takes full viewport height */
  position: relative; /* Establish positioning context */
  overscroll-behavior: none; /* Prevent bounce/elastic scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

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

/* Header */
.site-header {
  background: #0c113e;
  color: #fff;
  padding: 16px 0;
}
.site-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* CTA */
.cta {
  background: #39897d;
  color: #fff;
  text-align: center;
  padding: 64px 16px;
}
.cta h1 {
  font-size: 32px;
  margin-bottom: 16px;
}
.cta p {
  font-size: 18px;
}

/* Hero */
/* .hero {
  background: url('path/to/your/hero.jpg') center/cover no-repeat;
  color: #774e4e;
  padding: 96px 16px;
  text-align: center;
  background: #deeeed;
} */

/* Services */
#services {
  padding: 80px 0;
  /* background: linear-gradient(
    135deg,
    rgb(222, 237, 237) 0%,
    rgb(255, 255, 255) 50%,
    rgb(222, 237, 237) 100%
  ); */
}
.text-center { text-align: center; }
.space-y-4 > * + * { margin-top: 16px; }
.mb-16 { margin-bottom: 64px; }
.text-4xl { font-size: 28px; }
@media (min-width: 1024px) {
  .lg\:text-5xl { font-size: 36px; }
}
.font-bold { font-weight: 700; }
.text-xl { font-size: 18px; }
.text-gray-600 { color: #555; }
.max-w-3xl { max-width: 768px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.grid { display: grid; }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.gap-8 { gap: 32px; }

/* Card */
.card {
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow .3s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.card-header {
  padding: 24px;
}
.w-12 { width: 48px; }
.h-12 { height: 48px; }
.rounded-lg { border-radius: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.card-title {
  font-size: 18px;
  margin: 8px 0;
  color: #0c113e;
}
.card-description {
  font-size: 16px;
  color: #555;
}
.card-content {
  padding: 0 24px 24px;
}
.space-y-2 > * + * { margin-top: 8px; }
.text-sm { font-size: 16px; }

/* Bullet voor features */
.bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #39897d;
  border-radius: 50%;
  margin-right: 8px;
}

/* Testimonials */
#testimonials {
  padding: 64px 0;
  background: #f1f5f9;
}
#testimonials h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 32px;
}
.reviews { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
}
.review {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Footer */
.site-footer {
  background: #0c113e;
  color: #fff;
  text-align: center;
  padding: 32px 16px;
}

/* === MOBILE RESPONSIVE ADJUSTMENTS === */

/* Tablet landscape and smaller desktops (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  .container {
    max-width: 900px; /* Limit container width for better readability */
    padding: 0 32px; /* Comfortable side margins */
  }
  
  /* Services section adjustments */
  #services {
    padding: 60px 0; /* Comfortable vertical spacing */
  }
  
  #services .container {
    max-width: 850px; /* Slightly narrower for services */
  }
  
  #services h2 {
    font-size: 36px; /* Comfortable heading size */
    line-height: 1.3;
  }
  
  #services p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 450px; /* Consistent with hero text width */
    margin: 0 auto; /* Center the text */
  }
}

/* Mobile adjustments (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding-top: 80px; /* Reduced padding for mobile header */
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 70px; /* Further reduced for small mobile */
  }
}
