The wave of proposed legislation comes at a time of major gains for the gay community, with same-sex couples now allowed to marry in 35 states and the District of Columbia. The rapid shifts in the legal landscape have sparked a backlash from religious conservatives, who say the gains have gone beyond helping gays and are now infringing on the rights of those who oppose same-sex marriage for religious reasons.