You liked burned at least 1,000-1,500 calories on the ride and consumed about 300 calories. I think your muscles were depleted and would have welcomed some more fuel during the ride, as well as some carbs + protein sooner then 2 hours afterwards. I'm not surprised your muscles are sore! Next time, eat a good breakfast, as tolerated, then target about 200-400 calories per hour after the first hour, and then refuel soom afterwards with some yogurt, chocolate milk, a snadwich or some form of carbs + protein. Also be sure you drink extra fluids, so your urine is a light color and of significant volume. I doubt if electrolytes were needed ... they are more appropriate on rides longer than 4 hours.
My Sports Nutrition Guidebook has a whole chapter on recovery, if you want to read more detailed info on the topic.
Nancy
I went on a 26 mile mountain bike ride (I'm training for an event and not used to riding for this long!) with 6,000 ft of climbing -- that night my legs were killing me! I took 1 electrolyte capsule during the ride and only ate ~1.5 bars, plus water. Afterwards, I didn't eat anything until about an hour or 2 later. Do you think I was dehydrated? Didn't eat soon enough? My leg muscles were very sore the following day as well.