Barn 'total loss' after fire