/* 轮播样式 */
.carousel-container {
  width: 100%;
  height: 750px;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-image {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-content {
  position: absolute;
  bottom: 100px;
  left: 200px;
  z-index: 2;
  color: white;
  max-width: 1260px;
}

.carousel-title {
  font-size: 45px;
  margin-bottom: -20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 400;
}

.carousel-description {
  font-size: 26px;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  max-width: 768px;
}

/* 轮播控制按钮 */
@media (min-width: 1920px) {
  .carousel-container {
    height: 750px;
  }
  
  .carousel-btn-prev {
    left: 200px;
  }
  
  .carousel-btn-next {
    right: 200px;
  }
  
  .carousel-content {
    left: 200px;
    max-width: 1260px;
  }
  
  .carousel-title {
    font-size: 60px;
    font-weight: 500;
  }
  
  .carousel-description {
    font-size: 30px;
    font-weight: 400;
  }
}

.carousel-btn-prev,
.carousel-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.carousel-btn-prev {
  left: 200px;
}

.carousel-btn-next {
  right: 200px;
}

.carousel-btn-prev:hover,
.carousel-btn-next:hover {
  background: transparent;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  vertical-align: middle;
}

/* 轮播指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 3;
}

.carousel-indicator {
  width: 48px;
  height: 8px;
  border-radius: 16px;
  background: #D9D9D9;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: #00A2EB;
  transform: scale(1.2);
}

.carousel-indicator:hover {
  background: #D9D9D9;
}

/* 轮播响应式样式 */
@media (max-width: 768px) {
  .carousel-container {
    height: 400px;
  }
  
  .carousel-content {
    bottom: 30px;
    left: 50px;
    max-width: 600px;
  }
  
  .carousel-title {
    font-size: 28px;
  }
  
  .carousel-description {
    font-size: 16px;
  }
  
  .carousel-btn-prev,
  .carousel-btn-next {
    width: 40px;
    height: 40px;
  }
  
  .carousel-arrow {
    font-size: 20px;
  }
  
  .carousel-btn-prev {
    left: 20px;
  }
  
  .carousel-btn-next {
    right: 20px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 300px;
  }
  
  .carousel-content {
    bottom: 20px;
    left: 20px;
    max-width: 400px;
  }
  
  .carousel-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .carousel-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
}
