/* Swiper Carousel Block Styles */
.ap-carousel {
  width: 100%;
  position: relative;
}

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

/* Text overlay styling */
.ap-carousel .intro {
  max-width: 800px;
  padding: 0 20px;
}

.ap-carousel .intro-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.ap-carousel .intro-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.ap-carousel .btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--wp--preset--color--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.ap-carousel .btn:hover {
  background-color: rgba(var(--wp--preset--color--primary-rgb), 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Swiper navigation buttons */
.ap-carousel .swiper-button-prev,
.ap-carousel .swiper-button-next {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px !important;
  height: 50px !important;
  margin-top: -25px;
}

.ap-carousel .swiper-button-prev:after,
.ap-carousel .swiper-button-next:after {
  font-size: 20px;
}

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

/* Custom black button style from old site */
.swiper-button-black {
  background: rgba(0, 0, 0, 0.6) !important;
  border-radius: 50% !important;
}

.swiper-button-black:hover {
  background: rgba(0, 0, 0, 0.8) !important;
}

/* Swiper pagination */
.ap-carousel .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.ap-carousel .swiper-pagination-bullet-active {
  background: white;
}

/* Responsive design */
@media (max-width: 768px) {
  .ap-carousel .intro-title {
    font-size: 2rem;
  }

  .ap-carousel .intro-description {
    font-size: 1rem;
  }

  .ap-carousel .btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  .ap-carousel .swiper-button-prev,
  .ap-carousel .swiper-button-next {
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px;
  }

  .ap-carousel .swiper-button-prev:after,
  .ap-carousel .swiper-button-next:after {
    font-size: 16px;
  }
}
