The film was the brainchild of Japanese director , who became fascinated with the Ramayana while working on a documentary in India in 1983 .