/* Swiper Mobile & Responsive Optimizations */

/* Base Swiper styling */

#swiper-1 {
  width: 100%;
  height: 315px;
  overflow: hidden;
}

/* Navigation buttons - better sizing on mobile */

.swiper-button-next, .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: rgba(33, 37, 41, 0.7);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 18px;
  color: white;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background-color: rgba(33, 37, 41, 0.9);
}

/* Pagination dots - better touch target on mobile */

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(33, 37, 41, 0.3);
  opacity: 1;
  margin: 0 6px;
}

.swiper-pagination-bullet-active {
  background-color: rgba(33, 37, 41, 0.8);
}

/* Mobile optimizations */

@media (max-width: 576px) {
  #swiper-1 {
    height: 315px;
    padding: 10px;
    overflow: hidden;
  }
}

@media (max-width: 576px) {
  .swiper-button-next, .swiper-button-prev {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 576px) {
  .swiper-button-next {
    right: 5px;
  }
}

@media (max-width: 576px) {
  .swiper-button-prev {
    left: 5px;
  }
}

@media (max-width: 576px) {
  .swiper-button-next::after, .swiper-button-prev::after {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .swiper-pagination {
    bottom: 8px;
  }
}

@media (max-width: 576px) {
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
}

/* Tablet optimizations */

@media (min-width: 576px) and (max-width: 992px) {
  #swiper-1 {
    height: 315px;
    overflow: hidden;
  }
}

@media (min-width: 576px) and (max-width: 992px) {
  .swiper-button-next, .swiper-button-prev {
    width: 38px;
    height: 38px;
  }
}

/* Ensure touch-friendly spacing */

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 315px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prevent image selection on touch */

.swiper-slide img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

