/* 首页特定样式 */
.hero-banner {
  position: fixed;
  top: 180px;
  left: 0;
  height: calc(100vh - 180px);
  width: 100%;
  z-index: 1;
}
.hero-banner a {
  text-decoration: none;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    object-fit: cover;
}

.banner-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  height: 119px;
  color: #fff;
  /* background: linear-gradient(
    90deg,
    rgba(186, 23, 35, 1) 0%,
    rgba(189, 34, 45, 1) 100%
  ); */
  background: url("../images/banner-footer-bg.png") no-repeat center;
  transition: transform 0.6s ease;
  background-size: cover;
}

.banner-title {
  font-family: "OPPOSans";
  font-size: 32px;
  font-weight: 500;
  /* line-height: 1.4; */
  text-align: center;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.banner-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  /* margin-top: 18px; */
}

.banner-cta {
  font-family: "OPPOSans";
  font-size: 20px;
  font-weight: 400;
  /* line-height: 1.7; */
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.8s;
}

.banner-cta:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.scroll-arrow {
  opacity: 0;
  animation: fadeIn 1s ease forwards, bounce 2s infinite;
  animation-delay: 1.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-arrow img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* 更新动画关键帧 */
/* 动画关键帧 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* 导航样式扩展 */
.nav {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* 滚动时的样式变化 */
.header.scrolled .header-top {
  /* transform: translateY(-140px); */
}

.header.scrolled .nav {
  background: rgba(255, 255, 255, 0.98);
}

/* 内容包装器 */
.content-wrapper {
  position: relative;
  margin-top: 100vh;
  background-color: #fff;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* 主要内容区域 */
main {
  /* padding: 60px 0; */
  min-height: calc(100vh - 200px); /* 减去header和footer的预估高度 */
}

