/* Project grid + card styles separated from main stylesheet */

#projetos h2 {
    margin-bottom: 32px;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 100px;
    width: 100%;
    justify-self: center;
    justify-items: center;
}

.projeto-card {
    background: #23283a;
    border-radius: 18px;
    box-shadow: 0 2px 12px #0002;
    padding: 28px 22px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
    min-width: 0;
}

.projeto-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px #0004;
}

.projeto-card img {
    width: 300px;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px #0003;
    background: #181c24;
}

.projeto-card h3 {
    margin: 0 0 10px 0;
    color: var(--cor-destaque);
    font-size: 1.3rem;
}

.projeto-card p {
    color: #BDBDBD;
    font-size: 1rem;
    margin-bottom: 18px;
    min-height: 48px;
}

.projeto-icones {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 1.6rem;
    justify-content: center;
    width: 100%;
}

.projeto-icones i {
    color: var(--cor-destaque);
    filter: drop-shadow(0 1px 2px #0006);
    transition: color 0.2s;
}

.projeto-icones i.fa-windows {
    color: #2196f3;
}

.projeto-icones i.fa-linux {
    color: #cfceca;
}

.projeto-icones i.fa-android {
    color: #388E3C;
}

.projeto-card a {
    margin-top: 8px;
    color: #181c24;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    padding: 6px 18px;
    background: var(--cor-destaque);
    border: 1px solid var(--cor-destaque);
    transition: background 0.2s, color 0.2s, border 0.2s;
    font-size: 1rem;
}

.projeto-card a:hover {
    background: #e6f200;
    color: #181c24;
    border: 1px solid #e6f200;
}

@media (max-width: 900px) {
    .projetos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .projetos-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .projeto-card img {
        width: 100%;
        height: 180px;
    }
}
