Weddings were major communal celebrations rather than brief private ceremonies. Attendants could participate in welcoming and accompanying the wedding party, and Jesus places his ten young women within such a festive setting.
The Greek word traditionally translated virgins can describe unmarried young women. Their precise ceremonial title is less important than their role: they are expected participants awaiting the bridegroom.