/* Utah Dance Center - Swiper Custom Styles */

.udc-swiper {
  width: 100%;
  height: 991px;
  position: relative;
}

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

.swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.swiper-slide.active {
  display: flex;
  opacity: 1;
}

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

.swiper-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.swiper-slide-text {
  font-weight: 300;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 130px;
  line-height: 150px;
  color: #cd7399;
  text-align: center;
  margin: 0;
  padding: 0;
}

.swiper-slide-button {
  margin-top: 50px;
  padding: 6px 22px;
  border: 2px solid #d06b96;
  font-weight: 700;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  line-height: 26px;
  color: #ffffff;
  background-color: #d06b96;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.swiper-slide-button:hover {
  background-color: transparent;
  color: #d06b96;
}

/* Pagination dots */
.swiper-pagination {
  bottom: 20px !important;
  z-index: 10;
}

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

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

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
}

.swiper-button-prev {
  left: 20px;
}

.swiper-button-next {
  right: 20px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: '';
  font-size: 0;
}

.swiper-button-prev::before {
  content: "←";
  font-size: 24px;
  font-weight: bold;
  text-indent: 0;
  display: block;
}

.swiper-button-next::before {
  content: "→";
  font-size: 24px;
  font-weight: bold;
  text-indent: 0;
  display: block;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .udc-swiper {
    height: 600px;
  }

  .swiper-slide-text {
    font-size: 80px;
    line-height: 100px;
  }
}

@media (max-width: 768px) {
  .udc-swiper {
    height: 400px;
  }

  .swiper-slide-text {
    font-size: 50px;
    line-height: 60px;
  }

  .swiper-slide-button {
    font-size: 12px;
    padding: 5px 15px;
  }
}

@media (max-width: 480px) {
  .udc-swiper {
    height: 300px;
  }

  .swiper-slide-text {
    font-size: 36px;
    line-height: 45px;
  }

  .swiper-slide-button {
    font-size: 11px;
    padding: 4px 12px;
    margin-top: 20px;
  }
}
