It appears that Erdogan is intent on reversing the policies begun by Kemal Ataturk in 1923 toward changing Turkey into a modern secular and democratic state.
This is surprising since Turkey has had almost 100 years of secular government. However, it seems to be relapsing back to a government that leans toward the religious beliefs of Islamism.
The question is whether this movement sweeping throughout the Middle East is analogous to the Counter-Reformation in Europe and will be a final gasp of theocratic governments on a short term basis or will last for a significant period of time.
It might be if they weren’t wearing shorts and a bikini top. I was there several times in my twenties, and never had a problem - I dressed modestly.