Continuum Mechanics and Thermodynamics: From Fundamental Concepts to Governing Equations