Turkey's military capacity turned the tables in Syria