/*
Theme Name: امدادیار ایران (Emdad Yar Iran)
Theme URI: https://emdadyariran.ir
Author: تیم امدادیار ایران
Author URI: https://emdadyariran.ir
Description: قالب حرفه‌ای چنداسکین برای خدمات امداد خودرو و یدک‌کش. طراحی مدرن، موبایل‌فرست، سئو‌محور و سازگار با Elementor. بدون شورت‌کد.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emdad-yar
Tags: rtl-language-support, custom-menu, featured-images, theme-options, translation-ready, elementor, full-width-template

Emdad Yar Iran Theme v2 - Multi-skin Roadside Assistance
*/

/* ============================================================
   DESIGN TOKENS - Default: Emergency Red & Gold
   ============================================================ */
:root {
  --ey-red: #c41e3a;
  --ey-red-bright: #e11d48;
  --ey-red-deep: #8b0000;
  --ey-gold: #ffcc00;
  --ey-gold-dim: #e6b800;
  --ey-green: #22c55e;
  --ey-bg: #0f0f11;
  --ey-bg-2: #121212;
  --ey-card: #1a1a1f;
  --ey-card-2: #22222a;
  --ey-border: #2d2d35;
  --ey-border-2: #3a3a45;
  --ey-text: #ffffff;
  --ey-muted: #94a3b8;
  --ey-muted-2: #cbd5e1;
  --ey-radius: 10px;
  --ey-radius-sm: 6px;
  --ey-shadow: 0 8px 30px rgba(0,0,0,0.35);
  --ey-font: 'Vazirmatn', Tahoma, system-ui, sans-serif;
  --ey-container: 1140px;
  --ey-header-h: 72px;
}

/* Skin: Heavy Amber */
body.skin-amber {
  --ey-red: #f59e0b;
  --ey-red-bright: #fbbf24;
  --ey-red-deep: #b45309;
  --ey-gold: #f59e0b;
  --ey-bg: #18181b;
  --ey-bg-2: #27272a;
  --ey-card: #27272a;
  --ey-card-2: #3f3f46;
  --ey-border: #3f3f46;
  --ey-border-2: #52525b;
}

/* Skin: Cyber Neon */
body.skin-cyber {
  --ey-red: #00f2fe;
  --ey-red-bright: #22d3ee;
  --ey-red-deep: #0891b2;
  --ey-gold: #a855f7;
  --ey-bg: #030712;
  --ey-bg-2: #0f172a;
  --ey-card: rgba(15,23,42,0.85);
  --ey-card-2: rgba(30,41,59,0.9);
  --ey-border: rgba(0,242,254,0.22);
  --ey-border-2: rgba(0,242,254,0.35);
  --ey-muted: #94a3b8;
  --ey-muted-2: #e2e8f0;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  direction: rtl;
  text-align: right;
  font-family: var(--ey-font);
  background: var(--ey-bg);
  color: var(--ey-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--ey-container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container { padding: 0 24px; }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.25;
  color: var(--ey-text);
}

.section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .section-head { margin-bottom: 48px; }
}

.section-badge {
  display: inline-block;
  background: rgba(196,30,58,0.12);
  color: var(--ey-red-bright);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

body.skin-amber .section-badge {
  background: rgba(245,158,11,0.12);
  color: var(--ey-gold);
}

body.skin-cyber .section-badge {
  background: rgba(0,242,254,0.1);
  color: var(--ey-red);
}

.section-head h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .section-head h2 { font-size: 2rem; }
}

.section-head p {
  color: var(--ey-muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--ey-radius-sm);
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, var(--ey-red-bright), var(--ey-red));
  color: #fff;
  box-shadow: 0 6px 20px rgba(196,30,58,0.35);
}

body.skin-amber .btn-primary {
  background: var(--ey-gold);
  color: #18181b;
  box-shadow: 0 6px 20px rgba(245,158,11,0.3);
}

body.skin-cyber .btn-primary {
  background: var(--ey-red);
  color: #030712;
  box-shadow: 0 0 25px rgba(0,242,254,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(196,30,58,0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ey-border);
  color: var(--ey-text);
}

.btn-outline:hover {
  border-color: var(--ey-gold);
  color: var(--ey-gold);
}

.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 0.82rem; }

.pulse {
  animation: eyPulse 2s ease-in-out infinite;
}

@keyframes eyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196,30,58,0.55); }
  50% { box-shadow: 0 0 0 12px rgba(196,30,58,0); }
}

body.skin-amber .pulse {
  animation-name: eyPulseAmber;
}
@keyframes eyPulseAmber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(245,158,11,0); }
}
