Sorry, you're beyond the "point of no return".
It's time to bring in a professional.
I've been helping people through electrical problems for years. But sometimes there reaches a point where just too much hands-on LIVE testing and troubleshooting will be needed to even understand what we're looking at... and the person doing that testing needs to have the knowledge to do that both safely and effectively.
So you need that person. The only way to become that person is spend a couple weeks of evenings with your nose in good books about electrical.
Post-mortem: where did this go wrong?
The first is the word "extra". Electricians are cheap. There are no "extra" wires in junction boxes*. Every wire in there already has a job to do. Commonly people will see 4 wires spliced together with a wire nut, and the instructions say they need to attach to that, so they'll attach to 1 of the wires and leave the other 3 dangle. As you now know, that breaks other stuff.
The other common mistake is expecting there to be some sort of "color coding" inside boxes. There really isn't - the only colors are the stock colors that cables are sold in: black-white, or black-white-red. If neutral is present in a cable, it'll be white, but other than that, nothing at all can be relied on.
In fact, the ONLY configuration data is how the last electrician left it. A novice hastily taking things apart inadvertently destroys that information. The only way to reconstruct it is by the experienced testing and troubleshooting I mentioned at the top.
So yeah, this is "call a pro".
* except for the NEC 2011 requirement to bring neutrals to switches that don't need them, to support future smart switches.