/*
Theme Name: Eduval
Theme URI: https://eduval.org
Author: Eduval
Author URI: https://eduval.org
Description: A modern, production-ready custom WordPress theme for the Eduval educational platform — built for Egyptian university students. Compatible with Tutor LMS, WooCommerce, and Elementor. Full RTL/LTR support, dark/light mode, and a dynamic 3-level course hierarchy (University → Term → Subject → Lecture).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: eduval
Tags: education, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, rtl-language-support, threaded-comments, translation-ready, two-columns, right-sidebar
*/

/* =========================================================================
   EDUVAL ROOT CSS VARIABLES
   Every color in the theme derives from these variables.
   Change the brand here and it cascades everywhere.
   ========================================================================= */

:root {
    /* --- Brand colors (extracted from the Eduval logo) --- */
    --eduval-primary:        #1a2b5c; /* deep navy */
    --eduval-primary-rgb:    26, 43, 92;
    --eduval-secondary:      #1ca8cb; /* cyan / teal */
    --eduval-secondary-rgb:  28, 168, 203;
    --eduval-accent:         #2ec4e6; /* complementary brighter cyan */
    --eduval-accent-rgb:     46, 196, 230;

    --eduval-dark:           #0d1117;
    --eduval-light:          #f5f7fa;

    /* --- Semantic tokens (light mode defaults) --- */
    --eduval-bg:             var(--eduval-light);
    --eduval-bg-alt:         #ffffff;
    --eduval-surface:        #ffffff;
    --eduval-surface-2:      #eef2f7;
    --eduval-text:           #1b2230;
    --eduval-text-muted:     #5b6678;
    --eduval-border:         #dfe5ee;
    --eduval-heading:        var(--eduval-primary);
    --eduval-link:           var(--eduval-secondary);
    --eduval-link-hover:     var(--eduval-primary);

    --eduval-success:        #1f9d57;
    --eduval-danger:         #d23c3c;
    --eduval-warning:        #e0a800;

    /* --- Layout & UI --- */
    --eduval-radius:         14px;
    --eduval-radius-sm:      8px;
    --eduval-radius-pill:    999px;
    --eduval-shadow:         0 6px 24px rgba(var(--eduval-primary-rgb), 0.08);
    --eduval-shadow-lift:    0 14px 38px rgba(var(--eduval-primary-rgb), 0.18);
    --eduval-maxwidth:       1320px;
    --eduval-gutter:         clamp(16px, 4vw, 48px);

    --eduval-transition:     200ms ease;
    --eduval-transition-slow: 300ms ease;

    --eduval-font:           'Cairo', 'Tajawal', system-ui, -apple-system,
                             'Segoe UI', Roboto, 'Helvetica Neue', Arial,
                             'Noto Sans Arabic', sans-serif;
}

/* Dark-mode variable overrides live in assets/css/dark-mode.css */
