/* 导航栏样式 */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}
.global-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
.site-brand {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    z-index: 3;
}
.site-brand img {
    margin-right: 5px;
    width: 30px; 
    height: 30px;
}
.site-links {
    display: flex;
}
.site-links a {
    margin-left: 25px;
    padding: 8px 0;
    position: relative;
    font-weight: 500;
    color: #171717;
}
.site-links a:hover {
    color: #00BCD3;
}
.site-links a.active {
    color: #00BCD3;
}
.site-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00BCD3;
    transition: width 0.3s;
}
.site-links a:hover::after,
.site-links a.active::after {
    width: 100%;
}

/* 添加移动端汉堡菜单样式 */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    padding: 5px;
    z-index: 3;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #171717;
    position: relative;
    transition: all 0.3s;
}

.hamburger span::before,
.hamburger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #171717;
    transition: all 0.3s;
}

.hamburger span::before {
    top: -6px;
}

.hamburger span::after {
    bottom: -6px;
}

.hamburger.active span {
    background-color: transparent;
}

.hamburger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* 移动端导航菜单样式 */
.mobile-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 2;
}

.mobile-links.active {
    display: flex;
    max-height: 500px;
}

.mobile-links a {
    display: block;
    padding: 12px 20px;
    color: #171717;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.3s;
}

.mobile-links a:hover {
    color: #00BCD3;
    background: rgba(0, 188, 211, 0.05);
}

.mobile-links a.active {
    color: #00BCD3;
    background: rgba(0, 188, 211, 0.1);
}

@media (max-width: 768px) {
    .site-links {
        display: none;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}