My DD says she’s been to 27 weddings in the last 6 years. Mostly men wearing suits unless an informal wedding made clear on invitations. Others - long evening dress also made clear on invitations. It depends on who is getting married, what they do as families and what they want for a wedding look.
Half of the look for a wedding is money. One dd went to was morning suit for the men. Others have been in glamorous settings in Italy and Switzerland. These families don’t expect guests looking like they are going down the pub or out for a night on the town. So dress for the type of wedding it is. If you know the couple, you know what to wear but “look at me” shiny embellished cream doesn’t look great anywhere.