I would like to ask about the interpretation of the sentence below:
美しいと思ってしまったのだ
If I were to interpret it literally, it would mean
The thing of unintentionally thinking that it is beautiful
However, the translation given is
Struck me as profoundly beautiful
I am finding it difficult to draw the link between the literal meaning and the given meaning. Is my literal interpretation of the sentence wrong?