Turkey is a Muslim country. The strict separation of religion and state was introduced by Ataturk and is reversed by Erdogan.
While being a Muslim country is not necessary something bad, it seems to go not well along with an industrialized open society:
http://www.martin-van-creveld.com/monsters-ii/
I just came back from a short visit to Turkey and some strange, random impressions gave me big doubts.