/* 导航栏样式 */
.navbar {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: fixed;
    width: 100%;
    z-index: 50;
    top: 0;
    border-bottom: 2px solid #F59E0B;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo区域 */
.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 48px;
    width: auto;
}

.navbar-brand {
    margin-left: 1rem;
}

.navbar-brand h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #DC2626;
    margin: 0;
    line-height: 1.2;
}

.navbar-brand p {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.2;
}

/* 桌面导航 */
.navbar-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #DC2626;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(90deg, #DC2626, #F59E0B);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #DC2626;
}

/* 语言切换按钮 */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #DC2626, #F59E0B);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: block;
    color: #374151;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #DC2626;
}

.mobile-menu-btn i {
    font-size: 1.5rem;
}

/* 移动端导航 */
.navbar-mobile {
    display: none;
    background: white;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.navbar-mobile.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-content {
    padding: 1.5rem 1rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #DC2626;
    background-color: #FEF2F2;
}

/* 移动端服务区域 */
.mobile-services {
    border-top: 1px solid #F3F4F6;
    padding-top: 1rem;
    margin-top: 1rem;
}

.mobile-services-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 0.75rem;
    padding: 0 0.75rem;
}

.mobile-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.mobile-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #F9FAFB;
    border-radius: 0.75rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    color: #374151;
}

.mobile-service-card:hover {
    background: linear-gradient(135deg, #DC2626, #F59E0B);
    color: white;
    transform: scale(1.05);
}

.mobile-service-card i {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.mobile-service-card span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* 移动端语言切换 */
.mobile-language {
    border-top: 1px solid #F3F4F6;
    padding-top: 1rem;
    margin-top: 1rem;
}

.mobile-language-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    color: #374151;
    background: none;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-language-toggle:hover {
    color: #DC2626;
    background-color: #F9FAFB;
}

.mobile-language-toggle i {
    margin-right: 0.75rem;
}

/* 响应式设计 */
@media (min-width: 1024px) {
    .navbar-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

@media (min-width: 768px) {
    .navbar-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 640px) {
    .navbar-container {
        padding: 0 1.5rem;
    }
} 