light-bulb momented

adj.

You have drunk enough to mistake a sudden idea for a reliable plan and implement it immediately.

Pius got light-bulb momented and attempted to rearrange the landlord's furniture before midnight.

Source: Wiktionary