Sustainable water management for mountain rivers