Across Europe , the Netherlands , Belgium and Spain have , like Canada , enacted laws legalizing same-sex marriage , but other countries offer gay people forms of partnership with more restricted rights than heterosexual marriage .