/* 新导航样式 */
.pc_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><filter id='noise'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/></filter></defs><rect width='100' height='100' filter='url(%23noise)' opacity='0.1'/></svg>");
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(135, 206, 235, 0.3);
    height: 125px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    will-change: height, background, box-shadow;
    transform: translateZ(0);
}

.pc_header.scrolled {
    box-shadow: 0 4px 30px rgba(135, 206, 235, 0.4);
    background: #628bc0a3;
}

.pc_header_content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
    will-change: padding, gap;
    transform: translateZ(0);
}

/* 上下排列布局 */
.header_top_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header_bottom_row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Logo样式 */
.header_content_logo {
    display: flex;
    align-items: center;
}

.header_content_logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    margin-right: 15px;
}

.logo-square {
    position: relative;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    will-change: width, height;
    transform: translateZ(0);
}

.logo-semicircle {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #87CEEB;
    border-radius: 0 0 8px 8px;
}

.logo-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-line {
    width: 20px;
    height: 2px;
    background: #87CEEB;
    border-radius: 1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    line-height: 1.2;
    transition: font-size 0.3s ease;
    will-change: font-size;
    transform: translateZ(0);
}

.logo-english {
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
    opacity: 0.9;
    transition: font-size 0.3s ease;
    will-change: font-size;
    transform: translateZ(0);
}

.logo-subtitle {
    font-size: 12px;
    color: #fff;
    line-height: 1.2;
    opacity: 0.8;
    transition: font-size 0.3s ease;
    will-change: font-size;
    transform: translateZ(0);
}

/* 导航菜单样式 */
.menu {
    display: flex;
    align-items: center;
}

.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    justify-content: center;
}

.menu ul li {
    position: relative;
}

.menu_title {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 20px;
    position: relative;
    transition: all 0.3s ease;
    display: block;
    min-width: 149px;
    text-align: center;
}

.menu_title:hover {
    color: #fff;
    opacity: 0.8;
}

.menu_title:hover::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu_title.active {
    color: #fff;
}

.menu_title.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 联系电话样式 */
.header_content_phone {
    /* 移除左边距，因为现在在顶部行中 */
}

.phone-number {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

/* 移动端汉堡菜单 */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .header_content_phone {
        margin-left: 20px;
    }
    
    .logo-text {
        display: none;
    }
}

/* 滚动吸附效果 */
.pc_header.scrolled .pc_header_content {
    padding: 10px 20px;
    gap: 15px;
}

.pc_header.scrolled .logo-main {
    font-size: 20px;
}

.pc_header.scrolled .logo-english,
.pc_header.scrolled .logo-subtitle {
    font-size: 10px;
}

.pc_header.scrolled .logo-square {
    width: 35px;
    height: 35px;
}
