You a wrong about homosexuality only being practiced openly in recent times.
The Ancient Greeks and Ancient Romans were very open about their sexuality