It's very complex and difficult issue.
In the past, marriage was connected only with church and was part of religious life.
In the modern society states took responsibility for marriages from churches.
When society become secularized and separated from the religion, we got a problem.
For religious people marriage is religious and holy act, connected with God and faith.
For other, non religious people, it's just civil act and part of human freedom or civil rights.
I don't think that such, very different viewpoints, can be united, no way.
It's classic dilemma, who is our true leader and owner, government and president, or God.
Each of us have different answer and because of this we have so much conflicts and problems in society and real division.