/*
Theme Name: Smartwork Corporate
Theme URI: https://smartworkedutainment.co.th
Author: Smartwork Edutainment Co., Ltd.
Author URI: https://smartworkedutainment.co.th
Description: Corporate Enterprise WordPress Theme สำหรับบริษัท สมาร์ทเวิร์ค เอดูเทนเมนท์ จำกัด รองรับ Elementor เต็มรูปแบบ ออกแบบตามแนวทาง Information Architecture และ Editorial Layout ระดับองค์กรขนาดใหญ่ (Corporate / Premium / Modern / Trustworthy / Education & Entertainment / Media / Technology)
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 8.0
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smartwork-corporate
Domain Path: /languages
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, accessibility-ready, block-styles

Smartwork Corporate Theme. This is an original theme built for Smartwork Edutainment Co., Ltd.
It does not copy any logo, imagery, typography, content, or brand identity from any government
website. Only the general information-architecture / editorial-layout concepts (navigation depth,
content presentation patterns) were used as inspiration, reinterpreted with the company's own
brand system defined below.
*/

/* =========================================================
   GLOBAL DESIGN TOKENS
   These are the *default* values only. The actual source of truth
   for colors/typography that editors change is the WordPress
   Customizer (see inc/customizer.php), which writes these same
   variables inline in wp_head via smartwork_dynamic_css_vars().
   Elementor Global Colors/Fonts are synced to the same values on
   theme activation (see inc/elementor-compat.php).
   ========================================================= */
:root{
  /* Brand colors */
  --sw-color-primary:      #0B1F3A; /* Navy Blue */
  --sw-color-secondary:    #123E73; /* Royal Blue */
  --sw-color-accent:       #C8A951; /* Gold */
  --sw-color-accent-silver:#B9C2CC; /* Silver, limited use */
  --sw-color-light:        #F5F8FC; /* Light Blue / bg */
  --sw-color-dark:         #07111F; /* Dark Navy - header/footer */
  --sw-color-white:        #FFFFFF;
  --sw-color-text:         #1B2430;
  --sw-color-text-muted:   #5B6B7C;
  --sw-color-border:       #E1E8F0;
  --sw-color-success:      #1E7F4C;
  --sw-color-danger:       #B3261E;

  /* Typography */
  --sw-font-body: "Noto Sans Thai", "IBM Plex Sans Thai", "Prompt", sans-serif;
  --sw-font-heading: "Prompt", "Noto Sans Thai", sans-serif;
  --sw-font-size-base: 16px;
  --sw-line-height-base: 1.7;

  /* Layout */
  --sw-container-max: 1280px;
  --sw-radius-sm: 4px;
  --sw-radius-md: 10px;
  --sw-radius-lg: 20px;
  --sw-header-height: 96px;
  --sw-header-height-compact: 64px;
  --sw-transition: 220ms ease;
  --sw-shadow-sm: 0 2px 10px rgba(7,17,31,0.06);
  --sw-shadow-md: 0 8px 30px rgba(7,17,31,0.10);
  --sw-shadow-lg: 0 20px 60px rgba(7,17,31,0.16);
}

/* Reduced motion support (Accessibility - Section 33) */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode toggle (Accessibility - Section 33) */
body.sw-high-contrast{
  --sw-color-primary: #000000;
  --sw-color-secondary: #000000;
  --sw-color-text: #000000;
  --sw-color-light: #FFFFFF;
  --sw-color-border: #000000;
}
