First thing a reliable contractor will do is insulate the ceiling above the lanai plus the local building code requires it
Coolaroo shades worth every penny
https://www.coolaroousa.com are big help keeping out the sun along with good double pane windows tinted
My Lania faces west gets strong afternoon sun the products mentioned above work excellent