import 'package:flutter/material.dart';

/// Brand colours aligned with https://www.car64.app.
class AppColors {
  AppColors._();

  // ── Brand (website) ──
  static const Color orange = Color(0xFF0EA5E9); // keep name for compatibility
  static const Color red = Color(0xFF38BDF8); // secondary neon tint

  // ── Accent / CTA ──
  static const Color navy = Color(0xFF0F172A);
  static const Color navyLight = Color(0xFF1E293B);

  // ── Surfaces ──
  static const Color backgroundLight = Color(0xFFF8FAFC);
  static const Color cardLight = Color(0xFFFFFFFF);
  static const Color footerGrey = Color(0xFFE2E8F0);

  // ── Text ──
  static const Color textPrimary = Color(0xFF0F172A);
  static const Color textSecondary = Color(0xFF475569);
  static const Color textHint = Color(0xFF64748B);

  // ── Dark mode surfaces ──
  static const Color backgroundDark = Color(0xFF0F172A);
  static const Color cardDark = Color(0xFF111827);
  static const Color surfaceDark = Color(0xFF1E293B);

  // ── Utility ──
  static const Color success = Color(0xFF2ECC71);
  static const Color error = Color(0xFFE74C3C);

  /// The brand gradient used for headers, buttons, etc.
  static const LinearGradient brandGradient = LinearGradient(
    colors: [orange, red],
    begin: Alignment.topLeft,
    end: Alignment.bottomRight,
  );

  /// A subtler version for cards / chips.
  static const LinearGradient brandGradientSoft = LinearGradient(
    colors: [Color(0xFFE0F2FE), Color(0xFFF0F9FF)],
    begin: Alignment.topLeft,
    end: Alignment.bottomRight,
  );
}
