Democracy is not the same as dictatorship by the majority. It is founded on the principle that everyone is equal before the law. The principle of majority rule does not supersede that. The majority cannot vote to deny the minority's human rights.
Also it's not about holding gay pride parades. It's about laws that specifically target a group of people for discrimination.