/* 导航栏样式 */
.navbar {
    width: 100%;
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-logo {
    height: 40px;
    width: auto;
}
.nav-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #007bff;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}

/* 汉堡菜单样式 */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    line-height: 1;
}

.menu-toggle:hover {
    background: #e9ecef;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 10px 15px;
    }

    .nav-left {
        width: 100%;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
        width: 100%;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .nav-link {
        padding: 10px;
        width: 100%;
        text-align: center;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: #e9ecef;
    }
} 