It seems to me (correct me if I'm wrong) that Calculus of Variation is a subset of Analysis in Banach Spaces (see this post for an example).
Is there any text that approaches more general results on Banach Spaces while delving into the application of these results to the Calculus of Variations?