/* Custom CSS - Huub Wiegers Tuinideeen */

html {
  scroll-behavior: smooth;
}

/* Scroll offset voor fixed nav */
section[id] {
  scroll-margin-top: 81px;
}

#projecten {
  scroll-margin-top: 81px;
}

.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* Swiper styling voor expertise sectie */
.expertise-swiper {
  padding-bottom: 32px;
}

.expertise-swiper .swiper-wrapper {
  height: auto !important;
}

.expertise-swiper .swiper-slide {
  height: auto !important;
}

.expertise-swiper .swiper-slide > div {
  min-height: 180px;
}

.expertise-swiper .swiper-pagination-bullet {
  background-color: #8cc63f;
  opacity: 0.5;
}

.expertise-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Desktop: verberg swiper pagination */
@media (min-width: 768px) {
  .expertise-swiper .swiper-pagination {
    display: none;
  }
}

/* Lightbox Modal Styling */
.lightbox-swiper {
  height: auto;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.lightbox-swiper .swiper-wrapper {
  align-items: center;
}

@media (max-width: 767px) {
  .lightbox-swiper {
    overflow: visible !important;
  }

  .lightbox-swiper .swiper-wrapper {
    overflow: visible !important;
  }
}

.lightbox-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto !important;
}

.lightbox-pagination {
  position: static !important;
  margin-top: 16px;
  flex-shrink: 0;
}

.lightbox-swiper .swiper-button-prev,
.lightbox-swiper .swiper-button-next {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.lightbox-swiper .swiper-button-prev:after,
.lightbox-swiper .swiper-button-next:after {
  font-size: 20px;
}

.lightbox-pagination .swiper-pagination-bullet {
  background-color: white;
  opacity: 0.5;
}

.lightbox-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #8cc63f;
}

/* Lightbox open - voorkom scrollen */
body.lightbox-open {
  overflow: hidden;
}
