/* PyLadies Seoul CSS Variables */

:root {
  /* Light Theme Colors */
  --pyladies-primary: #ff6b9d;
  --pyladies-secondary: #4ecdc4;
  --pyladies-accent: #ffe66d;
  --pyladies-dark: #2d3436;
  --pyladies-light: #f8f9fa;
  --pyladies-success: #00b894;
  --pyladies-info: #74b9ff;
  --pyladies-warning: #fdcb6e;
  --pyladies-danger: #e84393;
  
  /* Background Colors */
  --bg-primary: #fcd5ce;
  --bg-component: rgba(252, 213, 206, 0.8);
  --bg-component-light: rgba(252, 213, 206, 0.7);
  
  /* Brand Colors */
  --brand-red: rgba(220, 20, 60, 1);
  --brand-red-dark: rgba(220, 20, 60, 0.6);
  --brand-red-light: rgba(220, 20, 60, 0.4);
  --brand-red-dim: rgba(150, 15, 45, 1);
  
  /* Text Colors - Unified Theme System */
  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --text-tertiary: #74b9ff;
  --text-inverse: #ffffff;
  --text-light: #f8f9fa;
  
  /* Navigation Text Colors */
  --nav-text: var(--text-primary);
  --nav-text-hover: var(--text-primary);
  --nav-text-active: var(--text-primary);
  
  /* Legacy support */
  --color-text-primary: var(--text-primary);
  --color-text-secondary: var(--text-secondary);
  --color-text-tertiary: var(--text-tertiary);
  --color-text-white: var(--text-inverse);
  --color-text-light: var(--text-light);
  
  /* Icon Colors - Global Management */
  --icon-color-primary: #000000;
  --social-icon-color: var(--icon-color-primary);
  
  /* Component Colors */
  --white-overlay-70: rgba(255, 255, 255, 0.7);
  --white-overlay-80: rgba(255, 255, 255, 0.8);
  --white-overlay-95: rgba(255, 255, 255, 0.95);
  --brand-overlay-10: rgba(255, 107, 157, 0.1);
  --brand-overlay-15: rgba(248, 76, 76, 0.15);
  --brand-overlay-20: rgba(255, 107, 157, 0.2);

  /* Border Colors */
  --border-color-light: rgba(0, 0, 0, 0.08);
  --border-color-medium: rgba(0, 0, 0, 0.15);

  /* Secondary Background */
  --bg-secondary: #f0f0f0;
  
  /* Transition */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
  --highlighter-active: rgba(220, 20, 60, 0.8);
  --highlighter-hover: rgba(220, 20, 60, 0.8);
  --highlighter-fade-mid: rgba(220, 20, 60, 0.4);
  --highlighter-fade-light: rgba(220, 20, 60, 0.2);
  --highlighter-fade-end: rgba(220, 20, 60, 0);
  --highlighter-shadow: rgba(220, 20, 60, 0.3);
  
  /* Font Variables */
  --font-primary: 'Agbalumo', 'YEONGJUPunggiGinseng', 'Noto Sans KR', cursive, sans-serif;
  --font-korean: 'YEONGJUPunggiGinseng', 'Noto Sans KR', sans-serif;
  --font-english: 'Agbalumo', cursive, sans-serif;
  --font-display: 'Agbalumo', 'YEONGJUPunggiGinseng', 'Noto Sans KR', cursive, sans-serif;
  --font-body-article: 'Agbalumo', 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif;
  
  /* Font Size Variables */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-hero-icon: 8rem;  /* Hero icon size */
  
  /* Line Height Variables */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing Variables */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 0.75rem;
  --spacing-base: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* Border Radius Variables */
  --border-radius-sm: 0.25rem;
  --border-radius-base: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  --border-radius-full: 50%;
  
  /* Shadow Variables */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-3xl: 0 35px 60px rgba(0, 0, 0, 0.3);
}

/* Dark Theme */
[data-theme="dark"] {
  /* Dark Theme Colors */
  --pyladies-primary: #ff6b9d;
  --pyladies-secondary: #4ecdc4;
  --pyladies-accent: #ffe66d;
  --pyladies-dark: #f8f9fa;
  --pyladies-light: #2d3436;
  --pyladies-success: #00d9a7;
  --pyladies-info: #74b9ff;
  --pyladies-warning: #fdcb6e;
  --pyladies-danger: #e84393;
  
  /* Dark Font Sizes */
  --font-size-hero-icon: 8rem;  /* Hero icon size */
  
  /* Dark Background Colors */
  --bg-primary: #2a2b2d;
  --bg-component: rgba(42, 43, 45, 0.8);
  --bg-component-light: rgba(42, 43, 45, 0.7);
  
  /* Dark Brand Colors */
  --brand-red: rgba(220, 20, 60, 1);
  --brand-red-dark: rgba(220, 20, 60, 0.6);
  --brand-red-light: rgba(220, 20, 60, 0.4);
  --brand-red-dim: rgba(150, 15, 45, 1);
  
  /* Dark Text Colors - Unified Theme System */
  --text-primary: #f8f9fa;
  --text-secondary: #ddd6fe;
  --text-tertiary: #a5b4fc;
  --text-inverse: #2d3436;
  --text-light: #f8f9fa;
  
  /* Dark Navigation Text Colors */
  --nav-text: var(--text-primary);
  --nav-text-hover: var(--text-primary);
  --nav-text-active: var(--text-primary);
  
  /* Legacy support */
  --color-text-primary: var(--text-primary);
  --color-text-secondary: var(--text-secondary);
  --color-text-tertiary: var(--text-tertiary);
  --color-text-white: #ffffff;
  --color-text-light: var(--text-light);
  
  /* Dark Icon Colors - Global Management */
  --icon-color-primary: #ffffff;
  --social-icon-color: var(--icon-color-primary);
  
  /* Dark Component Colors */
  --white-overlay-70: rgba(42, 43, 45, 0.7);
  --white-overlay-80: rgba(42, 43, 45, 0.8);
  --white-overlay-95: rgba(42, 43, 45, 0.95);
  --brand-overlay-10: rgba(255, 107, 157, 0.1);
  --brand-overlay-15: rgba(248, 76, 76, 0.15);
  --brand-overlay-20: rgba(255, 107, 157, 0.2);

  /* Dark Border Colors */
  --border-color-light: rgba(255, 255, 255, 0.08);
  --border-color-medium: rgba(255, 255, 255, 0.15);

  /* Dark Secondary Background */
  --bg-secondary: #3a3b3d;
  
  /* Dark Highlighter Colors */
  --highlighter-active: rgba(220, 20, 60, 0.8);
  --highlighter-hover: rgba(220, 20, 60, 0.8);
  --highlighter-fade-mid: rgba(220, 20, 60, 0.4);
  --highlighter-fade-light: rgba(220, 20, 60, 0.2);
  --highlighter-fade-end: rgba(220, 20, 60, 0);
  --highlighter-shadow: rgba(220, 20, 60, 0.3);
}

/* ================================
   GLOBAL THEME UTILITY CLASSES
   ================================ */

/* Text Color Utilities */
.text-theme-primary {
  color: var(--text-primary) !important;
}

.text-theme-secondary {
  color: var(--text-secondary) !important;
}

.text-theme-tertiary {
  color: var(--text-tertiary) !important;
}

/* Navigation Theme Classes */
.nav-theme-text {
  color: var(--nav-text) !important;
}

.nav-theme-text:hover {
  color: var(--nav-text-hover) !important;
}

.nav-theme-text.active {
  color: var(--nav-text-active) !important;
}

/* Universal Theme Text - applies to all states */
.theme-adaptive-text,
.theme-adaptive-text:hover,
.theme-adaptive-text:focus,
.theme-adaptive-text:active,
.theme-adaptive-text.active {
  color: var(--text-primary) !important;
}

/* Language Selector Theme */
.lang-theme-text,
.lang-theme-text:hover,
.lang-theme-text:focus,
.lang-theme-text:active,
.lang-theme-text.active {
  color: var(--text-primary) !important;
}
