I'm facing much confusion about a rather silly problem recently. Suppose I have two functions $\sin(x+\phi_1)$ and $\sin(x+\phi_2)$. Defining $\theta_1=x+\phi_1$ as the phase of the first and $\theta_2=x+\phi_2$ as the phase of the second function.
The phase difference, by definition comes out to be simply:
$$\Delta\theta=\theta_1-\theta_2=x+\phi_1-x-\phi_2=\phi_1-\phi_2$$ Hence, $$\Delta\theta=\phi_1-\phi_2$$
So, there is a constant phase difference between these two waves.
However, what if I have two functions $\sin(x+\phi_1)$ and $\sin(\phi_2-x)$ instead ? If I follow the same definition above, then I have $\theta_1=x+\phi_1$ and $\theta_2=\phi_2-x$.
In this case, the phase difference comes out to be $$\Delta \theta=2x+(\phi_1-\phi_2)$$
As $x$ increases, the phase difference seems to increase here. However, this doesn't seem correct to me.
For example, I know $\cos(x)=\sin(\frac{\pi}{2}-x)=\sin(\frac{\pi}{2}+x)$. This automatically implies, that both $\sin(\frac{\pi}{2}-x)$ and $\sin(\frac{\pi}{2}+x)$ have the same phase, since they are both equal to $\cos(x)$.
However if I use the definiton as above, then $\theta_1=\frac{\pi}{2}-x$ and $\theta_2=\frac{\pi}{2}+x$. In this case however,
$$\theta_1-\theta_2=2x=2\omega t \,\,\,\,\,\,(x=\omega t)$$
However, this implies that the phase difference increases over time. When the difference is an even multiple of $\pi$, the waves are in phase, and apart from that, they are out of phase. However, in this example, since both are essentially the same function, we should have a obtained a constant phase difference that was always $0$.
What is wrong with my definition then, and how would I find the phase difference between two waves in general.