I think you just had heat exhaustion and were dehydrated.

I had heat stroke once and it was horrible. I passed out and woke in an ambulance with ice packs all over me and an IV. It was not fun and I as quite ill and in the hospital for the night.

I felt sick for days after, and am a lot more careful in the heat now.

Hope you’re feeling better!