Lepanto is an interesting battle. Basically a battle between two armies fought on ship decks. The Turks outnumbered the Christians, but were overwhelmingly archers. The Christians were mostly heavy infantry in plate armor. Turks rained arrows on them as the ships approached, but with little effect. Once they closed the Christian soldiers cut through the Turks like a scythe through wheat.
No, that is not how it went down. Don John of Austria and Giovanni Andrea had a top secret weapon that the Turks did not know about. Boarding nets. Don John pointed his galley directly at Ali Pasha’s ship. When the two ships merged the arquebuses normally would only get one shot off before the battle went to swords. But with the thick boarding nets draped over the Catholic ships, the arquebuses fired and reloaded over and over again killing most of the muslims who vainly slashed at the heavy nets. Ali Pasha’s head was severed from his body and when the muslims saw that the battle was over. This is just my paraphrasing, there were many more details all carefully chronicled in “The Galleys of Lepanto” by Jack Beeching. Another awesome technology were the three large ships at anchor full of cannon that blasted away at the corsairs sinking many of them.