/* Styles spécifiques à la page des projets */

.projects-hero {
    background: linear-gradient(135deg, #3a3a3a 0%, #1e1e1e 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.projects-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.projects-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: white;
}

.projects-section {
    padding: 3rem 1rem;
    background-color: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.project-image {
    height: 220px;
    overflow: hidden;
    background-color: #e9ecef;
}

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

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

.project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.project-tags {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #eef2ff;
    color: #4338ca;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 12px;
    border-top: 1px solid #e9ecef;
    padding-top: 16px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.project-link.github {
    background-color: #333;
    color: white;
}

.project-link.github:hover {
    background-color: #111;
}

.project-link.live {
    background-color: #3498db;
    color: white;
}

.project-link.live:hover {
    background-color: #2980b9;
}

.project-link.disabled {
    background-color: #bdc3c7;
    color: #7f8c8d;
    cursor: not-allowed;
    opacity: 0.8;
} 