As Egypt is largely a Muslim country, conservative clothing is seen as respectful of the local culture. For mosque visits, you’ll need to cover up from ankle to elbow and cover your hair with a scarf. Especially in the heat, loose fitting, linen or cotton pieces are great for staying cool but of course, on the beach, swimwear is fine and most hotels don’t have a dress code.