/* Services Section */
.services-section {
  background-color: var(--background-card);
  color: var(--text-color);
  padding: 100px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  border-bottom: 1px solid var(--border-color);
}

.services-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-heading h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-heading p {
  color: var(--text-color);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--background-light);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: left;
  max-width: 350px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  background-color: var(--background-card);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 16px;
}

.service-card p {
  margin-bottom: 24px;
  color: var(--text-color);
  opacity: 0.9;
}

/* À la carte Services Section */
.services-details {
  padding: 100px 0;
  background-color: var(--background-card);
}

.services-details h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 42px;
}

.services-details p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background: linear-gradient(145deg, #ffffff, #f5f5f7);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
  transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-item:hover:before {
  height: 100%;
}

.service-item h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-item p {
  margin-bottom: 20px;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
}

.service-price {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  font-size: 20px !important;
  margin-top: auto;
  position: relative;
  display: inline-block;
}

.service-price:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.services-note {
  margin-top: 50px !important;
  font-size: 16px !important;
  font-style: italic;
  color: var(--text-secondary) !important;
}

/* Gallery Section */
.gallery-section {
  padding: 100px 0;
  background-color: var(--background-light);
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.gallery-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .caption {
  padding: 15px;
  background-color: white;
  color: var(--text-color);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

/* Advantages Section for Zoekservice Page */
.advantages-section {
  padding: 100px 0;
  background-color: var(--background-light);
  position: relative;
  overflow: hidden;
}

.advantages-section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 42px;
  color: var(--primary-color);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.advantage-item {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.advantage-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.advantage-item:hover:before {
  transform: scaleX(1);
}

.advantage-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(193, 30, 43, 0.1), rgba(193, 30, 43, 0.05));
  border-radius: 50%;
  position: relative;
}

.advantage-item h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 600;
}

.advantage-item p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Recent Search Results Section */
.successes-section {
  padding: 100px 0;
  background-color: var(--background-card);
}

.successes-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 42px;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.success-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.success-item {
  display: flex;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.success-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.success-item img {
  width: 40%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.success-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.success-content h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
}

.success-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 1068px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .advantages-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding: 0 20px;
  }

  .success-item {
    flex-direction: column;
  }

  .success-item img {
    width: 100%;
    height: 220px;
  }
}

@media (max-width: 734px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .success-item {
    flex-direction: column;
  }

  .success-item img {
    width: 100%;
    height: 200px;
  }

  .advantage-item,
  .success-content {
    padding: 25px 20px;
  }
}