/* 英雄区轮播图增强样式 */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.5) 30%, 
    rgba(0, 0, 0, 0.5) 70%, 
    rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: #ffffff;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
  animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
  animation: fadeInDown 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.hero-desc {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
  animation: fadeInDown 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  width: 30px;
  border-radius: 10px;
  background-color: var(--primary-color);
}

/* 新增动画 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
  }
}