/* ====== 项目列表页样式 (project-list.html) ====== */
/* Banner 复用全局 .breadcroumb-area / .breadcroumb-title 样式 */

.proj-list-section {
    padding: 60px 0;
    background: #f7f9fc;
}
.proj-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}
.proj-list-head h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a2b4a;
    margin: 0;
}
.proj-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.proj-filter-item {
    display: flex;
    align-items: center;
}
.proj-filter-select {
    height: 42px;
    box-sizing: border-box;
    padding: 0 38px 0 16px;
    border-radius: 8px;
    border: none;
    background: #1a3a6b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23ffffff' d='M7 10L2 5h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 42px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    min-width: 130px;
    transition: background-color 0.2s ease;
}
.proj-filter-select:hover {
    background-color: #15305a;
}
.proj-filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30,95,191,0.3);
}
.proj-reset-btn {
    height: 42px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1.5px solid #d0d7e2;
    background: #fff;
    color: #5a6a85;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.proj-reset-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    text-decoration: none;
}

/* 项目卡片 - 4列网格 */
.proj-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 360px;
    background-size: cover;
    background-position: center;
    margin-bottom: 24px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 18px rgba(20,40,80,0.10);
    display: block;
    text-decoration: none;
    color: inherit;
}
.proj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(20,40,80,0.22);
    text-decoration: none;
    color: inherit;
}
.proj-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.85) 100%);
}
.proj-card-top {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}
.proj-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.proj-card-year {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}
.proj-card-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 22px 24px;
    z-index: 2;
}
.proj-card-location {
    color: #ffd166;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    text-align: left;
}
.proj-card-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px;
    text-align: left;
}
.proj-card-desc {
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 */
.proj-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}
.proj-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #d0d7e2;
    background: #fff;
    color: #5a6a85;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.proj-page-btn:hover {
    border-color: #1e5fbf;
    color: #1e5fbf;
    text-decoration: none;
}
.proj-page-btn.current {
    background: #1e5fbf;
    border-color: #1e5fbf;
    color: #fff;
}

/* 空状态 */
.proj-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9aa7bd;
}
.proj-empty i {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.5;
}
.proj-empty p {
    font-size: 16px;
    margin: 0;
}

/* ====== 移动端响应式 ====== */
@media (max-width: 991px) {
    .proj-list-head h2 { font-size: 24px; }
    .proj-filter-select { min-width: 120px; font-size: 13px; }
    .proj-card { height: 320px; }
    .proj-card-title { font-size: 19px; }
}
@media (max-width: 767px) {
    .proj-list-section { padding: 40px 0; }
    .proj-list-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .proj-filter-bar {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .proj-filter-select {
        width: 100%;
        min-width: 0;
    }
    .proj-reset-btn { justify-content: center; }
    .proj-card { height: 300px; margin-bottom: 16px; }
    .proj-card-title { font-size: 18px; }
    .proj-card-desc { font-size: 13px; }
}
@media (max-width: 575px) {
    .proj-list-head h2 { font-size: 20px; }
    .proj-card { height: 280px; }
    .proj-page-btn { min-width: 36px; height: 36px; font-size: 13px; }
}
