/* ===========================
   Clinic Gallery Section
   =========================== */
.clinic-gallery {
  padding: 5rem 0;
  background-color: #fafafa;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.3;
}

/* Swiper Container */
.gallery-swiper-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.clinicSwiper {
  padding: 0 3rem 3rem;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: #e5e5e5;
  border: 1px solid #d5d5d5;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Swiper Navigation Buttons */
.clinicSwiper .swiper-button-prev,
.clinicSwiper .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 5px;
  background-color: white;
  border: 1px solid #d5d5d5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.clinicSwiper .swiper-button-prev:after,
.clinicSwiper .swiper-button-next:after {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.clinicSwiper .swiper-button-prev:hover,
.clinicSwiper .swiper-button-next:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(163, 133, 101, 0.3);
}

.clinicSwiper .swiper-button-prev:hover:after,
.clinicSwiper .swiper-button-next:hover:after {
  color: white;
}

/* Swiper Pagination */
.clinicSwiper .swiper-pagination {
  bottom: 0;
}

.clinicSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #d5d5d5;
  opacity: 1;
  transition: all 0.3s ease;
}

.clinicSwiper .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  width: 24px;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
  .clinicSwiper {
    padding: 0 2.5rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .clinic-gallery {
    padding: 4rem 0;
  }

  .gallery-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }

  .clinicSwiper {
    padding: 0 2rem 2.5rem;
  }

  .clinicSwiper .swiper-button-prev,
  .clinicSwiper .swiper-button-next {
    width: 40px;
    height: 40px;
  }

  .clinicSwiper .swiper-button-prev:after,
  .clinicSwiper .swiper-button-next:after {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .clinic-gallery {
    padding: 3rem 0;
  }

  .gallery-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .clinicSwiper {
    padding: 0 1.5rem 2rem;
  }

  .clinicSwiper .swiper-button-prev,
  .clinicSwiper .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .clinicSwiper .swiper-button-prev:after,
  .clinicSwiper .swiper-button-next:after {
    font-size: 14px;
  }

  .clinicSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .clinicSwiper .swiper-pagination-bullet-active {
    width: 20px;
  }
}
