Once one of the wealthiest of the Yugoslav republics , Croatia 's economy suffered badly during the 1991 - 95 war as output collapsed and the country missed the early waves of investment in Central and Eastern Europe that followed the fall of the Berlin Wall .