/* ════════════════════════════════════════
   PORTFOLIO — Mateus Gonçalves Silva
   style.css
════════════════════════════════════════ */

body { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }

/* ── Filtros ── */
.filter-btn {
    background: #f8fafc;
    color: #64748b;
}
.filter-btn:hover { background: #f1f5f9; }
.filter-btn.active {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

/* ── Skill tags ── */
.skill-tag {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 500;
    cursor: default;
    transition: all .2s;
}
.skill-tag:hover {
    background: #0f172a;
    color: #fff;
    border-color: transparent;
    transform: scale(1.04);
}

/* ── Modal overlay / box ── */
#projectModal {
    opacity: 0;
    pointer-events: none;
    background: rgba(15,23,42,.65);
    backdrop-filter: blur(4px);
    transition: opacity .25s ease;
}
#projectModal.visible {
    opacity: 1;
    pointer-events: all;
}
#modalBox {
    transform: scale(.94) translateY(20px);
    opacity: 0;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
}
#modalBox.scale-enter {
    transform: scale(.94) translateY(20px);
    opacity: 0;
}
#modalBox.scale-active {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ── Project card ── */
.project-card { transition: transform .3s, box-shadow .3s; }
