Complex sentence: Ecotourism has contributed significantly to Costa Rica--as both a country and an economy--however, it is also a prime example of "ecotourism gone wrong".
Split into simpler sentences: Ecotourism has contributed significantly to Costa Rica--as both a country and an economy. However, it is also a prime example of "ecotourism gone wrong".