/* 导航栏样式优化 */
header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8rem;
    color: #1a73e8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s;
    border-radius: 5px;
}

.nav-links li a:hover {
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.1);
}

/* 添加当前活动链接样式 */
.nav-links li a.active {
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 0.8rem 1rem;
        display: block;
    }

    /* 添加汉堡菜单按钮 */
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }
}

@media (min-width: 993px) {
    .menu-toggle {
        display: none;
    }
} 