Did I ruin my chances? GPA-wise

I am a current junior right now, and I have been doing really well in school since freshman year (4.8 weighted/4.0 unweighted GPA). However, this semester is a crash; quarter grades are being finalized, and my GPA for the quarter would be a 4.17; I have succumbed into depression, and I just cannot find a way to do well in the classes anymore.

SAT: 2160

Classes:
AP United States History - A-
English IB-SL - B+
AP Physics C - C-
AP Calculus BC - B-
Philosophy IB-SL - A
Computer Science IB-SL - B-
AP Spanish Language 4 - B

I was aiming for reach schools (the ivies), in range schools UC Berkeley, UCLA, but I don’t know how bad this semester will get. I still have 3 months to pull up for the semester, but the majority of the points minus the finals already culminated to 60 percent of the semester’s worth.

No, you are not aiming for reach schools if you don’t push hard Jr year. There are plenty of other colleges that will be just as good for you. Really. Pick your college list according to what your qualifications are, not other way around. And you will still apply to a few reaches and take your chances, right? They are holistic so it is possible, you have a good challenging schedule that will help you. Press on and finish as strong as you can.