It took a very long time to take pictures there because I did it in my spare time
and it was sunny in the mountains.

Because I went there at my leisure and it was sunny in the mountains.
taking pictures took a very long time.