If $A+B+C=0$, then prove that the value of the determinant is $0$. I'll state the question from my textbook below:

If $A+B+C=0$, the prove that $\begin{vmatrix}1 & \cos C & \cos B \\ \cos C & 1 & \cos A \\ \cos B & \cos A & 1 \end{vmatrix} = 0$.

This is how I tried solving the problem:
$LHS = \begin{vmatrix}1 & \cos C & \cos B \\ \cos C & 1 & \cos A \\ \cos B & \cos A & 1 \end{vmatrix}$
$= 1(1- \cos^2 A) - \cos C (\cos C - \cos A \cos B) + \cos B (\cos A \cos C - \cos B)$
$= 1 + 2 \cos A \cos B \cos C - (\cos^2 A +\cos^2 B + \cos^2 C)$
I don't know how to proceed further. I tried using the fact that $A+B+C=0$ but it didn't lead to anything I could solve. I don't know where is it supposed to be used. 
Also, I read a solution to this problem somewhere in which the term $(\cos^2 A +\cos^2 B + \cos^2 C)$ was replaced by $1 + 2 \cos A \cos B \cos C$ as $A+B+C=0$. Are these two terms equal for the given condition? Also, is there a way to prove the statement without using this fact?
Any help would be appreciated.

When at least one of $A,B$ or $C$ is not an integer multiple of $\pi$, the vector $(\sin A,\sin B,\sin C)$ is nonzero. However, as $A+B+C=0$, the sum-of-angle formula implies that
$$
\pmatrix{1&\cos C&\cos B \\ \cos C&1&\cos A\\ \cos B&\cos A& 1}
\pmatrix{\sin A\\ \sin B\\ \sin C}
=0
$$
and hence the matrix is singular.
In case all of $A,B,C$ are integer multiples of $\pi$, you may complete the proof by a continuity argument, or by noticing that the matrix must have at least two identical rows, because up to a permutation, $(\cos A,\cos B,\cos C)$ is either $(1,1,1)$ or $(1,-1,-1)$.
