/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-logo-group {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 59px;
}

.nav-logo-img {
    width: 134px;
    height: 59px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: block;
}

.nav-logo-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.nav-logo-cn {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
}

.nav-logo-en {
    font-size: 0.95rem;
    color: #7f8c8d;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .nav-logo-cn {
        font-size: 1rem;
    }
    .nav-logo-en {
        font-size: 0.85rem;
    }
    .nav-logo-img {
        width: 80px;
        height: 35px;
    }
    .nav-container {
        height: 40px;
    }
    .nav-logo-group {
        height: 35px;
    }
}
@media (max-width: 600px) {
    .nav-logo-img {
        width: 54px;
        height: 24px;
    }
    .nav-container {
        height: 28px;
    }
    .nav-logo-group {
        height: 24px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-right {
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid #ecf0f1;
    }
    .nav-link:last-child {
        border-bottom: none;
    }
    .nav-toggle {
        display: flex;
        order: 2;
    }
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-logo-group {
        gap: 10px;
    }
    .nav-logo-texts {
        font-size: 0.9rem;
    }
    
    .language-switcher {
        order: 1;
        margin-left: 0;
        margin-right: 15px;
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
} 