/* projects/css/websites.css */

/* Container que segura os cards (Substitui o antigo 'body') */
.websites-container {
    width: 100%;
    padding: 20px 0;
    /* Espaço em cima e embaixo */

    /* GRID: Organiza os cards lado a lado */
    display: flex;
    justify-content: flex-start;
    /* Alinha à esquerda */
    align-items: flex-start;
    flex-wrap: wrap;
    /* Permite quebrar linha quando encher */
    gap: 20px;
    /* Espaço entre os cards */

    border-bottom: 1px solid #3c3c3c;
    /* Linha separando dos projetos antigos */
    margin-bottom: 30px;
}

.vitrine-card {
    background-color: #252526;
    border: 1px solid #3c3c3c;
    border-radius: 8px;
    padding: 15px;

    /* Tamanho do Card */
    width: 300px;
    flex-grow: 1;
    max-width: 350px;

    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, border-color 0.2s;
}

.vitrine-card:hover {
    transform: translateY(-5px);
    border-color: #007acc;
    /* Azul VS Code */
}

.vitrine-title {
    color: #4ec9b0;
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vitrine-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #333;
    margin-bottom: 15px;
    transition: opacity 0.2s;
}

.vitrine-img:hover {
    opacity: 0.8;
}

.vitrine-btn {
    display: block;
    background-color: #0e639c;
    color: white;
    padding: 10px 0;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.vitrine-btn:hover {
    background-color: #1177bb;
}