/* Header样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.header-container {
    width: 100vw;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}
.header-inner {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    /* padding: 0 56px; */
    box-sizing: border-box;
}
.logo-area {
    /* flex-shrink: 0; */
    width: 16%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2%;
    margin-left: 5%;
    flex: 1 1 auto;
}
.nav-menu li {
    color: #333;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    padding: 0 2px;
}
.nav-menu li a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}
.nav-menu li.active,
.nav-menu li:hover {
    color: #6d4c8e;
    font-weight: bold;
}
.nav-menu li.active::after {
    content: '';
    display: block;
    /* width: 24px; */
    height: 3px;
    background: #6d4c8e;
    border-radius: 2px;
    margin: 6px auto 0 auto;
}
.search-btn {
    flex-shrink: 0;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.02);
    cursor: pointer;
}
.search-btn a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.search-btn img {
    width: 100%;
    height: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    /* padding: 0 56px; */
    box-sizing: border-box;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #6d4c8e;
}

.nav-link.active {
    color: #6d4c8e;
}

.search-btn:hover {
    opacity: 0.7;
}

/* 响应式导航字体大小 */
@media (min-width: 1200px) {
    #header {
        font-size: 18px;
    }
}

@media (max-width: 1199px) and (min-width: 1000px) {
    #header {
        font-size: 16px;
    }
}

@media (max-width: 999px) {
    #header {
        font-size: 14px;
    }
} 