to be daydreaming or not paying attention to reality
夢の中にいるか現実を無視すること (yume no naka ni iru ka genjitsu wo mushi suru koto)
"He was having his head in the clouds during the lecture."
"彼は講義中に頭が雲の中にあった。" (Kare wa kougichuu ni atama ga kumo no naka ni atta)
to take advantage of a trend or situation
Always stay optimistic, but be ready for any outcome.
when the situation becomes very difficult or challenging
something that will never happen
to improve relationships between people
better things are coming in the future