.projects-banner {
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.banner-content h1 {
    margin-bottom: 20px;
    font-weight: 700;
}

.banner-content p {
    max-width: 700px;
    margin: 0 auto;
}
.container {
    max-width: 1680px;
    margin: 0 auto 50px auto;
    padding: 20px;
}

/* 项目列表样式 */
.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #222;
}

.projects-header p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 250px;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-img {
    flex: 1;
    min-width: 200px;
    overflow: hidden;
}

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

.project-item:hover .project-img img {
    transform: scale(1.05);
}

.project-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.project-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-link {
    display: inline-block;
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #0d5bba;
}

.project-link:after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.project-link:hover:after {
    margin-left: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-item {
        flex-direction: column;
        height: auto;
    }

    .project-img {
        height: 200px;
    }
}