Transport Theory of Inhomogeneous Fluids: Fundamentals and Applications