/* 头部导航样式 */
.header-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: none;
  box-shadow: none;
  min-height: 0;
  padding: 0;
  display: block;
  align-items: flex-start;
  transition: none;
  backdrop-filter: none;
}

.header-wrapper {
  display: flex;
  align-items: center;
  height: 72px;
  position: relative;
}

/* 主导航菜单样式 */
.main-menu {
  display: none !important;
}

/* 汉堡菜单按钮样式 */
.mobile-nav-toggle {
  display: block !important;
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 1100;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 48px;
  height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.hamburger-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* 汉堡菜单按钮动画 */
.hamburger-btn.active span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* 移动端导航菜单样式 */
.mobile-nav {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  transition: left 0.3s ease;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-inner {
  padding: 80px 20px 20px;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu li {
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.mobile-nav-menu a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
  color: #4caf50;
  padding-left: 10px;
}

/* 遮罩层样式 */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* 响应式样式 */
@media (max-width: 991px) {
  .main-menu {
    display: none !important;
  }

  .mobile-nav-toggle {
    left: 16px;
    top: 16px;
  }

  .mobile-nav {
    display: block;
  }
}

/* 滚动时的头部样式 */
.header-area.sticky {
  min-height: 48px;
  background-color: rgba(255, 255, 255, 0.95);
}
