Iphone 5C screen is no longer working
I'm having some problems with my phones screen. Earlier today I was outside in the heat for a few hours, with my phone on the inside of my leggings near my hip, because they don't have pockets. I took my phone out to take a picture and it seemed fine, but seconds later it went black and wouldn't turn on. I assumed it was due to overheating, so i brought it inside and left it to cool off. About an hour later i tried to turn it back on, and it did seem to go on, but there was a big red bar in the middle of the screen, which then just faded to a sort of blue colour. It still seemed to be kind of working, because when i turned the switch to go from ringer to silent on and off it would vibrate like usual. I waited a while longer and tried again, but got the same red bar then blue screen. It looks like part of the screen is a light blue and the other part is darker, with a grey bar along the top. I plugged it in to my computer, and I put it in recovery mode and am currently restoring it. Any ideas whats going on, and if it will be under warranty if it does need fixing?
iPhone 5c