I'm not sure you can bet the river for value here ,Villain has overpairs trips and flushes in his range. I would have checked back the river. Doubt he c/r the river when your range like you said yourself contains flush draws. I think it's an easy fold.

btw I think you could have 3bet pre for value against someone who is opening a lot .....just saying.