/* 固定头部导航栏 */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #dce6dc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 999;
    padding: 0 1rem; /* 统一内边距，小屏不挤 */
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative; /* 为移动端菜单定位 */
}

/* 导航菜单  */
.nav-menu {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

/* 导航链接 */
.nav-link {
    color: #344b34;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: #1b6e3b;
    border-bottom: 2px solid #1b6e3b;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    line-height: 1;
    background: none;
    border: none;
    color: #0C6B4B;
    cursor: pointer;
    z-index: 1000; /* 按钮置顶 */
}
