import 'package:flutter/material.dart';

class AppTheme {
  static const Color primaryBackground = Colors.black;
  static const Color accentColor = Color.fromARGB(255, 100, 200, 255);
  static const Color secondaryText = Colors.white70;
  static const Color primaryText = Colors.white;
  static const Color glassBackground = Colors.white;
  static const double glassOpacity = 0.1;
  static const double glassBlur = 10;

  // Glass morphism card styling
  static BoxDecoration glassDecoration = BoxDecoration(
    color: glassBackground.withValues(alpha: glassOpacity),
    borderRadius: BorderRadius.circular(16),
    border: Border.all(color: Colors.white.withValues(alpha: 0.2)),
  );

  // Modern elevated button style with glassmorphism and gradient
  static ButtonStyle modernButtonStyle = ElevatedButton.styleFrom(
    backgroundColor: Colors.transparent,
    foregroundColor: primaryText,
    elevation: 0,
    padding: const EdgeInsets.symmetric(horizontal: 24, vertical: 14),
    shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12)),
  );

  static ThemeData lightTheme = ThemeData(
    useMaterial3: true,
    brightness: Brightness.light,
    primaryColor: accentColor,
    scaffoldBackgroundColor: primaryBackground,
    splashFactory: NoSplash.splashFactory,
  );

  static ThemeData darkTheme = ThemeData(
    useMaterial3: true,
    brightness: Brightness.dark,
    primaryColor: accentColor,
    scaffoldBackgroundColor: primaryBackground,
    splashFactory: NoSplash.splashFactory,
  );
}
