/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    background: #fff;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    box-shadow: 0 25px 50px -12px rgba(209, 213, 219, 0.5);
    transform: translateY(-5px);
}

.project-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: var(--soft-white, #f9fafb);
}

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

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

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

@media (min-width: 363px) {
    .project-content {
        padding: 2rem;
    }
}

.project-title {
    color: var(--gray-900);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

@media (min-width: 340px) {
    .project-title {
        font-size: 1.125rem;
    }
}

a .project-title {
    transition: color 0.2s ease;
}

a:hover .project-title {
    color: var(--picto-primary);
}

.project-desc {
    color: var(--gray-600);
    font-size: 0.75rem;
    line-height: 20px;
    margin-bottom: 1.5rem;
    flex: 1;
}

@media (min-width: 340px) {
    .project-desc {
        font-size: 0.875rem;
    }
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--picto-primary);
    background: rgba(67, 97, 238, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: var(--picto-primary);
}

.project-link i {
    font-size: 0.9rem;
}