/* Styles for Portfolio Project Filter */
.project-filter-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: -20px;
    margin-bottom: 60px;
}

.project-filter-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    background: #ffffff;
    padding: 18px 45px;
    border-radius: 100px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all 0.3s ease;
}

.filter-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-right: 12px;
    text-transform: uppercase;
}

.filter-btn {
    background: none;
    border: none;
    outline: none;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #94a3b8;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #4f46e5;
    transform: translateY(-1px);
}

.filter-btn.active {
    color: #4f46e5;
    font-weight: 800;
}

.filter-separator {
    color: #e2e8f0;
    font-size: 14px;
    user-select: none;
    margin: 0 4px;
}

/* Portfolio Filter Items Animations */
.filter-item {
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.filter-item.is-hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

/* Responsive Mobile Wrap Layout */
@media (max-width: 767px) {
    .project-filter-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0 16px;
        margin-top: -10px;
        margin-bottom: 35px;
        overflow: visible;
    }
    
    .project-filter-list {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        padding: 20px 18px 16px;
        border-radius: 20px;
        gap: 10px;
        width: 100%;
        min-width: unset;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(226, 232, 240, 0.6);
    }
    
    .filter-title {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        margin-right: 0;
        white-space: nowrap;
        width: 100%;
        text-align: center;
        margin-bottom: 6px;
        color: #b0b8c9;
        text-transform: uppercase;
    }
    
    .filter-btn {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.5px;
        padding: 8px 18px;
        white-space: nowrap;
        background: #ffffff;
        border: 1.5px solid #e2e8f0;
        border-radius: 50px;
        flex-shrink: 0;
        color: #64748b;
        transition: all 0.25s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }
    
    .filter-btn.active {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        color: #ffffff;
        border-color: transparent;
        box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
        font-weight: 700;
    }
    
    .filter-btn:hover {
        transform: none;
    }
    
    .filter-separator {
        display: none;
    }
}
