Probes of soft and hard QCD at LHCb