Perceptual-Cognitive Integration for Goal-Directed Action in Naturalistic Environments