import 'package:firebase_core/firebase_core.dart';

/// Firebase Service - Central configuration and initialization
class FirebaseService {
  /// Initialize Firebase services
  static Future<void> initialize() async {
    try {
      // Initialize Firebase Core (uses google-services.json automatically)
      await Firebase.initializeApp();

      print('✅ Firebase initialized successfully');
    } catch (e) {
      print('❌ Firebase initialization failed: $e');
      rethrow;
    }
  }
}
