#projects {
    padding: 100px 5%;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background-color: var(--bg-accent);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.project-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-date {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media screen and (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
