Why not enjoy the sea breeze instead of sweltering in the car? You don't necessarily have to choose between Croatia and Italy - you can have both:
A few days in Venice, then take a ferry over to Croatia? Or round off your Croatian vacation with a few days in Trieste?