Calculate opacity based on zoom level