Equations governing steady three-dimensional large-amplitude motion of a stratified fluid