.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease, cursor 0.3s ease;
  cursor: pointer;
}

.swiper-slide img:hover {
  transform: scale(1.1);
  z-index: 10;
  position: relative;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.mySwiper2 {
  height: 450px;
  width: 100%;
  margin-bottom: 2px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mySwiper2 .swiper-slide {
  overflow: hidden;
  border-radius: 12px;
}

.mySwiper2 .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  cursor: zoom-in;
  transform-origin: center center;
}

.mySwiper2 .swiper-slide img:hover {
  cursor: zoom-out;
}

.mySwiper2 .swiper-slide img.zoomed {
  transition: none;
  will-change: transform;
}

.mySwiper {
  height: 120px;
  box-sizing: border-box;
  padding: 5px 0;
}

.mySwiper .swiper-slide {
  width: 20%;
  height: 100%;
  opacity: 0.4;
  margin-right: 5px;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.mySwiper .swiper-slide img {
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.mySwiper .swiper-slide img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 5;
  position: relative;
}

/* Masaüstü için ek düzenlemeler */
@media (min-width: 768px) {
  .mySwiper2 {
    height: 520px;
  }

  .mySwiper {
    height: 140px;
    padding: 8px 0;
  }

  .mySwiper .swiper-slide {
    width: 18%;
    margin-right: 8px;
  }

  .mySwiper .swiper-slide img {
    border-radius: 10px;
  }
}

/* Büyük masaüstü ekranlar için */
@media (min-width: 1200px) {
  .mySwiper2 {
    height: 580px;
  }

  .mySwiper {
    height: 160px;
    padding: 10px 0;
  }

  .mySwiper .swiper-slide {
    width: 16%;
    margin-right: 10px;
  }
}

/* Mobil dokunma efektleri */
@media (max-width: 767px) {
  .mySwiper2 .swiper-slide img:active {
    transform: scale(1.15);
  }

  .mySwiper .swiper-slide img:active {
    transform: scale(1.1);
  }
}
