Complex sentence: Initially, he had just planned to travel to Panama, but he kept extending his trip.
Split into simpler sentences: Initially, he had planned to travel to Panama. However, he kept extending his trip.