I had problems organized religion for a long time too. I find mindless ritualistic behavior that can't be questioned or explained, quite stupid. I was lucky to have very accepting parents, even though they're quite conservative, they encouraged me to go on a journey of exploring everything.
I've always believed in God because science's everything-is-a-coincidence principle never really resonated with me. I also believed the Creator would send a message to us or that there was some answer in the universe, because we are a creation that always questions. I thought 'why make us this way if you didn't want us to question?'. In my research and exploration of all the different groups in the world , I started to see some universal trends which made me feel... if there was a true religion on the earth, it would encompass all those to a degree, in an 'Ockham's razor' fashion. I felt again that, if so many people over time and culture felt the pull to find God or create a set of rules to worship God, or find meaning in the world, there must be something programmed into our creation that makes us this way, this was put there for a reason at the very least. etc
Another realization I had was that humans are so d*** flawed, if a religion doesn't include regular spiritual cleansing or bringing back to humility, and/or if there is too much room for interpretation, we will cling to those flaws and push our perspective on everything, eventually twisting what may have been the truth, into something ugly and disfigured, and not even be able to see that's what we're doing. Because our own weaknesses takes something essential beautiful and kind and good, and twist it to suit our selfishness. I always thought that was very connected to how every religion seems to have a force of good and origin, and a force for bad and destruction.
...I'm obviously over simplifying all the things I found, and I don't really have the words to describe this well... but this post is already a novel so I'm not going to go more in depth here -_-;
In the end I settled on a religion. I'm quite happy, I don't follow it the way the people of this generation might, but try to follow the way it is written and was originally followed. Which sometimes makes me seem much more conservative than them and sometimes more liberal. That to me, seems like the true message of God. I am always open to criticism though, because I understand that my own perspective is biased and flawed and feel that to be overly obsessed with it is a bad idea. Also I'm sure I haven't understood every culture's or group's religion perfectly and acknowledge I may have missed something/not had enough maturity to understand it. All in all, this journey has more than enough information and content to occupy me the short few years we are alive, even if it's all rubbish in the end, I feel spiritually fulfilled and have much to look forward to! Also thinking in such a way lets me talk to/have deep connections with people of all faiths and spiritual inclinations.
I think you could just try a spiritual journey like this as an alternative. Study religions and cultures as a study of perspective, not searching for some set of rituals to follow but a perspective on how people think, of how possibilities of a Creator's guidance of us could have come? or just the spectrum of spirituality the human condition experiences?
Also, some meditation groups seem to have a good handle on the deep friendships focused on moral development but no strict policies on God/Gods/Religion, people of all types go there and just focus on connecting with their own experience and also other people and general loving/kind/moral behavior.