Piran is on the Mediterranean coastline. Formerly part of the Roman Empire, the small town features medieval architecture and stone walls built to repel the Ottomans.