/* ═══════════════════════════════════════════════════════════
   DARKFIREWORK.COM — Sub-Pages Shared Stylesheet
   Used by: services/*, cities/*, blog/*
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg:         #080808;
  --bg2:        #0e0e0e;
  --bg3:        #141414;
  --bg4:        #1c1c1c;
  --fire:       #ff4500;
  --fire2:      #ff6b00;
  --fire3:      #ff8c00;
  --gold:       #ffd700;
  --gold2:      #ffaa00;
  --text:       #ffffff;
  --text2:      #cccccc;
  --text3:      #888888;
  --border:     #202020;
  --border2:    #303030;
  --radius:     12px;
  --radius-lg:  20px;
  --t:          all 0.3s ease;
  --shadow:     0 8px 32px rgba(0,0,0,0.6);
  --glow-fire:  0 0 24px rgba(255,69,0,0.35);
  --glow-gold:  0 0 24px rgba(255,215,0,0.3);
  --font-ar:    'Tajawal', sans-serif;
  --font-en:    'Rajdhani', 'Tajawal', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  direction: rtl;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--fire); border-radius: 3px; }

/* ── Selection ── */
::selection { background: rgba(255,69,0,0.3); color: #fff; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Brand Logo ── */
.logo-dark { color: var(--text); font-weight: 700; letter-spacing: 1px; }
.logo-fire {
  background: linear-gradient(90deg, var(--fire), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text2);
  transition: var(--t);
}
.nav-links a:hover { color: var(--fire); }
.nav-links a.active { color: var(--fire); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--t);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu li a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text2);
}
.mobile-menu li a:hover { color: var(--fire); }

/* ══════════════════════════════════════════
   PAGE HERO (sub-pages)
══════════════════════════════════════════ */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #0e0505 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,69,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text3);
  flex-wrap: wrap;
}
.page-breadcrumb a { color: var(--text3); transition: var(--t); }
.page-breadcrumb a:hover { color: var(--fire); }
.page-breadcrumb .sep { color: var(--border2); }
.page-breadcrumb .current { color: var(--fire); }
.page-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,69,0,0.12);
  color: var(--fire);
  border: 1px solid rgba(255,69,0,0.25);
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 40%, var(--fire3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p.lead {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.9;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--t);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}
.btn-fire {
  background: linear-gradient(135deg, var(--fire), var(--fire2));
  color: #fff;
  box-shadow: var(--glow-fire);
}
.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255,69,0,0.5);
}
.btn-glass {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(37,211,102,0.4); }

/* ══════════════════════════════════════════
   CONTENT SECTIONS
══════════════════════════════════════════ */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg2);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,69,0,0.12);
  color: var(--fire);
  border: 1px solid rgba(255,69,0,0.25);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text3);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ══════════════════════════════════════════
   ARTICLE CONTENT (Blog)
══════════════════════════════════════════ */
.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.article-body h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin: 48px 0 16px;
  color: var(--text);
  position: relative;
  padding-right: 20px;
}
.article-body h2::before {
  content: '';
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: linear-gradient(180deg, var(--fire), var(--gold));
  border-radius: 4px;
}
.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--fire3);
}
.article-body p {
  color: var(--text2);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.95;
}
.article-body ul, .article-body ol {
  padding-right: 24px;
  margin-bottom: 20px;
}
.article-body ul { list-style: none; }
.article-body ul li {
  position: relative;
  padding-right: 20px;
  color: var(--text2);
  margin-bottom: 10px;
  font-size: 1.02rem;
}
.article-body ul li::before {
  content: '✦';
  position: absolute;
  right: 0;
  color: var(--fire);
  font-size: 0.7rem;
  top: 5px;
}
.article-body ol { list-style: decimal; }
.article-body ol li {
  color: var(--text2);
  margin-bottom: 10px;
  font-size: 1.02rem;
}
.article-callout {
  background: linear-gradient(135deg, rgba(255,69,0,0.08), rgba(255,140,0,0.05));
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}
.article-callout p { margin-bottom: 0; color: var(--text); font-weight: 500; }

/* ══════════════════════════════════════════
   FEATURES GRID
══════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--t);
}
.feature-card:hover {
  border-color: rgba(255,69,0,0.3);
  transform: translateY(-4px);
  box-shadow: var(--glow-fire);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,69,0,0.1);
  border: 1px solid rgba(255,69,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--fire);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text3);
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 48px 0;
}
.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.stat-item:last-child { border-left: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--fire), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text3);
  margin-top: 4px;
}

/* ══════════════════════════════════════════
   FAQ (Sub-pages)
══════════════════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg3);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  gap: 16px;
  cursor: pointer;
  transition: var(--t);
  background: none;
  border: none;
  font-family: inherit;
}
.faq-q:hover { color: var(--fire); }
.faq-q i { color: var(--fire); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p {
  padding: 0 24px 20px;
  color: var(--text2);
  font-size: 0.97rem;
  line-height: 1.85;
}

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, rgba(255,69,0,0.1), rgba(255,140,0,0.05));
  border: 1px solid rgba(255,69,0,0.15);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  margin: 64px 0;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text2);
  margin-bottom: 32px;
  font-size: 1.05rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text3);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 0.9rem;
  transition: var(--t);
}
.footer-social a:hover {
  border-color: var(--fire);
  color: var(--fire);
  background: rgba(255,69,0,0.1);
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text3);
  transition: var(--t);
}
.footer-col ul li a:hover { color: var(--fire); }
.footer-col p {
  font-size: 0.88rem;
  color: var(--text3);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col p i { color: var(--fire); }
.footer-col p a { color: var(--text3); transition: var(--t); }
.footer-col p a:hover { color: var(--fire); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text3);
}
.footer-tagline { color: var(--fire3); font-weight: 500; }

/* ══════════════════════════════════════════
   FLOATING ELEMENTS
══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: var(--t);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 120px 0 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-left: none; border-bottom: 1px solid var(--border); }
  .cta-section { padding: 40px 24px; }
  .article-body { padding: 40px 16px 60px; }
}
