In this world, mages can create a wide variety of spells, but they all have the same basis: creating or manipulating an element or both. They all also use mana. Mages are extremely common, as the vast majority of adults can cast using 2 elements. (The elements in this book are the standard fire, earth, water, and air). Mages can only create and control magic relatively close to them (for amateur mages around 2-20 feet), but can still cast fireballs, similar to throwing a ball. Also, mages do greatly vary in strength. Mages can also cast spells very often, but for how long mages can cast depends on the strength of spells.
So, in a world with this, magic can be used to attack, defend, and agument materials. Would battles in this world be similar to normal naval battles, with mages as artillery, or would there be a completely different interaction?
If there was a completely different interaction in naval battles in this world, what are some possible ways naval battles could work. The ships in my book would be mostly triremes but with sails, but things applicable to other types of boat warfare might also apply here. Also, this is during a mideval era type situation.
Edit: the answer by @ L.Dutch - Reinstate Monica♦ Made me realize I didn’t properly specify what I was looking for or the magic system. What I was looking for is wether certain elements of mages would have an advantage over others in this situation, and how such elements might be utilized in battles.