/*
Theme Name: CyberFolio Matrix
Theme URI: https://example.com/cyberfolio
Author: Your Name
Author URI: https://example.com
Description: A professional WordPress theme for a cyber security portfolio / resume. Modern, minimal, animation-rich, with a live-styled Security Operations (SOC) Dashboard. Full RTL/LTR support and translation-ready. Design inspired by HackerOne, TryHackMe, HackTheBox, Cloudflare, and Stripe.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyberfolio
Tags: portfolio, dark-mode, custom-colors, custom-logo, translation-ready, right-to-left, threaded-comments, blog, one-column, two-columns
*/

/* =====================================================
   DESIGN TOKENS
   Palette:
   --bg:          #05070A  (near-black base)
   --bg-alt:      #0B0F14  (panel background)
   --bg-elevated: #111720  (cards)
   --line:        #1D2530  (hairline borders)
   --neon:        #39FF88  (neon green — primary accent / "safe / online")
   --neon-dim:    #1F8F52
   --cyber-blue:  #2E7CF6  (cyber blue — secondary accent / links / info)
   --cyber-blue-dim:#153E7D
   --danger:      #FF4757  (alerts / threat)
   --warning:     #FFB454  (warnings)
   --white:       #EAF2F1
   --muted:       #8FA3A0
   ===================================================== */

:root {
  --bg: #05070A;
  --bg-alt: #0B0F14;
  --bg-elevated: #111720;
  --line: #1D2530;
  --neon: #39FF88;
  --neon-dim: #1F8F52;
  --cyber-blue: #2E7CF6;
  --cyber-blue-dim: #153E7D;
  --danger: #FF4757;
  --warning: #FFB454;
  --white: #EAF2F1;
  --muted: #8FA3A0;

  --font-display: 'Orbitron', 'Vazirmatn', sans-serif;
  --font-body: 'Space Grotesk', 'Vazirmatn', sans-serif;
  --font-mono: 'JetBrains Mono', 'Vazirmatn', monospace;

  --radius: 4px;
  --transition: 220ms cubic-bezier(.4,0,.2,1);
  --container: 1200px;
}

/* Light mode override (toggled via body.theme-light) */
body.theme-light {
  --bg: #F5F7F8;
  --bg-alt: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --line: #DFE5E7;
  --white: #0B0F14;
  --muted: #55686A;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

body.rtl { direction: rtl; text-align: right; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
  margin: 0 0 .6em;
}

a { color: var(--cyber-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--neon); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--neon); color: #05070A; }

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
