.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: start;
    width: 100%;
    padding: 1rem;
}

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(60,64,67,0.3), 0 2px 6px 2px rgba(60,64,67,0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.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-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #1a73e8;
}

.project-description {
    color: #5f6368;
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 16px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #5f6368;
    margin-top: 15px;
    border-top: 1px solid #f1f3f4;
    padding-top: 15px;
}

.project-link {
    color: #1a73e8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsivo */

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        padding: 1rem;
    }

    .project-info {
        padding: 16px;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .project-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem 10px;
    }

    .project-info {
        padding: 14px;
    }

    .project-title {
        font-size: 1rem;
    }

    .project-description {
        font-size: 0.85rem;
    }

    .tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}
