It was just as hard 30 years ago as it is now. As it was 300 years ago. 3000 even.
I understand what you're saying, but I also think it's important to acknowledge that dynamics have changed - and we don't need to go back 30 years to see it.
As recently as 5 or 6 years ago, I would quite often strike up conversations with strangers at the bus stop or on the train or at the post office.
Usually these conversations would last for just a few minutes, sometimes an hour or more, and in a handful of instances I made a long term friend.
I find that this is vastly harder to do now, because nearly everyone in those common spaces is now engrossed by their phone. This changes the dynamics of interacting and striking up a conversation substantially by adding a lot of social friction.
Historically, the interaction was something like: slightly awkward silence -> random comment about the weather or some equally anodyne topic to break the awkward silence -> possibly a rewarding conversation.
Now, the awkward silence never occurs in the first place. It's been entirely replaced by everyone scrolling the feeds on their phones. To start a conversation, you have to proactively interrupt what the person is doing and ask for their attention.
What's more, even if you successfully navigate that dynamic and start a conversation, the soft dings and tapping reminders from the phone constantly pull people's attention back to the virtual from the physical.
Smartphones have been a boon in myriad ways, but I do miss the chances to engage in face-to-face conversation with strangers in the real world that existed before they commanded every second of our spare attention.