/*
Theme Name: محمود - لاعلانات جوجل
Theme URI: https://example.com
Author: ChatGPT
Description: قالب صفحة هبوط لإعلانات جوجل قابل للتعديل من التخصيص.
Version: 1.0.1
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: mahmoud-google-ads
*/

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

:root{
  --primary:#0f5f8f;
  --blue:#168bd2;
  --whatsapp:#25D366;
  --dark:#071827;
  --dark2:#06243a;
  --light:#f5f8fb;
  --text:#101828;
  --muted:#667085;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Tajawal',sans-serif;
  direction:rtl;
  background:#fff;
  color:var(--text);
}
body.menu-open{overflow:hidden}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1120px,calc(100% - 32px));margin:auto}

.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:999;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 25px rgba(15,23,42,.08);
}
.nav{
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  font-size:28px;
  font-weight:900;
  line-height:1.15;
  color:#101828;
  display:flex;
  align-items:center;
  gap:10px;
}
.site-logo-img{max-height:52px;width:auto}
.menu-toggle{
  border:0;
  background:#0b1724;
  color:#fff;
  width:48px;
  height:44px;
  border-radius:14px;
  font-size:26px;
  cursor:pointer;
}
.desktop-menu{display:flex;gap:22px;align-items:center}
.desktop-menu a{font-weight:800;color:#243447}

.mobile-menu{
  position:fixed;
  inset:0;
  background:rgba(9,18,31,.94);
  z-index:2000;
  opacity:0;
  pointer-events:none;
  transition:.25s ease;
}
.mobile-menu.active{opacity:1;pointer-events:auto}
.mobile-menu-panel{
  width:min(360px,88%);
  height:100%;
  background:#fff;
  padding:26px;
  overflow-y:auto;
  box-shadow:-10px 0 40px rgba(0,0,0,.18);
}
.close-menu{
  width:42px;height:42px;
  border:0;border-radius:14px;
  background:#eef3f7;
  font-size:24px;
  cursor:pointer;
}
.mobile-links{display:flex;flex-direction:column;gap:8px;margin-top:26px}
.mobile-links a{
  padding:17px 14px;
  border-radius:16px;
  background:#f6f8fb;
  font-size:21px;
  font-weight:800;
  color:#122033;
}

.hero{
  padding-top:72px;
  min-height:100vh;
  display:grid;
  align-items:center;
  background:
    linear-gradient(90deg,rgba(4,20,34,.92),rgba(4,20,34,.56)),
    var(--hero-image);
  background-size:cover;
  background-position:center;
  color:#fff;
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:28px;
  align-items:center;
  padding:18px 0 24px;
}
.hero h1{
  font-size:54px;
  line-height:1.18;
  margin:0 0 14px;
  font-weight:900;
}
.hero p{
  font-size:23px;
  line-height:1.75;
  margin:0 0 22px;
  max-width:660px;
  font-weight:500;
}
.cta-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:62px;
  min-width:180px;
  padding:0 28px;
  border-radius:999px;
  color:#fff;
  font-size:21px;
  font-weight:900;
  box-shadow:0 14px 32px rgba(0,0,0,.20);
}
.cta.call{background:linear-gradient(135deg,var(--blue),#0868a2)}
.cta.wa{background:var(--whatsapp)}
.cta.call::after{
  content:"\f095";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  margin-right:8px;
  font-size:18px;
}
.cta.wa::after{
  content:"\f232";
  font-family:"Font Awesome 6 Brands";
  margin-right:8px;
  font-size:18px;
}

.hero-card{
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.20);
  border-radius:28px;
  padding:18px;
}
.hero-card img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:22px;
  border:4px solid rgba(255,255,255,.22);
}
.services-entry{
  display:flex;
  justify-content:center;
  margin-top:16px;
}
.services-entry-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:205px;
  min-height:54px;
  padding:0 28px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,var(--blue),#0868a2);
  font-size:20px;
  font-weight:900;
  box-shadow:0 14px 30px rgba(0,0,0,.22);
}
.services-entry-btn::after{content:"↗";margin-right:8px}

.hidden-content{display:none}
.hidden-content.revealed{display:block}

.section{padding:72px 0}
.section.alt{background:var(--light)}
.section-title{text-align:center;margin-bottom:34px}
.section-title span{
  display:inline-block;
  color:var(--primary);
  background:#e8f4fb;
  border-radius:999px;
  padding:7px 15px;
  font-weight:900;
  margin-bottom:12px;
}
.section-title h2{
  font-size:39px;
  line-height:1.35;
  margin:0;
  font-weight:900;
}
.section-title p{
  color:var(--muted);
  font-size:20px;
  line-height:1.8;
  max-width:760px;
  margin:14px auto 0;
}
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:center;
}
.about-box{
  background:#fff;
  border-radius:24px;
  padding:28px;
  box-shadow:0 18px 45px rgba(15,23,42,.14);
}
.about-box p{font-size:20px;line-height:2;color:#344054;margin:0}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.stat{
  background:#fff;
  border-radius:20px;
  padding:22px;
  text-align:center;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.stat b{display:block;font-size:34px;color:var(--primary);font-weight:900}
.stat span{font-size:17px;color:#475467;font-weight:800}

.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.service-card,.work-card{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(15,23,42,.14);
  border:1px solid #eef2f6;
}
.service-card img,.work-card img{width:100%;height:220px;object-fit:cover}
.service-card h3,.work-card h3{font-size:23px;font-weight:900;margin:0;padding:18px 18px 22px}

.faq-wrap{max-width:850px;margin:auto}
details{
  background:#fff;
  border:1px solid #e8eef5;
  border-radius:20px;
  padding:0 20px;
  margin-bottom:14px;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
summary{cursor:pointer;padding:20px 0;font-size:20px;font-weight:900}
details p{color:#475467;font-size:18px;line-height:1.9;margin:0 0 20px}

.contact-section{
  background:linear-gradient(180deg,var(--dark),var(--dark2));
  color:#fff;
  text-align:center;
  padding:70px 0 44px;
}
.contact-section .section-title span{background:rgba(255,255,255,.12);color:#fff}
.contact-section .section-title h2{color:#fff}
.contact-section .section-title p{color:#dbeafe}

.footer{
  background:#071827;
  color:#dbeafe;
  text-align:center;
  padding:24px 0 34px;
  font-weight:700;
}

.floating-contact{
  position:fixed;
  left:0;
  top:64vh;
  bottom:auto;
  z-index:1500;
  display:flex;
  flex-direction:column;
  gap:10px;
  transform:none!important;
  backface-visibility:hidden;
}
.float-btn{
  width:160px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#fff;
  border-radius:0 999px 999px 0;
  font-size:21px;
  font-weight:900;
  box-shadow:0 14px 28px rgba(0,0,0,.22);
}
.float-btn.call{background:linear-gradient(135deg,#2b7bbb,#1f5fa0)}
.float-btn.wa{background:var(--whatsapp)}
.float-btn i{font-size:20px}

@media(max-width:900px){
  .desktop-menu{display:none}
  .hero-inner,.about-grid{grid-template-columns:1fr}
  .hero h1{font-size:42px}
  .hero p{font-size:21px}
  .cards-grid{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:901px){.menu-toggle{display:none}}
@media(max-width:620px){
  .container{width:min(100% - 24px,1120px)}
  .nav{height:68px}
  .brand{font-size:25px;max-width:78%;text-align:right}
  .hero{min-height:100vh;padding-top:68px}
  .hero-inner{padding:12px 0 24px;gap:12px}
  .hero h1{font-size:34px;margin-bottom:10px}
  .hero p{font-size:18px;line-height:1.65;margin-bottom:18px}
  .cta{min-width:150px;min-height:56px;font-size:19px;padding:0 22px}
  .hero-card{padding:10px}
  .services-entry{margin-top:14px}
  .services-entry-btn{min-width:190px;min-height:52px;font-size:19px}
  .section{padding:56px 0}
  .section-title h2{font-size:30px}
  .cards-grid{grid-template-columns:1fr}
  .service-card img,.work-card img{height:210px}
  .stats{grid-template-columns:1fr}
  .floating-contact{left:0;top:64vh;bottom:auto;transform:none!important}
  .float-btn{width:142px;height:48px;font-size:19px}
}
