Certainly sounds like dehydration/low electrolytes. Could be age related. I loved the heat when I was young. That is no longer true. When it gets into the mid 80s and 90s I do not ride my bike unless I get in my miles early in the morning. Be sure to monitor yourself and see a doctor if feeling bad continues.