The governing HDZ has been the dominant party since Croatia gained independence more than 30 years ago.