Hi, there have been a couple of good threads on this question - check them out
Why is Croatia shaped like a V?
What's up with the shape of Croatia? It appears to be shapes specifically to block of Bosnia and Herzegvina's coast, but then Bosnia gets a little chunk of Croatia's coast, diving Croatia in two? How did this happen?