/* hero-slider.css */
.hero {
  position: relative;
  height: 800px;
  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;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* 轮播图导航按钮样式 */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-prev-btn {
  left: 20px;
}

.hero-next-btn {
  right: 20px;
}

/* 响应式设计 - 移动端按钮调整 */
@media (max-width: 768px) {
  .hero-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .hero-prev-btn {
    left: 10px;
  }
  
  .hero-next-btn {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .hero-prev-btn {
    left: 8px;
  }
  
  .hero-next-btn {
    right: 8px;
  }
}