/* Design system variables for Sarte */

:root {
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Color Palette - Light Mode Default */
  --bg-primary: #F7F5F0;     /* Linen/Warm white */
  --bg-secondary: #EFECE6;   /* Soft Sand */
  --bg-tertiary: #E6E2D8;    /* Dark Sand */
  --bg-glass: rgba(247, 245, 240, 0.75);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-focus: #C5A880;   /* Champagne Gold */
  
  --text-primary: #1A1A1E;   /* Obsidian */
  --text-secondary: #5C5C64; /* Soft Gray */
  --text-muted: #8E8E96;
  
  --accent-gold: #C5A880;
  --accent-gold-hover: #B3966E;
  --accent-sage: #5B7065;
  --accent-sage-light: #EBF0ED;
  --accent-crimson: #9E2A2B; /* For alerts/warnings */
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.04);
  
  /* Animations */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Borders */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1400px;
}

[data-theme="dark"] {
  /* Color Palette - Dark Mode */
  --bg-primary: #0C0C0E;     /* Deep Obsidian */
  --bg-secondary: #141417;   /* Rich Charcoal */
  --bg-tertiary: #1E1E22;    /* Dark Gray */
  --bg-glass: rgba(12, 12, 14, 0.75);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-focus: #C5A880;
  
  --text-primary: #F7F5F0;   /* Warm white */
  --text-secondary: #A0A0AA; /* Muted silver */
  --text-muted: #64646E;
  
  --accent-sage-light: #18201C;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Base resets & global styles that depend on variables */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-sans);
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
