Daniel got a traffic citation. He had the option of paying 30% of his fine for traffic school. If traffic school cost $240, how much was the total fine for his traffic violation?