Movies & TV vastly inflate the space available on ships. Presumably to make for better looks, and just to make it easier to film.
The original Star Trek corriders had to made wide enough to accomidate bulky camera equipment. When they constructed the sets for ST:TMP the corridors were much more claustrophobic. Wider corridors were restored in TNG so that characters could walk next to each other and converse.
Gene wanted at least one big set, and on TOS it was engineering. In TMP, it was the conference/rec room. TNG was designed to make everything look spacious. Crew quarters, the bridge itself, all very roomy. Gene believed that on a long space voyage, you would have to make the accomodations pleasant for the mental well being of the crew, and would have the material resources to do so.
Every bit of space on a spaceship is that much more area where you have to provide heat, light, air, etc.
Well, on a capital ship, adding interior space becomes less and less of an issue. Once you have enclosed an area, heat can only escape through the outer hull. The surface area of outer hull/interior volume ratio is not constant. It goes down as the ship gets bigger. Air is only an issue when people breathe it, so volume alone doesn’t dictate the size of your air recycler, your crew compliment does. Light? By the time of TOS don’t ya think that our LED tech or even something better will make that a trivial energy drain? I notice that they are very careful never to show a 23 or 24th century “light bulb”, but incandescents are already going the way of the dodo… (Of course, then you couldn’t dark out the ship after a battle hit, because it would be so trivial to give each light a backup battery)
One final point. If everything was very realistic on a movie or tv show, people would walk/tune out. You aren’t paying to see people get wrong numbers, watch television commercials because the story they are looking for hasn’t come on yet, etc.
The fundamental rule of filmed drama is that every moment of every scene must serve to advance either the mood, the storyline or the character development. You don’t waste the audience’s time looking for parking. They just went through that hassle outside in the mall parking lot. They came into your movie screening to escape that shiat, yo?