/* ==========================================
   PROJECTS SECTION
========================================== */

.projects{
    padding:120px 0;
    position:relative;
}

.project-filters{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin:40px 0 60px;
}

.filter-btn{
    padding:12px 24px;
    border:none;
    border-radius:50px;
    background:var(--card);
    color:var(--text);
    cursor:pointer;
    transition:.3s;
    font-weight:600;
}

.filter-btn:hover,
.filter-btn.active{
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );
    color:#fff;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:35px;
}

.project-card{
    overflow:hidden;
    border-radius:22px;
    transition:.35s;
}

.project-card:hover{
    transform:translateY(-12px);
    box-shadow:var(--shadow);
}

.project-card img{
    width:100%;
    height:230px;
    object-fit:cover;
    transition:.4s;
}

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

.project-content{
    padding:25px;
}

.project-content h3{
    margin-bottom:12px;
    font-size:1.5rem;
}

.project-content p{
    color:var(--text-light);
    line-height:1.7;
}

.project-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:20px 0;
}

.project-tags span{
    padding:8px 14px;
    border-radius:50px;
    background:rgba(255,255,255,.08);
    font-size:.9rem;
}

.project-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

@media(max-width:768px){

    .projects-grid{
        grid-template-columns:1fr;
    }

}