İstanbulkart for everything
One card for metro, bus, ferry, and tram. Transferring within 2 hours gives discounts. The card costs 50 TL and you top it up at machines.
Tip: Istanbul traffic is legendary. Take the ferry across the Bosphorus instead of driving — it's faster and beautiful.