﻿/* 导航栏样式 */
.navbar {
    background: #040C1A;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 40px;
    box-sizing: border-box;
}

.nav-container {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 96px;
    box-sizing: border-box;
    gap: 40px;
}

.nav-logo {
    /* margin-left: 40px; */
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 100px;
    height: 90px;
    border-radius: 2px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.logo-text h2 {
    background: linear-gradient(180deg, #378CFF 9.5%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    font-family: "思源黑体", sans-serif;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    margin: 0;
    font-family: "思源黑体", sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    /* margin-right: 120px; */
    padding: 0;
    gap: 40px;
    font-family: "思源黑体", sans-serif;
}

.nav-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    .mobile-logo {
        width: 28px;
        height: 28px;
    }

    span {
        font-family: "思源黑体", sans-serif;
        font-size: 24px;
        color: #FFFFFF;
    }
}

.nav-link {
    color: #999999;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    font-family: "思源黑体", sans-serif;
}

.nav-link.active {
    color: #378CFF;
    font-weight: 700;
}

.nav-link:hover {
    color: #378CFF;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #999999;
    margin: 3px 0;
    transition: 0.3s;
}

/* 汉堡菜单动画 */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 响应式导航 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .navbar {
        padding: 0 20px;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 96px;
        flex-direction: column;
        background-color: #040C1A;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}