/*
Theme Name: MyCeleb Reporter
Theme URI: https://mycelebreporter.com
Author: MyCeleb Reporter Team
Author URI: https://mycelebreporter.com
Description: A modern, editorial-style celebrity news magazine theme with a fixed sidebar navigation, multi-column content grid, featured hero articles, and card-based layouts. Built with accessibility, performance, and mobile-first responsiveness in mind.
Version: 1.2.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: mycelebreporter
Tags: news, magazine, celebrity, blog, custom-menu, featured-images, responsive-layout, translation-ready
*/

/* ============================================================
   DESIGN TOKENS — UI/UX Pro Max Design System
   Celebrity News / Editorial Magazine
   Style: Clean Magazine + Editorial
   Palette: Indigo-Charcoal-White with Coral accent
   Typography: Playfair Display (headings) + Inter (body)
   ============================================================ */

:root {
  /* --- Color Tokens --- */
  --color-primary:        #4F46E5;   /* Indigo — brand, links, active states */
  --color-primary-dark:   #3730A3;
  --color-primary-light:  #ADB8A0;
  --color-accent:         #F97316;   /* Coral — breaking news, highlights */
  --color-accent-dark:    #EA580C;

  --color-sidebar-bg:     #1E1E2E;   /* Deep charcoal sidebar */
  --color-sidebar-icon:   #A0A0B8;
  --color-sidebar-active: #4F46E5;

  --color-surface:        #FFFFFF;
  --color-surface-2:      #F8F8FC;   /* Slightly off-white content bg */
  --color-surface-3:      #F1F0F9;   /* Card hover */
  --color-border:         #E8E7F3;
  --color-border-strong:  #C7C6DB;

  --color-text-primary:   #1A1A2E;   /* Near-black, high contrast */
  --color-text-secondary: #6B6B8A;
  --color-text-muted:     #9999B3;
  --color-text-inverse:   #FFFFFF;

  --color-error:          #EF4444;
  --color-success:        #22C55E;
  --color-warning:        #F59E0B;

  /* Category label colors */
  --color-cat-travel:     #4F46E5;
  --color-cat-fashion:    #EC4899;
  --color-cat-food:       #F97316;
  --color-cat-sports:     #22C55E;
  --color-cat-art:        #8B5CF6;
  --color-cat-book:       #0EA5E9;

  /* --- Typography Scale --- */
  --font-heading:         'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:            'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px — minimum for mobile */
  --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 */

  --leading-tight:   1.25;
  --leading-snug:    1.375;
  --leading-normal:  1.5;
  --leading-relaxed: 1.625;
  --leading-loose:   1.75;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-black:   900;

  /* --- Spacing (4pt/8dp system) --- */
  --space-1:   0.25rem;   /* 4px */
  --space-2:   0.5rem;    /* 8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */

  /* --- Layout --- */
  --sidebar-width:       72px;
  --sidebar-width-expanded: 240px;
  --content-max-width:   1400px;
  --article-max-width:   720px;

  /* --- Border Radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* --- Elevation (shadow scale) --- */
  --shadow-sm:  0 1px 3px rgba(79,70,229,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(79,70,229,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 24px rgba(79,70,229,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 40px rgba(79,70,229,0.16), 0 8px 16px rgba(0,0,0,0.08);

  /* --- Z-index scale --- */
  --z-base:     0;
  --z-card:     10;
  --z-sidebar:  40;
  --z-header:   50;
  --z-modal:    100;
  --z-toast:    200;

  /* --- Transitions --- */
  --transition-fast:   150ms ease-out;
  --transition-base:   250ms ease-out;
  --transition-slow:   350ms ease-out;
}
