/*
Theme Name: NewsHub Pro
Theme URI: https://example.com/newshub-pro
Author: NewsHub Pro Developer
Author URI: https://example.com
Description: A modern, high-performance block-based WordPress theme designed for editorial sites and news portals. Features dark mode, mega menu, breaking news ticker, advanced customizer options, and full Gutenberg support.
Version: 1.0.10
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newshub-pro
Tags: news, blog, grid-layout, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-site-editing, block-patterns, wide-blocks, rtl-language-support, translation-ready, dark-mode

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
    /* Brand Colors */
    --color-primary: #e63946;
    --color-primary-dark: #c1121f;
    --color-primary-light: #ff6b6b;
    --color-accent: #457b9d;
    --color-accent-dark: #1d3557;
    --color-accent-light: #a8dadc;

    /* Neutral Colors - Light Mode */
    --color-bg: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-tertiary: #e9ecef;
    --color-surface: #ffffff;
    --color-border: #dee2e6;
    --color-border-light: #f0f0f0;

    /* Text Colors */
    --color-text: #212529;
    --color-text-secondary: #6c757d;
    --color-text-muted: #adb5bd;
    --color-text-inverse: #ffffff;
    --color-heading: #1a1a2e;
    --color-link: var(--color-primary);
    --color-link-hover: var(--color-primary-dark);

    /* Typography */
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Courier New', monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 1.875rem;
    --font-size-3xl: 2.25rem;
    --font-size-4xl: 3rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --line-height-tight: 1.2;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;

    /* 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-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
    --sidebar-width: 300px;
    --header-height: 70px;

    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --border-width: 1px;
    --border-width-thick: 2px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);

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

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-overlay: 400;
    --z-modal: 500;
    --z-toast: 600;
}

/* Dark Mode Variables */
[data-theme="dark"],
.dark-mode {
    --color-bg: #0d0d0d;
    --color-bg-secondary: #1a1a1a;
    --color-bg-tertiary: #242424;
    --color-surface: #1e1e1e;
    --color-border: #333333;
    --color-border-light: #2a2a2a;
    --color-text: #e8e8e8;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;
    --color-heading: #f0f0f0;
    --color-link: var(--color-primary-light);
    --color-link-hover: var(--color-primary);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --color-bg: #0d0d0d;
        --color-bg-secondary: #1a1a1a;
        --color-bg-tertiary: #242424;
        --color-surface: #1e1e1e;
        --color-border: #333333;
        --color-border-light: #2a2a2a;
        --color-text: #e8e8e8;
        --color-text-secondary: #a0a0a0;
        --color-text-muted: #666666;
        --color-heading: #f0f0f0;
        --color-link: var(--color-primary-light);
        --color-link-hover: var(--color-primary);
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
        --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.4);
        --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.5);
    }
}
