Unraveling dynamic omnivory and community interactions between primary producers and an apex predator