Yes, they can get too hot and they can die from the heat (many a sad story here on BYC). Panting (in this instance) means they are experiencing heat stress.
Fans
Fans
Did I mention fans?
Cold water sources (if you need to be away for hours at a time, put frozen bottle of water in a water bowl...