Augmented Reality (AR) in Modern Technology: Foundations, Applications, and Future Directions