.projects-container {
    max-width: 1200px;
    margin: 80px auto 40px;
    padding: 20px;
}

.projects-header {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--michigan-blue) 0%, #003366 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 40px;
}

.projects-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--michigan-maize);
}

.projects-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 项目筛选器样式 */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--michigan-blue);
    background: transparent;
    color: var(--michigan-blue);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--michigan-blue);
    color: white;
}

/* 项目卡片网格 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    color: var(--michigan-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.project-tags {
    margin-bottom: 15px;
}

.project-tags span {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--michigan-blue);
    color: white;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

.project-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--michigan-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--michigan-maize);
}

/* 动画效果 */
.project-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .projects-container {
        margin: 60px 10px 20px;
        padding: 15px;
    }

    .projects-header {
        padding: 40px 20px;
    }

    .projects-header h1 {
        font-size: 2rem;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
} 