The mistake is thinking classy means covered up and sweating through July in something structured and lined, when actually the opposite tends to look better and feels a lot more comfortable. The other one is going too far the other way and ending up in something so relaxed it reads as pyjamas with sandals. Classy summer dressing sits in a specific gap, and most people walk straight past it in both directions.
This kind of outfit earns its spot at anything from a lunch to a wedding to a Tuesday where you just want to feel pulled together without trying hard, and it works from late May right through to the point where you need a cardigan again in September. Think christenings, garden parties, dinners outside, the sort of occasion where jeans feel too casual and a full suit feels mad. If you own nothing in this vein yet, start with a midi length dress in a fabric that doesn't need ironing, linen blend or a decent viscose, something you can scrunch in your hand in the shop and watch spring back without deep creases. That one piece does more for your options than three separate smart tops will, because it's already an outfit on its own and still takes a jacket or sandals in either direction depending on the day.
Once that's sorted, look at what's already hanging up before buying anything else. A plain linen shirt worn open over that same dress turns it into something for the day. A slim gold or tortoiseshell belt pulls in anything shapeless and makes it look deliberate rather than borrowed from a tent. Flat leather sandals in a neutral tone do more smartening than a heel most of the time, and they're the difference between looking classy and looking like your feet are in agony by three o'clock, which never photographs as elegant no matter what anyone tells you. For colours, skip anything that screams for attention and go for the ones that don't fight the rest of your things, sage, stone, a soft terracotta, navy, a white that isn't paper white. Hold the fabric up near your face in daylight if you can, not shop lighting, because that's where you find out if a colour is doing you any favours or just doing itself a favour on the rail.
None of this needs to be expensive to look right, it just needs to fit properly and move when you do.
Wash anything pale or linen inside out on a cool cycle, and hang it damp rather than tumble drying, which is what actually keeps the creases from turning permanent.