My question involves landlord-tenant law in the State of: Illinois
So my landlord decided that he will return my security deposit but NOT my pet security deposit, even though there has been no damages to the property. His reasons are that my dog was a problem for pooping in the yard and barking. The lease he made me sign had an "additional covenants and agreements" section where he listed that he won't return the pet deposit if there are "any problems/complaints" with the dog, which to me is very vague and unfair.
For the first couple of weeks, I let my dog poop in the backyard (apartment) and I planned on picking it up on a weekly basis, until the landlord complained, then I decided to pick the poop up as soon as it came out. However, there were a few times (less than 10) throughout the entire year when I missed a poop and the landlord discovered it. As for the barking, my landlord claims that my dog "attacks" him and the other tenants when my dog is free in the yard, but in reality, my dog only barks. If they ignore her, she leaves them alone, and she have never physically touched them or anything, just barked.
So my question is, can he actually keep my deposit for "problems/complaints" as listed on the lease, or does he need to provide a list of actual damages and costs? Furthermore, is it even legal to put such a vague condition in the lease to begin with?
Thanks for the help!
EDIT: Title should be "Landlord Won't Return Pet Deposit...", sorry about confusion.