Change direction between trap and vent
Depends on the jurisdiction.  In most places 8 feet is too far from trap to vent.  Better would be to route vent and waste lines from the trap separately.  You can use turns and what not as needed in those lines as long as slope is maintained.