This is the most detailed book I have ever read and written. It has three volumes and is very detailed.
Principles of Mathematical Analysis (USA) Rudin (Mechanical Industry Press)
This book combines a lot of cutting-edge knowledge, which is theoretical and not suitable for beginners.
I recommend the first one. Take your time.