/* 头部整体 */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO样式 + 固定图片尺寸 + 图文对齐 */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-green);
}
.site-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}
.logo-line {
    color: var(--apple-green);
    font-size: 26px;
    line-height: 1;
}
.logo-text {
    line-height: 1;
}

/* 主导航 - 简约悬浮样式 */
.main-menu {
    display: flex;
    gap: 6px;
    align-items: center;
}
.main-menu > li {
    position: relative;
}
.main-menu > li > a {
    display: block;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--gray-dark);
    transition: all 0.3s ease;
    /* 轻浮雕质感 */
    box-shadow: inset 1px 1px 3px rgba(255,255,255,0.7);
}
.main-menu > li > a:hover {
    background-color: var(--apple-green);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(126, 217, 87, 0.4);
}

/* 二级菜单 */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    padding: 12px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.sub-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--gray-dark);
    transition: 0.2s;
}
.sub-menu li a:hover {
    background: var(--light-green);
    color: var(--apple-green);
}

/* 移动端汉堡按钮 默认隐藏 */
.menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark-green);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { bottom: 0; }