/* 🌈 KLEUREN EN INSTELLINGEN */
:root {
  --primary-color: #8E9AAF;
  --secondary-color: #a736f3;
  --bg-color: #EFD3D7;
  --text-color: #333;
  --header-height: 80px;
  --light-blue: #c28df3;
  --light-grey: #DEE2FF;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding-top: 160px;
}

@media (max-width: 768px) {
  body {
    padding-top: 220px;
  }
}

/* 🦸‍♀️ HERO / PARALLAX SECTIE */
.hero {
  background-image: url('/foto/bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  z-index: 1;
  animation: fadeIn 2s ease-in-out;
}

.hero-content h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.cta-button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--light-blue);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.round-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.round-image:hover {
  transform: scale(1.1);
}

/* 🌟 Fade-in animatie */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 📱 MOBIEL AANPASSINGEN */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    height: auto;
    padding: 60px 20px;
  }

  .hero-content h2 {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  .round-image {
    width: 100px;
    height: 100px;
  }
}

/* 🧾 CONTENT SECTIES */
.content {
  background: rgba(255, 255, 255, 0.9);
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
}

.content h2 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.content p {
  font-size: 16px;
  color: #444;
}

/* 🧴 DIENSTEN (GRID / SLIDER) */
.services-section {
  padding: 40px 20px;
  background-color: #f8f1fa;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  height: auto;
}

.service-card h3 {
  color: var(--secondary-color);
  font-size: 20px;
}

.fun-button {
  margin-top: 10px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.fun-button:hover {
  background-color: var(--light-blue);
}

/* Gallery */
.gallery-section {
  background: #fff;
  padding: 40px 20px;
  overflow: hidden;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.loop-gallery-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.loop-gallery-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: scrollGalleryLoop 100s linear infinite;
}

.loop-gallery-wrapper:hover .loop-gallery-track {
  animation-play-state: paused;
}


.gallery-item {
  flex: 0 0 250px;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-color: #f8f8f8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

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

@keyframes scrollGalleryLoop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}




/* 🔝 SCROLL-TO-TOP KNOP */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.scroll-to-top-btn:hover {
  background-color: var(--light-blue);
}

/* 🧴 DIENSTEN SLIDESHOW */
.services-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px;
  scroll-behavior: smooth;
}

.service-slide {
  flex: 0 0 85%;
  background: white;
  border-radius: 15px;
  padding: 20px;
  scroll-snap-align: start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease-in-out;
  text-align: center;
}

.service-slide:hover {
  transform: translateY(-5px);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
}

.slideshow-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-container img:first-child {
  opacity: 1;
}

.slide {
  opacity: 0;
}

.scrollbar::-webkit-scrollbar {
  display: none;
}

/* Scrollbar verbergen */
.services-slider::-webkit-scrollbar {
  display: none;
}
.services-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ✅ Container voor centreren */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

/* 3 kolommen op desktop */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Slideshow pijlen */
.slideshow-container {
  position: relative;
}

.prev-slide,
.next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 24px;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.prev-slide {
  left: 10px;
}

.next-slide {
  right: 10px;
}

/* 📱 MOBIEL: diensten en slideshows */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 15px;
  }

  .slideshow-container {
    height: auto;
  }

  .slideshow-container img {
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
  }

  .prev-slide,
  .next-slide {
    font-size: 20px;
    padding: 6px 10px;
  }

  .fun-button {
    font-size: 14px;
    padding: 10px 16px;
  }
}