Idalia hits Cuba with rain and flooding before turning into a hurricane