good afternoon
Buenas tardes = Good afternoon/evening. Reply with the same or "Que no?"(Isn't it?).
After 12:00 pm and before its dark
Yes. It means "good afternoon."
Another expression might be "Buenas noches", depending on the time of day.