/* ao-villa.jp Carousel Component */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  user-select: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

/* Indicators (dots) */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.carousel-indicator.active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .carousel-arrow {
    width: 36px;
    height: 36px;
  }
  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }
  .carousel-arrow.prev { left: 10px; }
  .carousel-arrow.next { right: 10px; }
  .carousel-indicator {
    width: 8px;
    height: 8px;
  }
  .carousel-indicator.active {
    width: 22px;
  }
  .carousel-indicators {
    bottom: 12px;
    gap: 6px;
  }
}
