If I remember right, TNG was intentionally set 80 years after "the time of Kirk and Spock" (I'm too lazy to look up the specific fictional calendar dates, but I remember that line being used in the promotional material). But if you walked on a US Navy ship in the 1940s, the uniforms, equipment, and tone of the culture would have elements of what you would see in the 2020s, but it would be different while also being familiar. I think from TOS to VOY, you can trace a similar through-line where it all feels connected in the same way.