/* 主容器样式 */
.projects-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* 页面标题 */
.page-title {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #3498db;
}

/* 项目网格布局 */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

/* 项目卡片样式 */
.project-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* 项目图片 */
.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 项目信息区域 */
.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* 项目元数据 */
.project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.industry::before {
    content: "🏷 ";
}

.date::before {
    content: "📅 ";
}

/* 项目描述 */
.project-desc {
    color: #34495e;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .project-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .projects-container {
        padding: 0 10px;
    }
    
    .project-info {
        padding: 1rem;
    }
}