Maybe you could use Unity Cinemachine system. This can create complex camera systems without you doing all the hard code.
I am using Cinemachine >.<
Lol XD