My husband and I were in Puglia last October for the first time and loved it! Also went to the Amalfi Coast as we love it here. We did have a rental car the entire time we were in Puglia as yes, public transport can be tricky here. The Lonely Planet Southern Italy book is a good resource for the region. We did not go to the Gargano. Flew into Bari via Rome and picked up our car at the airport and drove to Trani which is about 35 miles N. of Bari. We used a tablet for gps and it worked beautifully. I know you said you wouldn't have a car the entire time but I will post our itinerary that we did with a car, Oct. 3-24 incl. travel days so we had 20 nights:
3 nights, TRANI, a cute seaside town with a beautiful cathedral right on the water. Daytrips to CASTEL DEL MONTE & RUVO DI PUGLIA, with it's Romanesque cathedral, and BARI. Left our car parked and took the train to Bari. Bari does not get alot of love but we really enjoyed our day here.
Enroute to the Val D'Itria we stopped at CONVERSANO and POLIGNANO AL MARE.
5 nights, VAL D'ITRIA, stayed in a trulli outside of LOCOROTONDO. From here we visited:
GROTTO DI CASTELLANA, LOCOROTONDO, MARTINA FRANCA, ALBEROBELLO, OSTUNI, CISTERNINO, MONOPOLI. The bombettes and rosemary roasted potatoes in Cisternino were so delicious!
4 nights, LECCE, From here did a daytrip and drove the Salento counter clockwise (thanks Laurel for that advice!) visiting GALLIPOLI, SANTA MARIA DI LEUCA & OTRANTO.
Stopped in the ceramics town of GROTTAGLIE enroute to Matera, where we picked up several pumi, the symbol of good luck seen on balconies in the Val d'Itria. You can also buy them at other shops in Val d'Itria towns. I know Matera is not in Puglia but is in Basilicata and absolutely worth a visit of at least 2 nights.
2 nights, MATERA, stopped at the IL Belvedere Al Parco Della Murgia on our way out of town enroute to Paestum.
1 night, PAESTUM, have always wanted to see the ruins and after a number of visits to the Amalfi Coast had not made it here yet so this time we did!
Drove the Amalfi Coast and got rid of our rental car upon arrival in Sorrento.
4 nights, SORRENTO
1 night, NAPLES, 6.30 a.m. flight
Hope this helps. Let me know if I can be of further help!