Met a man in a coffee shop

I(35f) have been out of the dating game for over a decade. I was in a coffee shop this morning and struck up a conversation with a handsome man. I m not sure if he was flirting or just being friendly. He said he liked my hat and we started talking about various interests. He then said he worked at a bar and gave me his business card. Said I should come in and have a beer.

I am pretty dense when it comes to flirting lol. So he was totally hitting on me...right?