じゃなかった vs くじゃなか

So, I'm a beginner to learning japanese and I don't really got it, when should I use じゃなかった and when should I use くなかった for saying something in the negative past tense? Is Kunakatta desu used for い adjectives only? If so, why is きれい(beautiful) used with じゃなかった? Sorry to bother but I really could use a help. Thanks!

by ArganoKat