import 'package:flutter/material.dart';
import '../autopilot_theme.dart';

/// **ochre** — Ocre
///
/// Classic cabin / aged leather aesthetic. Warm amber-gold accent on deep
/// brown. DISENGAGE returns to red (which contrasts well against ochre).
/// okColor is lime-green to stand out from the dominant gold palette.
const AutopilotTheme ochreTheme = AutopilotTheme(
  id: 'ochre',
  displayName: 'Ocre',

  background: Color(0xFF2A1A08),
  backgroundMid: Color(0xFF2A1A08),
  backgroundDeep: Color(0xFF1A1004),
  backgroundDeepest: Color(0xFF080502),
  backgroundGradient: RadialGradient(
    colors: [Color(0xFF2A1A08), Color(0xFF0F0904)],
    stops: [0.0, 0.7],
  ),

  panelBackground: LinearGradient(
    begin: Alignment.topCenter,
    end: Alignment.bottomCenter,
    colors: [Color(0xEB32200C), Color(0xEB181008)], // rgba(50,32,12,0.92) → rgba(24,16,8,0.92)
  ),
  panelBorder: Color(0x52D97706), // rgba(217,119,6,0.32)

  textMain: Color(0xFFFEF3C7),
  textMuted: Color(0xFFA8855A),
  textSoft: Color(0xFFFCD34D),
  textDisabled: Color(0xFF6B5435),

  accentLight: Color(0xFFFBBF24),
  accentMid: Color(0xFFD97706),
  accentDark: Color(0xFF92400E),
  accentGlowRadius: 18.0,
  accentGlowColor: Color(0xB3D97706),

  setLight: Color(0xFFFDE68A),
  setDark: Color(0xFFB45309),
  setGlow: Color(0x66FDE68A),

  okColor: Color(0xFF84CC16),  // lime-green — contrasts with gold
  warnColor: Color(0xFFFDE68A),
  northColor: Color(0xFFFDE047),

  // DISENGAGE: red — contrasts well on ochre background
  disengageBackground: LinearGradient(
    begin: Alignment.topCenter,
    end: Alignment.bottomCenter,
    colors: [Color(0xFFDC2626), Color(0xFF7F1D1D)],
  ),
  disengageText: Color(0xFFFFFFFF),
  disengageBorder: Color(0xFFF87171),
  disengageGlow: Color(0x99DC2626),

  actionButtonBackground: LinearGradient(
    begin: Alignment.topCenter,
    end: Alignment.bottomCenter,
    colors: [Color(0xFF7A4E1A), Color(0xFF3A240C)],
  ),
  actionButtonBorder: Color(0xFFFBBF24),
  actionButtonText: Color(0xFFFEF3C7),
  actionButtonGlow: Color(0x66FBBF24),
);
