Carlos Alcaraz said defeat to Novak Djokovic was tough to take, but he was proud of how he performed.