/* ============================================
   首页轮播图样式（简洁大气版 - 无动画）
   ============================================ */

.home-banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #1a365d;
}

.banner-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 轮播项目 */
.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.banner-slide-item.active {
  opacity: 1;
  visibility: visible;
}

/* 轮播背景 - 静态图片 */
.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* 背景图固定，不随页面滚动而移动 */
  z-index: 0;
}

.banner-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(0, 94, 165, 0.85) 0%,
    rgba(0, 61, 107, 0.9) 100%);
}

/* 轮播内容 */
.banner-content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.banner-text {
  max-width: 700px;
  color: #ffffff;
}

.banner-heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
}

.banner-subheading {
  display: block;
  font-size: 36px;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 8px;
}

.banner-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #cbd5e0;
  margin-bottom: 32px;
}

/* 轮播按钮 */
.banner-buttons {
  display: flex;
  gap: 16px;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.banner-btn-primary {
  background: #ffffff;
  color: #005EA5;
  border: 2px solid #ffffff;
}

.banner-btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* 导航按钮 */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.banner-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.banner-nav svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.banner-nav-prev {
  left: 24px;
}

.banner-nav-next {
  right: 24px;
}

/* 指示器 */
.banner-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.banner-dot.active {
  width: 36px;
  border-radius: 6px;
  background: #ffffff;
  border-color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .home-banner {
    height: 500px;
  }
  
  .banner-heading {
    font-size: 40px;
  }
  
  .banner-subheading {
    font-size: 28px;
  }
  
  .banner-desc {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .home-banner {
    height: 450px;
  }
  
  .banner-heading {
    font-size: 32px;
  }
  
  .banner-subheading {
    font-size: 24px;
  }
  
  .banner-desc {
    font-size: 15px;
  }
  
  .banner-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .banner-btn {
    width: 100%;
  }
  
  .banner-nav {
    width: 40px;
    height: 40px;
  }
  
  .banner-nav-prev {
    left: 16px;
  }
  
  .banner-nav-next {
    right: 16px;
  }
  
  .banner-dots {
    bottom: 24px;
  }
  
  .banner-dot {
    width: 10px;
    height: 10px;
  }
  
  .banner-dot.active {
    width: 30px;
  }
}

@media (max-width: 480px) {
  .home-banner {
    height: 400px;
  }
  
  .banner-heading {
    font-size: 28px;
  }
  
  .banner-subheading {
    font-size: 20px;
  }
  
  .banner-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  .banner-btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}
