/* 导航栏样式 - 用于所有页面 */

header {
    background-color: #fff;
    width: 100%;
    overflow: visible;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    color: #333;
    padding: 0 40px;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-size: 18px;
    font-weight: 600;
}

.logo-link {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 52px;
    width: auto;
}

.logo-text {
    display: none;
}

.logo-text-image {
    height: 28px;
    width: auto;
    margin-left: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: 20px;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-right {
    display: flex;
    align-items: center;
}

/* 导航栏下载按钮 */
.nav-right .download-btn {
    background-color: #333;
    color: #fff;
    padding: 8px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: none;
    min-width: auto;
    width: auto;
    display: inline-block;
    white-space: nowrap;
}

.nav-right .download-btn:hover {
    background-color: #555;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
    position: relative;
}

.menu-toggle img {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
        position: relative;
    }
    
    .logo-image {
        height: 36px;
    }
    
    .logo-text-image {
        height: 20px;
    }
    
    .menu-toggle {
        display: flex !important;
        order: 3;
        margin-left: auto;
        margin-right: 10px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        margin: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
    }
    
    .nav-links li {
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links a {
        font-size: 16px;
        display: block;
    }
    
    .nav-right {
        display: none;
    }
    
    .nav-links .mobile-download-btn {
        display: block;
        background-color: #333;
        color: #fff;
        padding: 12px 24px;
        border-radius: 4px;
        text-align: center;
        font-weight: 500;
        margin-top: 12px;
        text-decoration: none;
    }
}
