.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 500px;
  margin: 20px;
  overflow: hidden;
}

.carousel {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  width: 60%;
  height: 400px;
  opacity: 0;
  transition: all 0.5s ease;
  transform: scale(0.8);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-radius: 10px;
  overflow: hidden;
}

.slide.prev,
.slide.next {
  opacity: 0.6;
  z-index: 1;
}

.slide.prev {
  transform: translateX(-100%) scale(0.8);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slide.next {
  transform: translateX(100%) scale(0.8);
}

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

.carousel-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 3;
  padding: 0 20px;
}

.nav-button {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.nav-button:hover {
  background: rgba(255, 255, 255, 1);
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background: white;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button::after {
  content: '';
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
}