/*
Theme Name: eJournalHub
Theme URI: http://localhost/ejournalhub/
Author: eJournalHub
Author URI: http://localhost/ejournalhub/
Description: A premium multi-category blogging platform — Medium meets TechCrunch. Features dark/light mode, mega menu, hero slider, infinite scroll, SEO optimized, AdSense ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ejournalhub
Tags: blog, news, magazine, custom-menu, featured-images, full-width-template, theme-options, dark-mode
*/

/* CSS Custom Properties */
:root {
  --color-primary: #6C63FF;
  --color-primary-dark: #5a52d5;
  --color-secondary: #FF6584;
  --color-accent: #43C6AC;
  --color-bg: #ffffff;
  --color-bg-secondary: #f8f9fa;
  --color-bg-tertiary: #f1f3f5;
  --color-surface: #ffffff;
  --color-surface-hover: #f8f9fa;
  --color-border: #e9ecef;
  --color-text: #1a1a2e;
  --color-text-secondary: #6c757d;
  --color-text-muted: #adb5bd;
  --color-heading: #0d0d1a;
  --color-link: #6C63FF;
  --color-link-hover: #5a52d5;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark: #0d0d1a;
  --color-card-shadow: 0 2px 20px rgba(0,0,0,0.08);
  --color-card-shadow-hover: 0 8px 40px rgba(0,0,0,0.15);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #43C6AC 100%);
  --gradient-secondary: linear-gradient(135deg, #FF6584 0%, #FF8E53 100%);
  --gradient-hero: linear-gradient(135deg, #0d0d1a 0%, #1a1a3e 50%, #0d0d1a 100%);
  --gradient-overlay: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Merriweather', 'Georgia', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.25;
  --lh-snug: 1.4;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1280px;
  --container-content: 860px;
  --sidebar-width: 320px;
  --header-height: 70px;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --border-width: 1px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Z-index */
  --z-below: -1;
  --z-base: 0;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* Dark mode */
[data-theme="dark"] {
  --color-bg: #0d0d1a;
  --color-bg-secondary: #13131f;
  --color-bg-tertiary: #1a1a2e;
  --color-surface: #13131f;
  --color-surface-hover: #1a1a2e;
  --color-border: #2a2a3e;
  --color-text: #e8e8f0;
  --color-text-secondary: #9999b3;
  --color-text-muted: #666680;
  --color-heading: #f0f0ff;
  --color-link: #8B84FF;
  --color-link-hover: #a09aff;
  --color-card-shadow: 0 2px 20px rgba(0,0,0,0.4);
  --color-card-shadow-hover: 0 8px 40px rgba(0,0,0,0.6);
}
