.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 6rem;
}

.projects-container h1 {
    text-align: center;
    color: #c1bdc1;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
}

/* Style pour les liens des projets */
.projects-grid a {
    text-decoration: none;
    color: inherit;
}

.projects-grid a:hover {
    text-decoration: none;
    color: inherit;
}

.project-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

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

.project-box h2 {
    color: #a2a0a2;
    font-size: 1.5rem;
    margin: 1rem;
    text-align: center;
    font-weight: 600;
}

.project-box p {
    color: #818080;
    font-size: 0.9rem;
    margin: 0 1rem 1rem 1rem;
    text-align: center;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-container {
        padding: 1rem;
        padding-top: 5rem;
    }
    
    .project-box img {
        height: 180px;
    }
}
