Why California left the Republican Party (for good)? Two words: Religious Right.
It's actually quite sad...I do not like that California has become a one party state. I do not think that it is good for democracy, but the Republican party needs to transform into a European-style conservative party in order to become competitive in California again.
That's why it really trended away. But the shift would've come a lot sooner if the correct type of Democrat for the state took the nomination.
P.S. The Dixie North/Gold Country counties became
more Republican because of that same element.