body {
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100vh;
  position: relative;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Затемнение */
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 80%;
  color: #fff;
}

.slide-content h2 {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 1.5rem;
  opacity: 0.8;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 25px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  width: 12px;
  height: 12px;
  transition: background 0.3s;
}

.swiper-pagination-bullet-active {
  background: #fff;
}

@media (max-width: 768px) {
  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1.2rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
}

.slide-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
