/*
Theme Name:        ImageQuickly
Theme URI:         https://www.imagequickly.com/
Author:            ImageQuickly Team
Author URI:        https://www.imagequickly.com/
Description:       Premium enterprise WordPress theme for image-conversion SaaS. Multilingual (26 languages), RTL-ready, WooCommerce-ready, with a global theme options panel, modular components and a CSS-variable-powered design system.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      7.4
License:           GPL v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       imagequickly
Domain Path:       /languages
Tags:              translation-ready, rtl-language-support, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, threaded-comments, e-commerce
*/

/* ============================================================
   IMAGEQUICKLY — GLOBAL DESIGN SYSTEM
   All site-wide colors, spacing, fonts and tokens live here.
   Site owners can override every variable from Appearance →
   Customize → Global Settings (no code editing required).
   ============================================================ */

:root {
  /* Brand colors (overridable in Customizer) */
  --iq-brand:        #E5322D;
  --iq-brand-dark:   #C42620;
  --iq-brand-soft:   #FFE9E7;
  --iq-accent:       #3B82F6;

  /* Neutral palette */
  --iq-ink:          #1B1B1F;
  --iq-ink-soft:     #4A4A55;
  --iq-muted:        #8A8A95;
  --iq-line:         #ECECEF;
  --iq-bg:           #FFFFFF;
  --iq-bg-soft:      #F7F8FA;

  /* Semantic */
  --iq-success:      #22C55E;
  --iq-warning:      #F59E0B;
  --iq-danger:       #EF4444;

  /* Typography (overridable in Customizer) */
  --iq-font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --iq-font-body:    'Manrope', system-ui, sans-serif;
  --iq-font-arabic:  'Noto Sans Arabic', 'Manrope', sans-serif;

  /* Radii / shadows */
  --iq-radius-sm:    8px;
  --iq-radius:       12px;
  --iq-radius-lg:    20px;
  --iq-shadow-sm:    0 1px 2px rgba(20,20,30,.04), 0 2px 6px rgba(20,20,30,.04);
  --iq-shadow:       0 6px 24px rgba(20,20,30,.06), 0 2px 8px rgba(20,20,30,.04);
  --iq-shadow-lg:    0 24px 60px rgba(20,20,30,.10), 0 8px 24px rgba(20,20,30,.06);

  /* Spacing scale */
  --iq-space-1:      4px;
  --iq-space-2:      8px;
  --iq-space-3:      12px;
  --iq-space-4:      16px;
  --iq-space-6:      24px;
  --iq-space-8:      32px;
  --iq-space-12:     48px;
  --iq-space-16:     64px;

  /* Container */
  --iq-container:    1200px;
}

/* Dark mode (toggleable from Customizer) */
[data-theme="dark"] {
  --iq-ink:          #F4F4F7;
  --iq-ink-soft:     #C8C8D0;
  --iq-muted:        #8A8A95;
  --iq-line:         #2A2A30;
  --iq-bg:           #0F0F12;
  --iq-bg-soft:      #1A1A1F;
}

/* RTL adjustments */
html[dir="rtl"] {
  --iq-font-display: var(--iq-font-arabic);
  --iq-font-body:    var(--iq-font-arabic);
}

/* WordPress required base styles — main stylesheet lives in assets/css/main.css */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.alignleft  { float: left;  margin-right: var(--iq-space-4); }
.alignright { float: right; margin-left:  var(--iq-space-4); }
.aligncenter{ display: block; margin: 0 auto; }
.wp-caption  { max-width: 100%; }
.gallery-caption, .bypostauthor, .sticky { /* WP required hooks */ }
