My dragon got slayed!

You made some moves with your lightsquare bishop that helped him
(7...Bg4 8.f3 Bd7):You waste a move and help him start attacking you , he moves f3 wich supports the pawn storm on the kingside , that actually happened. Meanwhile you are getting your bishop back from where you started basically doing nothing.
The trick with knight takes bishop looks good , but what if he doesn't fall and play g4...Then you find yourself back on d7 while he is getting closer to the target.
It may look unimportant but in fact it's the main reason of your loss.
Yea i guess you are right. I lost one move and not only that I should have played the bishop to a4 instead of rook to c8. That way he could've never moved his pawn to c3 to free his pinned knight on d4. I could've easily won the game then.