It has worked hard to rid itself of its seedy image as a center of corruption and drug trafficking, and vast renovations in both the city and the port have resulted in a surge in the number of cruise visitors.