A destination wedding is three days and three distinct dress codes: the welcome dinner (smart casual), the wedding day (whatever the invitation says), and the farewell brunch (relaxed). Plus free time. Plus the flight. Pack for the three stated occasions, the climate, and swim-and-walk activities in between. Everything else is optional.
The single most common packing mistake we see is over-packing: bringing two dinner outfits when one suffices, four swimsuits when two are plenty, seven pairs of shoes when three would do. Carry-on only is genuinely possible for a three-night destination trip if you pack with discipline.