How you doing, Well i am here to discuss on white and black hat technique of SEO.
Let me tell you one thing there is no particular hard core definitiion of black hat seo. If we want to explain what is black hat SEO, we can say that over use of white hat is black hat.
For example: In on-page optimization we add targated keywords in our meta tag and keywords should be in proper manners and in limits, Suppose you put so many keywords in your meta tag i.e over access.Then what will happen Google will count it as a keyword stuffing(google called it is a black hat tech) and your site may cause spam.
So what happened with you , You were doing on-page tech i.e white hat. But by mistake Google count it black hat.
What i want to explain is that your white hat can also covert into black hat depend upon you and google.
Let me give you another example:
We add keywords in title and it should be 60 to 80 character, Suppose google chage algorithm and says if we found more than 100 characters in title we will spam that website. So i want to say that Be aware of white hat so u will not do black hat.
Thanks & regards