The example follows: Rimini is a thriving resort on the east cost of Italy. The word coast is broader here. We generally use coast to not to define a particular edge/place as shore. It's anywhere next/close to the sea as the definition says. The same way, 'coastline' is a broader term. If you google it, most of the images give you a bird's view. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.