/**
 * Shrichakra Theme - Design Tokens & CSS Custom Properties
 * Color Palette: Sacred Deep Maroon, Temple Gold, Sand / Cream, Rich Earth Browns
 */

:root {
  /* Color Tokens */
  --color-primary: #8B1E3F;         /* Sacred Deep Maroon */
  --color-primary-dark: #670E28;    /* Dark Maroon */
  --color-primary-light: #A83255;   /* Crimson Accent */
  
  --color-secondary: #C58A2A;       /* Temple Gold */
  --color-secondary-dark: #9A6818;  /* Deep Gold */
  --color-secondary-light: #E0AB4F; /* Bright Gold */
  
  --color-accent: #D97706;          /* Sacred Saffron / Amber */
  --color-accent-light: #FDE68A;    /* Soft Amber Glow */
  --color-accent-green: #15803D;    /* Seva / Nature Green */
  
  --color-bg: #FCF9F2;              /* Warm Devotional Cream */
  --color-bg-alt: #F6EFE2;          /* Sand / Card Tint */
  --color-surface: #FFFFFF;         /* Pure Surface White */
  --color-surface-translucent: rgba(255, 255, 255, 0.85);
  
  --color-text-main: #241A16;       /* Deep Charcoal Brown */
  --color-text-muted: #5C4D44;      /* Medium Sand Brown */
  --color-text-subtle: #8C7B72;     /* Light Brown */
  --color-text-inverse: #FFFFFF;    /* Pure White */
  
  --color-border: #EADBCE;          /* Soft Border */
  --color-border-gold: #E5C37A;     /* Gold Accent Border */
  
  /* Typography */
  --font-serif: 'Cinzel', 'Cormorant Garamond', 'Georgia', serif;
  --font-heading: 'Cinzel', 'Georgia', serif;
  /* Alias used by index.html and the legal pages. It was referenced 14 times
     but never declared, so those headings silently fell back to the body font. */
  --font-title: 'Cinzel', 'Georgia', serif;
  --font-body: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-kannada: 'Noto Sans Kannada', 'Outfit', sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Outfit', sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */
  
  /* Spacing */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.5rem;   /* 24px */
  --space-6: 2rem;     /* 32px */
  --space-8: 3rem;     /* 48px */
  --space-10: 4rem;    /* 64px */
  --space-12: 5rem;    /* 80px */
  --space-16: 6rem;    /* 96px */

  /* Padding for large feature cards. Referenced from inline styles so the
     value can still shrink at small viewports (see responsive.css). */
  --pad-card-lg: var(--space-8);
  
  /* Layout */
  --container-max: 1240px;
  --container-narrow: 840px;
  --container-wide: 1400px;
  --header-height: 80px;
  
  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Elevation / Shadows */
  --shadow-sm: 0 2px 6px rgba(36, 26, 22, 0.05);
  --shadow-md: 0 6px 18px rgba(36, 26, 22, 0.08);
  --shadow-lg: 0 12px 32px rgba(36, 26, 22, 0.12);
  --shadow-gold: 0 8px 24px rgba(197, 138, 42, 0.25);
  --shadow-maroon: 0 8px 24px rgba(139, 30, 63, 0.25);
  
  /* Transitions */
  --transition-fast: 0.18s ease-in-out;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-indexes */
  --z-base: 1;
  --z-header: 100;
  --z-modal: 500;
  --z-drawer: 600;
  --z-toast: 1000;
}
