To give you a leg up to understanding the Moroccan culture, there are a few things that help to know. The first is that people in Morocco are polite, even to people they dislike, and so it helps to know that politeness can go a long way. Speaking of politeness, if you are going to be on the beach, you can wear shorts, but other than that, long pants are a must. Male or female travelers should not wear shorts around town, even when the temperature is 118 degrees. When it comes to places of worship, Agadir is not Rome; unlike the Roman churches, tourists should not enter the mosques, especially non-Muslims tourists.
If you are looking for cultural experiences in Morocco, you should check out this write-up about Morocco. If you are going to be traveling through Marrakech, don’t hesitate to check out this write-up about the cultural events in Marrakech.