Not every religion has to have St. Augustine's attitude to sex. Why even in our culture marriages are celebrated in a church everyone present knows what is going to happen that night but that doesn't prevent it being a religious ceremony.
We've arranged a civilization in which most crucial elements profoundly depend on science and technology.