Well - it would have been more clear if He hadn't created the sun after he called the first day and the first night. Or created plants before he created the sun. Of course there may have been another source of light energy that the plants used and it was replaced by the sun. (Just as rain fell for the first time during the flood, and replaced the daily fog/mist that previously had watered the plants.)
I do believe in the Creation story.
I also believe in the idea of a “day” means a period of time.
I also believe that the ancients were trying to describe the greater truths and the idea of God in the best way that they could. And obviously today, it is impossible for us to completely understand God.
Personally, I think there is something to do with the “Big Bang” on the first day. That is when God created energy - “And God said let there be light”. And from that light energy (and E=MC2), everything else was thus created for God to form as He wished.
God is Light - 1 John 1:5
And the city had no need of the sun, neither of the moon, to shine in it: for the glory of God did lighten it, and the Lamb is the light thereof. Revelation 21:23 - see also Isaiah 60
Revelation 22:5
There will be no more night in the city, and they will have no need for the light of a lamp or of the sun. For the Lord God will shine on them, and they will reign forever and ever.