

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  overflow: hidden; /* 防止页面出现滚动条 */
  background-color: #000;
}

/* ======== 顶部导航栏 (最高层级) ======== */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
}
nav {
  display: flex;
  gap: 10px;
  padding: 10px 5%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 0 0 20px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-top: none;
}
nav a {
  padding: 10px 20px;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
  text-decoration: none;
  font-weight: 500;
  border-radius: 10px;
}
nav a:hover, .active {
  background: #3b5249; /* 新中式茶绿色 */
  color: white;
}

/* ======== 首屏轮播区域 ======== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 图片轨道与渐变切换动画 */
.carousel-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide.active {
  opacity: 1;
}

/* 暗色遮罩（已大幅调亮，仅底部稍微压暗以看清小圆点） */
/*.carousel-overlay {*/
/*  position: absolute;*/
/*  top: 0; left: 0;*/
/*  width: 100%; height: 100%;*/
/*  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 100%);*/
/*  z-index: 2;*/
/*}*/

/* ======== 文字与内容布局容器 ======== */
.content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1200px; /* 加宽容器，让文字可以更长 */
  width: 90%;
  color: #fff;
  padding: 0 60px;
  margin-top: 8vh; /* 整体往下移，不再太靠上 */
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
}

/* 标题排版 */
.title h3 { 
  font-size: 1.4rem; 
  font-weight: 300; 
  letter-spacing: 12px; 
  margin-bottom: 0px; 
  color: #eaddc5; 
  text-transform: uppercase;
  opacity: 0; 
}
.title h1 { 
  font-size: 12rem; /* 放大主标题！恢复视觉冲击力 */
  font-weight: 800;
  letter-spacing: 30px; 
  text-transform: lowercase; 
  margin-bottom: 20px; 
  margin-left: 30px; /* 修正由于字间距导致的视觉不居中 */
  opacity: 0;
}

/* 正文文案 */
.info-wrap p { 
  font-size: 0.95rem; /* 字号缩小，显得更精致 */
  line-height: 1.8; 
  max-width: 950px; /* 长度拉长 */
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.3); 
  opacity: 0;
}

/* 探索按钮 */
.cta button {
  padding: 12px 40px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  color: white;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
}
.cta button:hover {
  background: white;
  color: #3b5249; 
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ======== 轮播控制器 ======== */
/* 左右箭头 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #3b5249; 
  transform: translateY(-50%) scale(1.1);
}
.prev-btn { left: 40px; }
.next-btn { right: 40px; }

/* 底部指示点 */
.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 12px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.3s;
}
.dot:hover { background: rgba(255, 255, 255, 0.8); }
.dot.active {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* ======== 页面加载进场动画 ======== */
@keyframes textIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* 利用延迟实现错落有致的出现效果 */
.title h3 { animation: textIn 1s ease-out 0.2s forwards; }
.title h1 { animation: textIn 1s ease-out 0.4s forwards; }
.info-wrap p { animation: textIn 1s ease-out 0.6s forwards; }
.cta button { animation: textIn 1s ease-out 0.8s forwards; }