Can the sun cause my Iphone 4 to stop working completely?

I left my Iphone 4 in my car during school on accident while I was in a rush. I left it in its plastic case, but it was in the dashboard. It reached over 85 degrees today, and it was very sunny. When I got home I put it the fridge and let it cool. Now it won't turn on at all. I plugged it up to the charger. I'm scared I broke it.

Absolutely. You cooked it