/* =====================================================
   TLI BLOG STYLESHEET
   Shared by /blog/index.html and every article page.
   Design tokens copied directly from index.html so blog
   pages stay visually identical to the homepage.
   ===================================================== */

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

:root {
  --orange: #E8500A;
  --orange-light: #FF6B2B;
  --orange-glow: rgba(232,80,10,0.18);
  --dark: #0D0D0D;
  --dark-2: #161616;
  --dark-3: #1F1F1F;
  --dark-4: #2A2A2A;
  --mid: #444;
  --muted: #888;
  --light: #f5f5f5;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  color: var(--dark);
  background: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-glow);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,80,10,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-lg { padding: 18px 36px; font-size: 18px; }

/* ===== HEADER / NAV (identical to homepage) ===== */
.header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75); transition: color .2s; }
.nav-links a:hover { color: white; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.phone-link { font-size: 15px; font-weight: 700; color: white; display: flex; align-items: center; gap: 6px; }
.phone-link svg { color: var(--orange); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all .3s; }
.mobile-menu { display: none; flex-direction: column; background: var(--dark-2); border-top: 1px solid rgba(255,255,255,0.07); padding: 24px; gap: 20px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.85); font-size: 17px; font-weight: 500; }

/* ===== PAGE HERO (simple dark banner for blog pages) ===== */
.blog-hero {
  background: var(--dark);
  padding: 140px 0 64px;
  text-align: center;
}
.blog-hero .section-label { margin-bottom: 16px; }
.blog-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto;
}
.blog-hero .blog-meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

/* ===== ARTICLE BODY ===== */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 0;
}
.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin: 40px 0 14px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  font-size: 17px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 8px;
}
.article-body a.inline-link {
  color: var(--orange);
  font-weight: 700;
  border-bottom: 1px solid var(--orange-glow);
}
.article-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--dark-2);
  border-radius: var(--radius);
  text-align: center;
}
.article-cta p { color: rgba(255,255,255,0.75); margin-bottom: 20px; font-size: 17px; }

/* ===== BLOG INDEX LISTING ===== */
.blog-list { max-width: 760px; margin: 0 auto; padding: 64px 0; display: flex; flex-direction: column; gap: 24px; }
.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card h2 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.blog-card p { color: var(--muted); font-size: 15px; }
.blog-card .blog-card-date { font-size: 13px; color: var(--orange); font-weight: 700; margin-bottom: 10px; display: block; }

/* ===== FOOTER (identical to homepage) ===== */
.footer { background: var(--dark-2); padding: 48px 0 24px; color: rgba(255,255,255,0.5); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 14px; transition: color .2s; }
.footer-col li a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-socials { display: flex; gap: 12px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.07); display: grid; place-items: center; font-size: 16px; transition: all .2s; }
.social-btn:hover { background: var(--orange); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 28px; left: 28px;
  width: 60px; height: 60px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .blog-hero { padding: 120px 0 48px; }
  .article-body { padding: 40px 0; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
