/* Theme Variables for StoicAdvice Webapp */

/*
 * REFERENCE ONLY - This file is not imported into the application
 *
 * This file contains various color theme definitions for experimentation.
 * To use a different theme, manually copy the desired theme's CSS variables
 * from this file into the @theme block in app/assets/tailwind/application.css
 *
 * The utility classes and base styles in this file are legacy and should
 * be implemented directly in application.css if needed.
 */

/* Default Theme: Forest Teal (current) */
:root,
.theme-forest-teal {
  --primary-50: #f0fdfa;
  --primary-100: #ccfbf1;
  --primary-200: #99f6e4;
  --primary-300: #5eead4;
  --primary-400: #2dd4bf;
  --primary-500: #14b8a6;
  --primary-600: #0f766e;
  --primary-700: #0f5d5b;
  --primary-800: #115e59;
  --primary-900: #134e4a;

  --accent-50: #fefbeb;
  --accent-100: #fef3c7;
  --accent-200: #fde68a;
  --accent-300: #fcd34d;
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;
  --accent-700: #b45309;
  --accent-800: #92400e;
  --accent-900: #78350f;
}

/* Theme 2: Ocean Blue */
.theme-ocean-blue {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #4A90E2;
  --primary-600: #1E3A5F;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  --accent-50: #eff6ff;
  --accent-100: #dbeafe;
  --accent-200: #bfdbfe;
  --accent-300: #93c5fd;
  --accent-400: #60a5fa;
  --accent-500: #4A90E2;
  --accent-600: #3b82f6;
  --accent-700: #2563eb;
  --accent-800: #1d4ed8;
  --accent-900: #1e40af;
}

/* Theme 3: Sage Green */
.theme-sage-green {
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --primary-200: #a7f3d0;
  --primary-300: #6ee7b7;
  --primary-400: #34d399;
  --primary-500: #10b981;
  --primary-600: #059669;
  --primary-700: #047857;
  --primary-800: #065f46;
  --primary-900: #064e3b;

  --accent-50: #f0fdf4;
  --accent-100: #dcfce7;
  --accent-200: #bbf7d0;
  --accent-300: #86efac;
  --accent-400: #4ade80;
  --accent-500: #22c55e;
  --accent-600: #16a34a;
  --accent-700: #15803d;
  --accent-800: #166534;
  --accent-900: #14532d;
}

/* Theme 4: Deep Purple */
.theme-deep-purple {
  --primary-50: #faf5ff;
  --primary-100: #f3e8ff;
  --primary-200: #e9d5ff;
  --primary-300: #d8b4fe;
  --primary-400: #c084fc;
  --primary-500: #a855f7;
  --primary-600: #7c3aed;
  --primary-700: #6d28d9;
  --primary-800: #5b21b6;
  --primary-900: #4c1d95;

  --accent-50: #f5f3ff;
  --accent-100: #ede9fe;
  --accent-200: #ddd6fe;
  --accent-300: #c4b5fd;
  --accent-400: #a78bfa;
  --accent-500: #8b5cf6;
  --accent-600: #7c3aed;
  --accent-700: #6d28d9;
  --accent-800: #5b21b6;
  --accent-900: #4c1d95;
}

/* Theme 5: Warm Gray */
.theme-warm-gray {
  --primary-50: #f9fafb;
  --primary-100: #f3f4f6;
  --primary-200: #e5e7eb;
  --primary-300: #d1d5db;
  --primary-400: #9ca3af;
  --primary-500: #6b7280;
  --primary-600: #374151;
  --primary-700: #4b5563;
  --primary-800: #1f2937;
  --primary-900: #111827;

  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-200: #fed7aa;
  --accent-300: #fdba74;
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --accent-700: #c2410c;
  --accent-800: #9a3412;
  --accent-900: #7c2d12;
}

/* Update existing utility classes to use CSS variables */
.bg-soft { background-color: var(--primary-50) !important; }
.bg-accent { background-color: var(--primary-600) !important; }
.hover\:bg-accent-dark:hover { background-color: var(--primary-700) !important; }

.text-accent { color: var(--primary-600) !important; }
.hover\:text-accent:hover { color: var(--primary-700) !important; }

.border-accent { border-color: var(--primary-600) !important; }

/* Update base styles to use CSS variables */
a:hover {
  color: var(--primary-700) !important;
}

blockquote {
  border-color: var(--primary-300) !important;
}

footer {
  background-color: var(--primary-50) !important;
}

/* Theme transition animations */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}