/* =========================================================
   项目列表页样式 project.css
   依赖：common.css
   风格：深青绿背景 + 玻璃拟态筛选 + 左图右文项目卡
   ========================================================= */

/* ===== 顶部面包屑条（统一）===== */
.breadcrumb-bar {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}
.breadcrumb-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.breadcrumb-bar a { color: var(--text-secondary); }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-bar svg {
    width: 12px; height: 12px;
    stroke: var(--text-light);
    fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
}
.breadcrumb-bar .current { color: var(--primary); }

/* ===== 页面 Hero ===== */
.page-hero {
    position: relative;
    height: 420px;
    background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-base) 50%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -15%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.18) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(20px);
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(20px);
}
.page-hero .hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(74, 222, 128, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 75% 75%, rgba(34, 211, 238, 0.06) 1.5px, transparent 1.5px);
    background-size: 50px 50px, 70px 70px;
    opacity: 0.6;
}
.page-hero .hero-arc {
    position: absolute;
    width: 120%; height: 120%;
    top: -10%; left: -10%;
    border: 1px solid rgba(74, 222, 128, 0.08);
    border-radius: 50%;
    pointer-events: none;
}
.page-hero-content {
    z-index: 2;
    text-align: center;
    color: var(--white);
}
.page-hero-content .hero-tagline {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    background: rgba(74, 222, 128, 0.08);
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.2);
}
.page-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow:
        0 0 40px rgba(74, 222, 128, 0.5),
        0 0 80px rgba(34, 211, 238, 0.2);
}

/* ===== 下拉筛选区（玻璃拟态 sticky）===== */
.filter-section {
    background: -webkit-linear-gradient(right, #1a693c, #08293f);
    background: -o-linear-gradient(left, #1a693c, #08293f);
    background: -moz-linear-gradient(left, #1a693c, #08293f);
    background: linear-gradient(to left, #1a693c, #08293f);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px 0;
  /*  position: sticky;
    top: var(--header-height); */
    z-index: 90;
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); */
    backdrop-filter: blur(10px);
}
.filter-section::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    opacity: 0.5;
}
.filter-bar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}
.filter-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.filter-label svg {
    width: 16px; height: 16px;
    color: var(--primary);
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px var(--primary-glow));
}

/* 自定义下拉（玻璃拟态）*/
.custom-select {
    position: relative;
    width: 100%;
}
.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}
.select-trigger:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.2);
}
.select-trigger.active {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12), 0 0 16px rgba(74, 222, 128, 0.2);
}
.select-trigger svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s;
    flex-shrink: 0;
}
.select-trigger.active svg { transform: rotate(180deg); }

/* 下拉菜单（玻璃拟态）*/
.select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: rgba(17, 34, 64, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(74, 222, 128, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 100;
    padding: 6px;
}
.select-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.select-option {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
}
.select-option:hover {
    background: var(--primary-bg);
    color: var(--primary);
    padding-left: 22px;
}
.select-option.selected {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-deep);
    font-weight: 700;
    box-shadow: 0 0 12px var(--primary-glow);
}

/* 筛选结果 + 清除按钮 */
.filter-result {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: 0.5px;
}
.filter-result strong {
    color: var(--primary);
    font-size: 16px;
    text-shadow: 0 0 8px var(--primary-glow);
}
.clear-btn {
    font-size: 12px;
    color: var(--text-light);
    cursor: pointer;
    background: none;
    border: 1px solid var(--border-default);
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}
.clear-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.2);
}

/* ===== 项目列表区 ===== */
.project-section {
    padding: 60px 0 ;
    position: relative;
    overflow: hidden;
	background: -webkit-linear-gradient(right, #1a693c, #08293f);
	background: -o-linear-gradient(left, #1a693c, #08293f);
	background: -moz-linear-gradient(left, #1a693c, #08293f);
	background: linear-gradient(to left, #1a693c, #08293f);
}
.project-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(74, 222, 128, 0.2) 15%,
        var(--primary) 50%,
        rgba(34, 211, 238, 0.2) 85%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
    opacity: 0.7;
    z-index: 2;
}
.project-section::after {
    content: '';
    position: absolute;
    top: 15%; left: -8%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.project-list {
    position: relative;
    z-index: 1;
	display: grid;
	    grid-template-columns: repeat(3, 1fr);    gap: 25px;
}

/* ===== 单个项目：2 列（图 + 文）玻璃拟态 ===== */
.project-item {
    align-items: center;
    padding: 30px;
    border-radius: var(--radius-card);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
/* 卡片顶部光带 */
.project-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(74, 222, 128, 0.3) 15%,
        var(--primary) 50%,
        rgba(34, 211, 238, 0.3) 85%,
        transparent 100%);
    opacity: 0.5;
    transition: opacity 0.3s;
}
.project-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover), var(--shadow-glow);
    border-color: var(--primary);
    background: var(--bg-elevated);
}
.project-item:hover::before { opacity: 1; }

/* 图片卡 */
.project-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
}
.project-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(8, 52, 58, 0.2) 0%, transparent 50%),
        linear-gradient(to top, rgba(5, 31, 35, 0.4) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.3s;
}
.project-item:hover .project-img-wrap::after {
    background:
        linear-gradient(135deg, rgba(74, 222, 128, 0.12) 0%, transparent 50%),
        linear-gradient(to top, rgba(5, 31, 35, 0.3) 0%, transparent 50%);
}
.project-img-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s;
}
.project-item:hover .project-img-wrap img { transform: scale(1.05); }
.project-item:hover .project-img-wrap {
    box-shadow: var(--shadow-hover), var(--shadow-glow);
    border-color: var(--primary);
}

/* 图片角标（绿青渐变发光）*/
.img-badge {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 2;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-deep);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 16px var(--primary-glow);
}

/* 标签（发光胶囊，按类别颜色）*/
.project-content .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.project-content .tag {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
/* 部门 - 绿色 */
.tag-dept {
    background: var(--primary-bg);
    color: var(--primary);
    border-color: rgba(74, 222, 128, 0.25);
}
/* 类别 - 青色 */
.tag-cat {
    background: rgba(34, 211, 238, 0.08);
    color: var(--accent);
    border-color: rgba(34, 211, 238, 0.25);
}
/* 位置 - 金色 */
.tag-loc {
    background: rgba(251, 191, 36, 0.08);
    color: var(--gold);
    border-color: rgba(251, 191, 36, 0.25);
}
.project-content .tag:hover {
    box-shadow: 0 0 12px currentColor;
}

.project-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin: 20px 0 14px 0;
    line-height: 1.35;
    text-shadow: 0 0 16px rgba(74, 222, 128, 0.2);
    transition: var(--transition);
}
.project-item:hover .project-content h3 {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.project-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 查看详情链接 */
.more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 0;
    transition: var(--transition);
}
.more-link svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s;
}
.more-link:hover { color: var(--primary); }
.more-link:hover svg { transform: translateX(4px); }

/* ===== 无结果状态 ===== */
.no-result {
    text-align: center;
    padding: 80px 0;
    display: none;
    position: relative;
    z-index: 1;
}
.no-result svg {
    width: 64px; height: 64px;
    color: var(--text-light);
    margin-bottom: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.15));
}
.no-result p {
    font-size: 16px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--bg-deep), var(--bg-base));
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(74, 222, 128, 0.2) 15%,
        var(--primary) 50%,
        rgba(34, 211, 238, 0.2) 85%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
    opacity: 0.7;
    z-index: 2;
}
.cta-section::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(74, 222, 128, 0.4);
}
.cta-section p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
.cta-section .btn { position: relative; z-index: 1; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .project-item {
        grid-template-columns: 320px 1fr;
        gap: 28px;
        padding: 30px;
    }
    .project-img-wrap img { height: 220px; }
}
@media (max-width: 768px) {
    .page-hero-content h1 { font-size: 36px; }
    .project-item {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    .project-img-wrap img { height: 220px; }
    .filter-section {
        position: relative;
        top: 0;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group { min-width: 100%; }
    .filter-result {
        margin-left: 0;
        justify-content: space-between;
    }
    .project-content h3 { font-size: 20px; }
}