/**
 * 共享导航样式
 * 所有页面引用此文件确保导航完全一致
 */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 72px;
    padding: 0;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar-content {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    padding: 0 32px;
}

.navbar .logo-link {
    display: flex;
    align-items: center;
}

.navbar .logo {
    width: 132px;
    height: 40px;
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    color: #121317;
    line-height: 1.5;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2D65F8;
}

.nav-links a.active {
    font-weight: 600;
    color: #2D65F8;
}

.hamburger-menu {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: #121317;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        height: 56px;
        padding: 0;
    }

    .navbar-content {
        position: static;
        padding: 0 16px;
    }

    .navbar .logo {
        width: 95px;
        height: 28px;
        margin: 0 0 0 4px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #FFFFFF;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 16px 0;
        gap: 0;
        z-index: 999;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        display: block;
        height: auto;
        padding: 12px 24px;
        font-size: 15px;
        line-height: 1.5;
    }

    .hamburger-menu {
        display: block;
    }
}
