/* CSS Variables - Design System */

:root {
  /* ========== Colors ========== */
  
  /* Primary Colors - Taoist Aesthetics */
  --primary-color: #2C3E50;        /* 墨青色 - Ink Blue */
  --secondary-color: #C9A063;      /* 金色 - Gold */
  --accent-color: #8B7355;         /* 古铜色 - Antique Bronze */
  
  /* Background Colors */
  --bg-primary: #FAF9F6;           /* 米白色 - Off White */
  --bg-secondary: #F5F1E8;         /* 暖灰色 - Warm Gray */
  --bg-dark: #1A1A1A;              /* 深色背景 - Dark */
  --bg-overlay: rgba(0, 0, 0, 0.5); /* 半透明遮罩 */
  
  /* Text Colors */
  --text-primary: #2C3E50;         /* 主文字 - Primary Text */
  --text-secondary: #6B7280;       /* 次要文字 - Secondary Text */
  --text-light: #FFFFFF;           /* 浅色文字 - Light Text */
  --text-muted: #9CA3AF;           /* 弱化文字 - Muted Text */
  
  /* Border and Divider */
  --border-color: #E5E7EB;
  --divider-color: #D1D5DB;
  
  /* ========== Typography ========== */
  
  /* Font Families */
  --font-chinese-title: 'Noto Serif SC', 'STSong', 'SimSun', serif;
  --font-chinese-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-english-title: 'Bodoni Moda', 'Cormorant Garamond', 'Georgia', serif;
  --font-english-body: 'Lato', 'Arial', sans-serif;
  
  /* Font Sizes */
  --font-size-h1: 3rem;            /* 48px */
  --font-size-h2: 2.25rem;         /* 36px */
  --font-size-h3: 1.875rem;        /* 30px */
  --font-size-h4: 1.5rem;          /* 24px */
  --font-size-h5: 1.25rem;         /* 20px */
  --font-size-body: 1rem;          /* 16px */
  --font-size-small: 0.875rem;    /* 14px */
  --font-size-tiny: 0.75rem;      /* 12px */
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-loose: 1.8;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* ========== Spacing ========== */
  
  --spacing-xs: 0.5rem;            /* 8px */
  --spacing-sm: 1rem;              /* 16px */
  --spacing-md: 1.5rem;            /* 24px */
  --spacing-lg: 2rem;              /* 32px */
  --spacing-xl: 3rem;              /* 48px */
  --spacing-2xl: 4rem;             /* 64px */
  --spacing-3xl: 6rem;             /* 96px */
  
  /* ========== Layout ========== */
  
  --container-max-width: 1200px;
  --section-padding: var(--spacing-2xl);
  --nav-height: 80px;
  --nav-dot-size: 12px;
  
  /* ========== Transitions ========== */
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-carousel: 0.8s ease;
  
  /* Easing Functions */
  --easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --easing-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  
  /* ========== Shadows ========== */
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* ========== Border Radius ========== */
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* ========== Z-Index ========== */
  
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-fixed: 200;
  --z-modal: 300;
  --z-popover: 400;
  --z-tooltip: 500;
}

/* ========== Responsive Font Sizes ========== */

@media (max-width: 768px) {
  :root {
    --font-size-h1: 2.25rem;       /* 36px */
    --font-size-h2: 1.875rem;      /* 30px */
    --font-size-h3: 1.5rem;        /* 24px */
    --font-size-h4: 1.25rem;       /* 20px */
    --font-size-h5: 1.125rem;      /* 18px */
    --font-size-body: 0.9375rem;   /* 15px */
    
    --section-padding: var(--spacing-lg);
    --nav-height: 60px;
  }
}
