I also went back and read your OP for your Croatia trip. Montenegro and Albania - a week each - would give you all the things you have listed.
Montenegro has gorgeous beaches and by just walking to the beach and buying a $10 (or less) ticket you can quickly be at even more beautiful and secluded beaches. They have beaches down well. Places like Budva appear to have plenty of party opportunities. There is also Durmitor National Park if you want mountains, views, and hiking. Plenty of history, as well. Driving is not as easy as Croatia but it’s doable.
Then move on south to Albania. For serious hiking, try Theth to Valbona (or the opposite). Ride the Komani Lake Ferry. Tirana is surprising - plenty to see and do for a somewhat small easy to navigate capitol. Then there are Berat and Girokastra for history and culture. And so many beaches, it will be hard to choose. Albania would be an adventure. I loved my 2 weeks there.
Can’t take a car from one to the other, though. So it would require 2 car rentals and the bus from country to,country.
It is also extremely easy to pair Albania with northern Greece (think Corfu).