/* 顶部导航栏基础样式 */
.full-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 32px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.7);

  /* ✅ 保留模糊（支持透明图层更自然） */
  /* backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); */

  color: #fff;
}


/* header内容容器 */
.header-container {
  /* 最大宽度1200px */
  max-width: 1400px;
  /* 占100%父容器宽度 */
  width: 100%;
  /* 整个容器水平居中 */
  margin: 0 auto;
  /* 启用 Flex 布局 */
  display: flex;
  /* 子元素左右两端对齐，之间平分空间 */
  justify-content: space-between;
  /* 内部元素垂直居中 */
  align-items: center;
}
/* Logo 样式 */
.header-container img {
  height: 40px;
  width: auto;
}
/* 右侧导航链接 */
.header-nav {
  display: flex;
  /* 子元素之间的间距 */
  gap: 24px;
}
.header-nav a {
  color: #fff;
  /* 默认下划线去除 */
  text-decoration: none;
  font-size: 16px;
  transition: color 0.5s;
}
.header-nav a:hover {
  color: #ffd700;
}
/* contact us */
.fixed-contact-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f5f5f5;
    color: black;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); */
    transition: background 0.5s ease, transform 0.5s ease;
    z-index: 1000; /* 确保在最上层 */
}

.fixed-contact-link:hover {
    background: rgba(0,0,0,0.7);
    color: white;
    transform: translateY(-3px);
    text-decoration: underline;
}

.lang-btn {
  margin-left: 20px;
  padding: 0px 6px;
  border: 1px solid #fff;
  border-radius: 4px;
  font-size: 14px;
  color: #fff;
  transition: 0.3s;
}

.lang-btn:hover {
  background: #fff;
  color: #000;
}

/* =========================
   Hamburger Menu - Mobile
   ========================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

  .full-header {
    height: 56px;
  }

  .header-container {
    padding: 0 16px;
  }

  /* 显示汉堡按钮 */
  .menu-toggle {
    display: flex;
  }

  /* 隐藏原导航，改为抽屉 */
  .header-nav {
    position: fixed;
    top: 56px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 56px);
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 24px;
    transition: right 0.35s ease;
    z-index: 999;
    background: rgba(0,0,0,0.7);
  }

  .header-nav a {
    font-size: 16px;
    color: #fff;
  }

  /* 打开状态 */
  .header-nav.active {
    right: 0;
  }

  .header-nav .lang-btn {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 30px;
    width: 40px;          /* 固定宽度，视觉居中 */
    margin: 32px auto 0;  /* auto = 真正水平居中 */

    text-align: center;
  }
}

/* =========================
   Hamburger → X Animation
   ========================= */

.menu-toggle span {
  transition: all 0.3s ease;
}

/* 打开状态 */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


