/*
Theme Name: Enta Gadha
Theme URI: https://entagadha.com
Author: Enta Gadha
Author URI: https://www.instagram.com/entagadha
Description: قالب ووردبريس أصلي لوكالة "انت قدها" للتسويق الرقمي. تصميم عربي (RTL) نظيف واحترافي، متجاوب بالكامل، ومحسّن لمحركات البحث، بدون أي اعتماديات خارجية.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enta-gadha
Tags: rtl-language-support, custom-menu, translation-ready, one-column
*/

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

:root {
  --color-primary: #1c1f24;
  --color-dark: #101214;
  --color-heading: #111827;
  --color-body: #6b7280;
  --color-muted: #9ca3af;
  --color-light: #f4f4f5;
  --color-light-2: #eaeaec;
  --color-border: rgba(17,24,39,0.08);
  --font-base: Tahoma, "Segoe UI", "Arial", sans-serif;
}

html { direction: rtl; }

body {
  font-family: var(--font-base);
  background: #ffffff;
  color: var(--color-heading);
  direction: rtl;
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 { font-weight: 900; color: var(--color-heading); margin: 0 0 16px; letter-spacing: -0.5px; }
h1 { font-size: 52px; line-height: 1.25; }
h2 { font-size: 38px; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p { color: var(--color-body); margin: 0 0 16px; }

.eyebrow { color: var(--color-primary); font-weight: 800; font-size: 14px; letter-spacing: 0.3px; margin-bottom: 12px; display: block; }
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.text-center { text-align: center; }
.section-intro { max-width: 640px; margin: 0 auto 56px; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: 14px; font-weight: 700; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; font-family: var(--font-base); }
.btn-primary { background: var(--color-primary); color: #ffffff; }
.btn-outline { background: transparent; color: var(--color-heading); border-color: rgba(17,24,39,0.15); }
.btn-outline-light { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.4); }
.btn-white { background: #ffffff; color: var(--color-primary); }
.btn-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.9); border-bottom: 1px solid var(--color-border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand span { font-size: 22px; font-weight: 900; color: var(--color-heading); }
.brand strong { color: var(--color-primary); }
.primary-nav ul { display: flex; align-items: center; gap: 32px; }
.primary-nav a { color: #374151; font-weight: 600; font-size: 15px; }
.header-cta { background: var(--color-primary); color: #ffffff; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; }

.hero { background: var(--color-light); padding: 96px 0 80px; text-align: center; }
.hero p.lead { font-size: 18px; max-width: 640px; margin: 0 auto 32px; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .stat-num { font-size: 28px; font-weight: 900; color: var(--color-heading); }
.hero-stats .stat-label { font-size: 14px; color: var(--color-muted); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #ffffff; border: 1px solid var(--color-border); border-radius: 20px; padding: 32px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; margin: 0; }
.card-flat { background: #ffffff; border-radius: 20px; padding: 30px; }

.process-step .step-num { width: 54px; height: 54px; border-radius: 16px; background: var(--color-primary); color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; margin-bottom: 20px; }

.section-dark { background: var(--color-heading); color: #ffffff; }
.section-dark h2 { color: #ffffff; }
.stat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 40px; text-align: center; }
.stat-card .num { font-size: 44px; font-weight: 900; color: #ffffff; margin-bottom: 10px; }
.stat-card .label { font-size: 15px; color: #9ca3af; }

.mockup-box { background: var(--color-light); border-radius: 24px; height: 320px; display: flex; align-items: center; justify-content: center; }
.mockup-box span { color: var(--color-muted); font-size: 13px; font-family: monospace; }

/* Keyword-ranking bars (SEO) */
.mockup-seo { background: #ffffff; border: 1px solid var(--color-border); border-radius: 24px; padding: 36px; height: 320px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.mockup-seo .row { display: flex; align-items: center; gap: 14px; }
.mockup-seo .kw { width: 110px; font-size: 14px; color: #374151; font-weight: 700; flex-shrink: 0; }
.mockup-seo .bar { flex: 1; height: 8px; background: var(--color-light); border-radius: 4px; overflow: hidden; }
.mockup-seo .bar span { display: block; height: 100%; background: var(--color-primary); border-radius: 4px; }
.mockup-seo .rank { font-size: 12px; color: var(--color-muted); font-weight: 800; }

/* Bar chart + stat chips (Ads performance) */
.mockup-chart { background: #ffffff; border: 1px solid var(--color-border); border-radius: 24px; padding: 32px; height: 320px; display: flex; flex-direction: column; gap: 20px; }
.mockup-chart .bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; }
.mockup-chart .bars i { flex: 1; background: var(--color-light-2); border-radius: 6px 6px 0 0; font-style: normal; }
.mockup-chart .bars i.hi { background: var(--color-primary); }
.mockup-chart .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mockup-chart .chip { background: var(--color-light); border-radius: 12px; padding: 14px; }
.mockup-chart .chip .k { font-size: 12px; color: var(--color-body); margin-bottom: 6px; }
.mockup-chart .chip .v { font-size: 20px; font-weight: 800; color: var(--color-primary); }

/* Browser window wireframe (WordPress site) */
.mockup-browser { background: #ffffff; border: 1px solid var(--color-border); border-radius: 24px; overflow: hidden; height: 320px; }
.mockup-browser .bar { background: var(--color-light); padding: 14px 18px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--color-border); }
.mockup-browser .bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; font-style: normal; }
.mockup-browser .bar i.r { background: #ef4444; }
.mockup-browser .bar i.y { background: #f59e0b; }
.mockup-browser .bar i.g { background: #10b981; }
.mockup-browser .content { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.mockup-browser .hero-block { height: 64px; background: var(--color-light); border-radius: 12px; }
.mockup-browser .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mockup-browser .cards div { height: 60px; background: var(--color-light); border-radius: 12px; }
.mockup-browser .line { height: 10px; background: var(--color-light); border-radius: 6px; }
.mockup-browser .line.w70 { width: 70%; }
.mockup-browser .line.w45 { width: 45%; }

/* Phone frame wireframe (mobile app) */
.mockup-phone-wrap { display: flex; align-items: center; justify-content: center; height: 320px; }
.mockup-phone { width: 170px; height: 300px; background: var(--color-primary); border-radius: 30px; padding: 10px; }
.mockup-phone .screen { background: #ffffff; border-radius: 20px; height: 100%; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.mockup-phone .top { display: flex; align-items: center; gap: 8px; }
.mockup-phone .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--color-light); flex-shrink: 0; }
.mockup-phone .line { flex: 1; height: 8px; background: var(--color-light); border-radius: 4px; }
.mockup-phone .image { height: 78px; background: var(--color-light); border-radius: 12px; }
.mockup-phone .row { display: flex; align-items: center; gap: 10px; }
.mockup-phone .thumb { width: 28px; height: 28px; border-radius: 8px; background: var(--color-light); flex-shrink: 0; }
.deep-dive ul { display: flex; flex-direction: column; gap: 12px; margin: 0 0 28px; }
.deep-dive li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #374151; font-weight: 600; }
.deep-dive li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

.faq-item { background: #ffffff; border-radius: 16px; border: 1px solid var(--color-border); padding: 4px 26px; margin-bottom: 14px; }
.faq-item summary { padding: 18px 0; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding-bottom: 20px; font-size: 15px; }

.cta-section { background: var(--color-dark); color: #ffffff; }
.cta-section h2 { color: #ffffff; }
.contact-form { background: #ffffff; border-radius: 24px; padding: 36px; color: var(--color-heading); }
.contact-form label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(17,24,39,0.15); font-size: 15px; font-family: var(--font-base); color: var(--color-heading); margin-bottom: 16px; direction: rtl; background: #ffffff; }
.contact-form button { width: 100%; }
.form-success { text-align: center; padding: 40px 12px; }

.site-footer { background: var(--color-heading); color: #ffffff; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid h4 { color: #ffffff; font-size: 14px; margin-bottom: 18px; }
.footer-grid a { color: #9ca3af; font-size: 14px; display: block; margin-bottom: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.footer-brand span { font-size: 20px; font-weight: 900; color: #ffffff; }
.copyright { text-align: center; font-size: 13px; color: var(--color-muted); margin-top: 28px; }

@media (max-width: 900px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .primary-nav { display: none; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  h1 { font-size: 30px; }
}
