﻿@charset "utf-8";

/* ==================== 新版顶部导航栏（电脑端） ==================== */
.pc-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 52, 41, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    font-family: "Microsoft YaHei", "微软雅黑", "Noto Sans SC", sans-serif;
}

.pc-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0 40px;
}

/* Logo区域 */
.pc-nav-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
    padding: 6px 16px 6px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pc-nav-logo-wrap:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.pc-nav-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
    color: #4ade80;
}

.pc-nav-logo-icon svg {
    width: 100%;
    height: 100%;
}

.pc-nav-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    line-height: 1;
}

.pc-nav-logo-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #003429;
    background: linear-gradient(135deg, #4ade80, #22d3ee);
    border-radius: 6px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

/* 导航链接 */
.pc-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 48px;
}

.pc-nav-links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 26px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    letter-spacing: 0.3px;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pc-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #22d3ee);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pc-nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.pc-nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* 当前激活项 - 通过内联style或class控制 */
.pc-nav-links a.nav-active {
    color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.1);
}

.pc-nav-links a.nav-active::after {
    transform: translateX(-50%) scaleX(1);
    background: linear-gradient(90deg, #4ade80, #4ade80);
}

/* 右侧操作区 */
.pc-nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

/* 微信图标 */
.pc-nav-wechat {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    overflow: visible;
}

.pc-nav-wechat:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(74, 222, 128, 0.4);
}

.pc-nav-wechat img {
    width: 20px;
    height: 17px;
    display: block;
}

.pc-nav-wechat-qr {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    width: 200px;
    box-sizing: content-box;
}

.pc-nav-wechat-qr img {
    width: 200px;
    height: 240px;
    display: block;
}

/* 电话 */
.pc-nav-tel {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pc-nav-tel-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* ==================== 中等屏幕适配（1200-1500） ==================== */
@media screen and (min-width: 600px) and (max-width: 1500px) {
    .pc-nav-inner {
        padding: 0 20px;
    }
    .pc-nav-links {
        margin-left: 24px;
    }
    .pc-nav-links a {
        padding: 8px 18px;
        font-size: 0.88rem;
    }
    .pc-nav-logo-text {
        font-size: 1.05rem;
    }
    .pc-nav-actions {
        gap: 12px;
    }
}

/* ==================== 大屏幕（1500+） ==================== */
@media screen and (min-width: 1500px) {
    .pc-nav-inner {
        max-width: 1480px;
        padding: 0 40px;
    }
    .pc-nav-links {
        margin-left: 60px;
    }
    .pc-nav-links a {
        padding: 10px 28px;
        font-size: 1rem;
    }
}