You are thinking libertarians. Republicans are a mixture of libertarians and religiously motivated social conservatives. The social conservatives vote in primarily elections in large numbers, so many politicians try to win points with them in the primaries by taking strong anti-drug anti-gay and anti-abortion policies. Once primaries are over and the mainstream election starts, they will try their hardest to pretend they never said those things in order to win more moderate voters.