/* ═══ 全局 Header 间距 ═══ */
.header-spacer { margin-top: 78px; }

/* ═══ 顶部导航栏 ═══ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11;
  width: 100%;
  background: #1a252f;
  border-bottom: 2px solid rgba(184,134,11,0.3);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-header .header-logo {
  flex: 0 0 auto;
  max-width: 300px;
  padding: 6px 0;
}
.site-header .header-logo a {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #ecf0f1;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.3;
  letter-spacing: 2px;
}
.site-header .header-logo a:hover { opacity: 0.85; }
.site-header .header-nav-area {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.site-header .header-nav {
  display: flex;
  justify-content: flex-end;
}
.site-header .header-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  justify-content: flex-end;
}
.site-header .header-nav-item {
  position: relative;
  padding: 0 18px;
  list-style: none;
}
.site-header .header-nav-item:last-child { padding-right: 0; }
.site-header .header-nav-item > p {
  display: flex;
  position: relative;
  margin: 0;
}
.site-header .header-nav-item > p a {
  display: block;
  padding: 30px 0;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 17px;
  line-height: 1;
}
.site-header .header-nav-item > p:hover a { color: #fff !important; }

/* 底部高亮条 — 古铜色 */
.site-header .header-nav-item > p::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 3px;
  background: #b8860b;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.site-header .header-nav-item > p:hover::after {
  left: 0;
  right: 0;
}

/* 当前激活页 */
.site-header .header-nav-item.active > p a { color: #d4a843 !important; }
.site-header .header-nav-item.active > p::after {
  left: 0;
  right: 0;
  background: #d4a843;
}

/* ─── 汉堡菜单按钮（桌面隐藏） ─── */
.site-header .header-menu-btn {
  display: none;
  width: 21px;
  height: 16px;
  cursor: pointer;
  padding: 20px 0;
  flex-direction: column;
  justify-content: space-between;
}
.site-header .header-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ecf0f1;
  transition: all 0.3s ease;
}
.site-header .header-menu-btn span:nth-child(1) { width: 50%; }
.site-header .header-menu-btn span:nth-child(3) { width: 50%; align-self: flex-end; }
.site-header .header-menu-btn.active span:nth-child(1) {
  width: 100%;
  transform: translateY(6px) rotate(45deg);
}
.site-header .header-menu-btn.active span:nth-child(2) {
  transform: rotate(-45deg);
}
.site-header .header-menu-btn.active span:nth-child(3) {
  width: 0;
  opacity: 0;
}

/* ─── 移动端导航 ─── */
@media screen and (max-width: 768px) {
  .header-spacer { margin-top: 54px; }
  .site-header .header-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26,37,47,0.97);
    padding: 0 15px;
    z-index: 10;
    flex-direction: column;
  }
  .site-header .header-nav-list.active { display: flex; }
  .site-header .header-nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0;
  }
  .site-header .header-nav-item > p a { padding: 14px 0; line-height: 60px; color: #ecf0f1; }
  .site-header .header-menu-btn { display: flex; }
}

/* ═══ Banner 轮播 ═══ */
.header-banner { position: relative; width: 100%; overflow: hidden; }
.header-banner .banner-wrapper { position: relative; width: 100%; }
.header-banner .banner-slides { position: relative; width: 100%; }
.header-banner .banner-slide {
  position: absolute; top: 0; left: 0; width: 100%; opacity: 0;
  transition: opacity 0.8s ease; z-index: 1;
}
.header-banner .banner-slide.active { opacity: 1; z-index: 2; position: relative; }
.header-banner .banner-img { width: 100%; height: 480px; overflow: hidden; }
.header-banner .banner-img img { width: 100%; height: 480px; object-fit: cover; display: block; }
.header-banner .banner-info {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center; z-index: 3; width: 80%; max-width: 800px;
}
.header-banner .banner-title {
  color: #fff; font-size: 42px; font-weight: bold;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3); margin: 0 0 8px;
}
.header-banner .banner-subtitle {
  color: rgba(255,255,255,0.85); font-size: 18px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3); margin: 0 0 20px;
  line-height: 1.5;
}
.header-banner .banner-btn-cta {
  display: inline-block; padding: 12px 32px;
  background: var(--accent, #b8860b); color: #fff;
  font-size: 16px; font-weight: 600; text-decoration: none;
  border-radius: 30px; border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.header-banner .banner-btn-cta:hover {
  background: transparent; color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.header-banner .banner-slide-link {
  display: block; width: 100%; height: 100%;
  text-decoration: none; color: inherit;
}
.header-banner .banner-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px;
}
.header-banner .banner-dot {
  width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5);
  cursor: pointer; transition: all 0.3s;
}
.header-banner .banner-dot.active { background: #d4a843; transform: scale(1.2); }
.header-banner .banner-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  cursor: pointer; opacity: 0.6; transition: opacity 0.3s;
}
.header-banner .banner-btn:hover { opacity: 1; }
.header-banner .banner-btn-next { right: 20px; }
.header-banner .banner-btn-prev { left: 20px; }
.header-banner .banner-btn svg { fill: #fff; width: 48px; height: 48px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
@media screen and (max-width: 768px) {
  .header-banner .banner-img { height: 280px; }
  .header-banner .banner-img img { height: 280px; }
  .header-banner .banner-title { font-size: 24px; }
  .header-banner .banner-btn svg { width: 32px; height: 32px; }
  .header-banner .banner-btn-next { right: 10px; }
  .header-banner .banner-btn-prev { left: 10px; }
  .header-banner .banner-dot { width: 10px; height: 10px; }
}
