I’ve had good luck keeping potted plants cooler by slipping the pots inside slightly bigger ones and stuffing the gap with leaves or straw, kind of like a quick DIY cooler. The soil stays way steadier on hot days. Your trick with cardboard works too, but this gave me longer relief in full sun. Volunteer pumpkins are gold for shade, I let them roam wherever they want.