/* 子分类导航 */
.project-categories {
    max-width: 1696px;
    margin: 30px auto 0 auto;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.project-categories a {
    display: inline-block;
    padding: 8px 18px;
    font-size: 18px;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}
.project-categories a.active,
.project-categories a:hover { background-color: #ff0000; }

/* 工程案例列表 */
.project-list {
    max-width: 1696px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}
.project-item {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}
.project-item:hover { transform: translateY(-3px); }

/* 图片 + 标题叠加 */
.project-image {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project-image .image-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(255,255,255,0.7);
    color: #ff0000;
    font-size: 22px;
    font-weight: bold;
    box-sizing: border-box;
}

/* 项目描述区域 */
.project-info {
    padding: 15px;
}
.project-category {
    font-size: 16px;
    color: #ff0000;
    display: block;
    margin-bottom: 5px;
}
.project-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* 响应式 */
@media screen and (max-width: 992px) {
    .project-hero { height: 400px; }
    .project-hero .hero-title { font-size: 36px; }
    .project-list { grid-template-columns: 1fr; gap: 20px; }
    .project-image { height: 250px; }
    .project-image .image-title { font-size: 20px; padding: 8px 12px; }
}
@media screen and (max-width: 768px) {
    .project-hero { height: 300px; }
    .project-hero .hero-title { font-size: 28px; }
    .project-image { height: 200px; }
    .project-image .image-title { font-size: 18px; }
    .project-desc { font-size: 13px; }
}