Barcelona, the cosmopolitan capital of Spain's Catalonia region, is known for its art and architecture.