/* ============================================================
   CENTRALIZED THEME VARIABLES — JS-TechSoft
   Change any variable here to update the ENTIRE site theme.
   ============================================================ */

:root {
  /* ---- Brand Colors ---- */
  --primary-color: #1a3a5c;        /* Deep Navy — trust, professionalism */
  --primary-light: #2563a8;        /* Lighter navy for hover states */
  --primary-dark: #0f243b;         /* Darker navy for depth */
  --secondary-color: #e8a21a;      /* Gold/Amber — energy, achievement */
  --secondary-light: #f4b942;
  --secondary-dark: #c9880f;
  --accent-color: #00b5d8;         /* Cyan — tech, innovation */
  --accent-light: #38c9e8;
  --accent-dark: #0091ad;

  /* ---- Background Palette ---- */
  --background-color: #f4f6f9;     /* Page background */
  --section-bg: #ffffff;           /* Default section background */
  --section-bg-alt: #f0f4f8;       /* Alternating section background */
  --section-bg-dark: #0e1e2e;      /* Dark section background */
  --section-bg-gradient: linear-gradient(135deg, #1a3a5c 0%, #0e2a45 60%, #0a1f34 100%);

  /* ---- Text Colors ---- */
  --text-color: #3d4f61;
  --text-muted: #7a8fa6;
  --text-light: #afc0d0;
  --heading-color: #1a3a5c;
  --heading-dark: #0f243b;
  --text-on-dark: #e8edf2;
  --text-on-primary: #ffffff;
  --link-color: #2563a8;
  --link-hover: #e8a21a;

  /* ---- Card System ---- */
  --card-background: #ffffff;
  --card-background-hover: #f8fafd;
  --card-border: #dde4ed;
  --card-shadow: 0 4px 20px rgba(26, 58, 92, 0.08);
  --card-shadow-hover: 0 12px 40px rgba(26, 58, 92, 0.16);

  /* ---- Border & Radius ---- */
  --border-radius-sm: 6px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;
  --border-radius-pill: 999px;
  --border-color: #dde4ed;

  /* ---- Box Shadows ---- */
  --box-shadow: 0 4px 20px rgba(26, 58, 92, 0.08);
  --box-shadow-md: 0 8px 30px rgba(26, 58, 92, 0.12);
  --box-shadow-lg: 0 16px 50px rgba(26, 58, 92, 0.18);
  --box-shadow-inset: inset 0 2px 6px rgba(0, 0, 0, 0.06);

  /* ---- Spacing ---- */
  --section-padding: 90px 0;
  --section-padding-sm: 60px 0;
  --container-width: 1200px;
  --container-padding: 0 20px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 32px;
  --gap-xl: 48px;

  /* ---- Buttons ---- */
  --button-radius: 8px;
  --button-radius-pill: 999px;
  --button-padding: 12px 28px;
  --button-padding-sm: 8px 18px;
  --button-padding-lg: 16px 40px;
  --button-font-size: 0.95rem;
  --button-font-weight: 600;
  --button-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- Navigation ---- */
  --navbar-height: 72px;
  --navbar-bg: #0f243b;
  --navbar-bg-scrolled: rgba(15, 36, 59, 0.97);
  --navbar-text: #cdd8e3;
  --navbar-text-hover: #e8a21a;
  --navbar-border: rgba(255, 255, 255, 0.08);
  --dropdown-bg: #ffffff;
  --dropdown-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);

  /* ---- Forms ---- */
  --input-bg: #ffffff;
  --input-border: #ccd5df;
  --input-border-focus: #2563a8;
  --input-shadow-focus: 0 0 0 3px rgba(37, 99, 168, 0.15);
  --input-radius: 8px;
  --input-padding: 12px 16px;
  --label-color: #1a3a5c;

  /* ---- Tags & Badges ---- */
  --badge-bg: #e8f0f9;
  --badge-color: #1a3a5c;
  --badge-border: #c0d1e8;
  --tag-beginner: #d1fae5;
  --tag-beginner-text: #065f46;
  --tag-intermediate: #fef3c7;
  --tag-intermediate-text: #92400e;
  --tag-advanced: #fee2e2;
  --tag-advanced-text: #991b1b;

  /* ---- Footer ---- */
  --footer-bg: #081629;
  --footer-text: #8da3b8;
  --footer-heading: #e8edf2;
  --footer-link: #8da3b8;
  --footer-link-hover: #e8a21a;
  --footer-border: rgba(255, 255, 255, 0.07);

  /* ---- Hero ---- */
  --hero-bg: linear-gradient(135deg, #0a1929 0%, #1a3a5c 40%, #0e2d4a 100%);
  --hero-text: #ffffff;
  --hero-overlay: rgba(10, 25, 41, 0.55);

  /* ---- Transitions ---- */
  --transition-fast: 0.18s ease;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- Typography ---- */
  --font-primary: 'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --line-height-tight: 1.2;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  /* ---- Z-Indices ---- */
  --z-navbar: 1000;
  --z-dropdown: 1010;
  --z-modal: 2000;
  --z-toast: 3000;

  /* ---- Gradients (for decorative use) ---- */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-gold: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-dark: linear-gradient(180deg, #0a1929, #1a3a5c);
}

/* ---- Dark Section Overrides ---- */
.dark-section {
  --heading-color: #ffffff;
  --text-color: #c5d4e0;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-background: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
}
