‘A lot’ is not always an adverb, but here it functions as an adverb or adverbial phrase.