Noted. Did you take a full course load or a lighter schedule to enable you dvote more time to each class. Also did you pick easier classes or didnt really care?
I usually take 14 credits a semester, with the odd summer class to make sure I graduate on time.
I actually have an easier time keeping a 4.0 with classes that are challenging enough to be intellectually engaging. If I pick easy classes, I wind up blowing them off and I usually end up blowing the 4.0. This past semester I got a 4.0 in two senior-level CJ classes and two senior level Econ classes simply because I enjoyed them and found them interesting. But I already knew I loved econ and CJ, and that's why I picked them.
Don't pick classes you suck at - I got my lowest GPA of the past four years a few semesters ago because I took two upper-level Lit classes that were a huge mistake, as I f-ing hate Lit classes - but don't pick a bunch of intro level snorefests either or you'll talk yourself out of going to class.
Also, since you're just starting out: use your professors' office hours. Use them a lot. Most professors relish the idea of talking to a student who cares enough to put in a little extra time. Don't become a creepy stalker or anything, but visit your professors often. When it comes time to ask for letters of recommendation, it really helps if they know who you are. The whole "go to class" thing comes in handy here too - professors know who's there every day and who isn't.