
:root{
  --bg:#f7f6f3;
  --card:#ffffffcc;
  --text:#111827;
  --muted:#6b7280;
  --brand:#5b4635;
  --gold:#c8a24a;
  --line:#e5e7eb;
  --shadow:0 18px 40px rgba(17,24,39,.10);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: "Noto Kufi Arabic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(200,162,74,.18), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(91,70,53,.14), transparent 60%),
              var(--bg);
  color:var(--text);
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
.container{width:min(1100px, 92vw); margin:0 auto}
.badge{
  display:inline-flex;gap:10px;align-items:center;
  padding:10px 14px;border-radius:999px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(229,231,235,.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}
.badge .dot{width:10px;height:10px;border-radius:50%;background:var(--gold)}
h2.section-title{
  font-size:clamp(30px, 4vw, 44px);
  margin:10px 0 6px;
  letter-spacing:-.02em;
}
.section-sub{color:var(--muted); max-width:820px; line-height:1.9}
.hr-gold{
  width:90px;height:4px;border-radius:99px;background:linear-gradient(90deg,var(--gold), rgba(200,162,74,.2));
  margin:14px 0 0;
}
.navbar{
  position:fixed; inset:18px 0 auto 0; z-index:50;
  pointer-events:none;
}
.navbar .inner{
  pointer-events:auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 14px;
  /* خلفية خفيفة جداً لتحسين وضوح النص فوق الصور دون إخفاء الصورة */
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  border-radius:16px;
  box-shadow: 0 10px 26px rgba(17,24,39,.14);
}
.brand{display:flex;gap:10px;align-items:center}
.logo-mark{
  width:34px;height:34px;border-radius:12px;
  background: linear-gradient(135deg, rgba(91,70,53,.95), rgba(200,162,74,.85));
  box-shadow: 0 10px 20px rgba(17,24,39,.12);
}
.brand .name{font-weight:900;letter-spacing:-.02em;line-height:1.1;color:#0b0f1a}
.brand .tag{font-size:12px;color:rgba(11,15,26,.68);margin-top:2px}
.actions{display:flex;gap:10px;align-items:center}
.icon-btn{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  /* المطلوب: خلفية ذهبية مثل زر (اطلب عرض سعر) */
  background: var(--gold);
  border: none;
  color: #0b0f1a;
  backdrop-filter: none;
}
.icon-btn svg{width:22px;height:22px}
.pill{
  padding:10px 14px;border-radius:999px;
  /* المطلوب: خلفية ذهبية لمبدّل اللغة */
  background: var(--gold);
  border: none;
  color: #0b0f1a;
  font-weight:900;
}
.drawer{position:fixed; inset:0; z-index:80; display:none}
.drawer.open{display:block}
.drawer .backdrop{position:absolute; inset:0; background:rgba(17,24,39,.35)}
.drawer .panel{
  position:absolute; top:16px; right:16px; left:16px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(229,231,235,.9);
  backdrop-filter: blur(18px);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:14px;
}
.drawer .panel a{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 12px; border-radius:14px;
}
.drawer .panel a:hover{background:rgba(200,162,74,.10)}
.hero{
  min-height:92vh;
  display:flex;
  align-items:flex-end;
  padding:110px 0 50px;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:url('images/hero_custom.jpeg') center/cover no-repeat;
  filter:saturate(1.05) contrast(1.05);
  transform:scale(1.03);
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg,
    rgba(0,0,0,.35) 0%,
    rgba(0,0,0,.40) 42%,
    rgba(0,0,0,.18) 72%,
    rgba(247,246,243,1) 100%);
}
.hero .content{position:relative; z-index:2}
 .hero-card{
  width:min(820px, 100%);
  padding:10px 6px 0;
  background:transparent;
  border:none;
  backdrop-filter:none;
  border-radius:0;
  box-shadow:none;
}
.hero h1{font-size:clamp(32px, 4.6vw, 52px); margin:0 0 6px; letter-spacing:-.02em}
.hero .subtitle{font-size:clamp(16px, 2.1vw, 20px); color:rgba(17,24,39,.85); font-weight:900; margin:0 0 12px}
.hero p{margin:0 0 16px; color:var(--muted); line-height:1.9}
.btns{display:flex; flex-wrap:wrap; gap:10px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.70);
  font-weight:900;
}
.btn.primary{
  background:linear-gradient(135deg, rgba(91,70,53,.95), rgba(200,162,74,.90));
  color:white;border:none;
}
.section{padding:52px 0}
.grid{display:grid; gap:14px}
.grid.cols-3{grid-template-columns:repeat(3, minmax(0,1fr))}
@media (max-width: 900px){.grid.cols-3{grid-template-columns:1fr}}
.card{
  background:rgba(255,255,255,.65);
  border:1px solid rgba(229,231,235,.85);
  border-radius:18px;
  padding:16px;
  box-shadow: 0 12px 24px rgba(17,24,39,.06);
  backdrop-filter: blur(12px);
}
.card h3{margin:0 0 6px;font-size:18px}
.card p{margin:0;color:var(--muted);line-height:1.9}
.icon{
  width:38px;height:38px;border-radius:14px;
  display:grid;place-items:center;
  background:rgba(200,162,74,.12);
  border:1px solid rgba(200,162,74,.30);
  margin-bottom:10px;
}
.icon svg{width:20px;height:20px}
.projects{display:flex;flex-direction:column;gap:18px}
.project{
  border-radius:22px; overflow:hidden;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.55);
  box-shadow: var(--shadow);
}
.project .top{padding:16px 16px 12px; display:flex; justify-content:space-between; align-items:flex-end; gap:14px}
.project .top h3{margin:0;font-size:20px}
.project .top .meta{color:var(--muted); font-size:13px; line-height:1.7}
.carousel{position:relative; aspect-ratio:16/10; background:#111827}
@media (max-width:700px){.carousel{aspect-ratio:10/12}}
.slide{position:absolute; inset:0; opacity:0; transition:opacity .5s ease; background-size:cover; background-position:center}
.slide.active{opacity:1}
.slide .overlay{
  position:absolute; left:14px; right:14px; bottom:14px;
  padding:12px;border-radius:16px;
  background:rgba(17,24,39,.45); color:white;
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,.20);
}
.slide .overlay .cap{font-weight:900}
.slide .overlay .sub{opacity:.9;font-size:13px;margin-top:4px;line-height:1.7}
.carousel .nav{position:absolute; inset:auto 10px 10px auto; display:flex; gap:8px}
.carousel .nav button{
  width:42px;height:42px;border-radius:14px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(17,24,39,.35); color:white;
  backdrop-filter: blur(10px);
}
.dots{position:absolute; left:14px; bottom:16px; display:flex; gap:6px}
.dots button{width:8px;height:8px;border-radius:50%;border:none;background:rgba(255,255,255,.35)}
.dots button.active{background:rgba(200,162,74,.95)}
.reviews{display:grid;gap:14px; grid-template-columns:repeat(2, minmax(0,1fr))}
@media (max-width:900px){.reviews{grid-template-columns:1fr}}
.review .stars{color:var(--gold); letter-spacing:1px; font-weight:900}
.form{display:grid; gap:12px; grid-template-columns:repeat(2, minmax(0,1fr))}
@media (max-width:900px){.form{grid-template-columns:1fr}}
input, select, textarea{
  width:100%; padding:14px; border-radius:14px;
  border:1px solid rgba(229,231,235,.95);
  background:rgba(255,255,255,.75);
  outline:none; font-size:15px;
}
textarea{min-height:130px; resize:vertical}
.footer{
  padding:34px 0 110px;
  background:linear-gradient(180deg, rgba(17,24,39,0) 0%, rgba(17,24,39,.92) 55%, rgba(17,24,39,.96) 100%);
  color:#f9fafb;
}
.footer .wrap{
  background:rgba(17,24,39,.55);
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  padding:20px;
  backdrop-filter: blur(16px);
}
.footer h3{margin:0 0 10px}
.footer .muted{opacity:.75; line-height:1.9}
.footer-grid{display:grid;gap:16px; grid-template-columns:1.2fr .8fr .8fr}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr}}
.social{display:flex;gap:10px;flex-wrap:wrap}
.social a{
  width:44px;height:44px;border-radius:16px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
}
.whatsapp{
  position:fixed; left:16px; bottom:18px; z-index:90;
  width:56px;height:56px;border-radius:18px;
  display:grid;place-items:center;
  background:#25D366;
  box-shadow:0 18px 40px rgba(0,0,0,.20);
}
.whatsapp svg{width:28px;height:28px;color:white}
[data-lang="en"]{display:none}
body.en [data-lang="ar"]{display:none}
body.en [data-lang="en"]{display:block}


/* Hero logo */
.hero-logo{width:96px;height:96px;object-fit:contain;display:block;margin:0 0 12px;filter:drop-shadow(0 10px 22px rgba(0,0,0,.35));}
@media (min-width:720px){.hero-logo{width:112px;height:112px}}

/* QR section */
.qr-section{margin-top:18px}
.qr-section h4{margin:0 0 10px; font-weight:900}
.qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:720px){.qr-grid{grid-template-columns:repeat(5,minmax(0,1fr));}}
.qr-item{background:rgba(255,255,255,.65);border:1px solid rgba(229,231,235,.75);border-radius:16px;padding:10px;display:flex;flex-direction:column;align-items:center;gap:8px}
.qr-item img{width:120px;height:120px;object-fit:contain;border-radius:10px;background:white}
.qr-caption{font-weight:900;color:rgba(17,24,39,.85)}

/* Hero text readability (no box) */
.hero h1, .hero .subtitle, .hero p, .hero .badge{color:rgba(255,255,255,.98);}
.hero h1{ text-shadow:0 10px 26px rgba(0,0,0,.55); }
.hero .subtitle{ text-shadow:0 10px 22px rgba(0,0,0,.55); }
.hero p{ color:rgba(255,255,255,.92); text-shadow:0 8px 18px rgba(0,0,0,.55); }


/* === Custom tweaks (2026-01-30) === */
#langBtn{
  background: var(--gold) !important;
  color:#fff !important;
  border-color: rgba(255,255,255,.25) !important;
}
#langBtn:hover{ filter: brightness(0.95); }

.hero-card{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.hero h1, .hero .hero-sub, .hero p{
  color:#fff !important;
  text-shadow: 0 8px 22px rgba(0,0,0,.55);
}
.hero .hero-sub{
  color: rgba(255,255,255,.92) !important;
}
.hero .hero-logo{
  width: 120px !important;
  height: 120px !important;
  /* زيادة وضوح الشعار فوق الخلفية */
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.45)) drop-shadow(0 0 1px rgba(255,255,255,.55));
}
/* Improve carousel caption readability */
.slide-cap{
  text-shadow: 0 10px 22px rgba(0,0,0,.55);
}
