Istanbul, orasul imperial