*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

:root{
  --blue:#0b6fb7;
  --orange:#f28a24;
  --green:#1f8a3a;

  --bg:#f6f8fb;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e6e8ef;

  --shadow: 0 16px 38px rgba(2,8,23,.10);
  --radius:18px;
}

body{
  margin:0;
  font-family: Arial, Tahoma, sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* ✅ الخلفية تظهر كاملة (بدون قص) */
.page-bg{
  position:fixed;
  inset:0;
  z-index:-10;

  /* لون احتياطي */
  background-color:#0b0f1a;

  /* طبقات: تدرجات + صورة كاملة */
  background-image:
    linear-gradient(180deg, rgba(8,12,20,.50), rgba(246,248,251,.88)),
    radial-gradient(900px 420px at 15% 15%, rgba(11,111,183,.22), transparent 60%),
    radial-gradient(900px 420px at 85% 18%, rgba(242,138,36,.20), transparent 60%),
    radial-gradient(900px 420px at 50% 92%, rgba(31,138,58,.18), transparent 60%),
    url("./bg.jpg");

  /* الأهم: contain لتظهر كاملة */
  background-size: cover, auto, auto, auto, contain;
  background-position: center, center, center, center, center;
  background-repeat:no-repeat;

  /* حتى لا تكون باهتة جدًا */
  filter: saturate(1.05) contrast(1.02);
}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 18px;
}

a{ color:inherit; }
.muted{ color:var(--muted); }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.mono.big{ font-size:20px; font-weight:800; }

/* ✅ واجهة زجاجية بألوان الشعار */
.glass{
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
}

.card{
  background: rgba(255,255,255,.86);
  border:1px solid rgba(230,232,239,.9);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(230,232,239,.9);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
}

.brand{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
}
.brand-mark{
  width:44px; height:44px;
  border-radius:16px;
  display:grid; place-items:center;
  color:#fff;
  font-weight:900;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 12px 26px rgba(11,111,183,.18);
}
.brand-text{ display:flex; flex-direction:column; }
.brand-name{ font-weight:900; color:var(--blue); }
.brand-sub{ font-size:12px; color:var(--muted); }

/* CSS-only nav */
.nav-toggle{ display:none; }
.nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav a{
  text-decoration:none;
  padding:9px 10px;
  border-radius:12px;
}
.nav a:hover{ background:rgba(241,245,249,.9); }

.nav-btn{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(230,232,239,.9);
  background:rgba(255,255,255,.9);
  cursor:pointer;
  padding:10px;
  gap:5px;
}
.nav-btn span{
  display:block;
  height:2px;
  background:#0f172a;
  border-radius:2px;
}

/* Buttons */
/* ===== Buttons (Modern) ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  cursor:pointer;
  font-weight:900;
  padding:12px 16px;
  border-radius:999px;          /* شكل حديث */
  text-decoration:none;
  transition: transform .15s ease, opacity .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 26px rgba(2,8,23,.10);
}

.btn:hover{
  opacity:.96;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(2,8,23,.14);
}

.btn:active{ transform: translateY(0px); }

.btn-sm{ padding:10px 14px; border-radius:999px; }
.btn-block{ width:100%; text-align:center; }

.btn-blue{ background:var(--blue); color:#fff; }
.btn-orange{ background:var(--orange); color:#fff; }
.btn-green{ background:var(--green); color:#fff; }
.btn-outline{
  background:rgba(255,255,255,.65);
  border:1px solid rgba(11,111,183,.30);
  color:var(--blue);
  box-shadow:none;
}

.btn .ico{
  width:18px;
  height:18px;
  display:inline-block;
  fill: currentColor;
}

/* Hero */
.hero{ padding:26px 0 18px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:16px;
  align-items:start;
}

.pill{
  display:inline-block;
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(11,111,183,.18);
  background: rgba(11,111,183,.08);
  margin:0 0 8px;
}

.hero-copy h1{
  margin:0 0 10px;
  font-size:40px;
  line-height:1.15;
}
.lead{
  margin:0 0 14px;
  line-height:1.9;
  color:var(--muted);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 14px;
}
.hero-stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:10px;
}
.stat{
  background:rgba(255,255,255,.86);
  border:1px solid rgba(230,232,239,.9);
  border-radius:16px;
  padding:12px;
}
.stat-num{ font-weight:900; font-size:18px; color:var(--green); }
.stat-text{ color:var(--muted); font-size:13px; margin-top:4px; }

.mini-contact{
  margin-top:12px;
  padding-top:12px;
  border-top:1px dashed rgba(230,232,239,.9);
  color:var(--muted);
  font-size:13px;
}

/* Sections */
.section{ padding:24px 0; }
.section-alt{
  background: rgba(255,255,255,.45);
  border-top:1px solid rgba(230,232,239,.9);
  border-bottom:1px solid rgba(230,232,239,.9);
}

.section-head{
  margin-bottom:14px;
  padding:14px;
  border-radius:18px;
}
.section-head h2{ margin:0 0 6px; color:var(--green); }

.grid{ display:grid; gap:12px; }
.two{ grid-template-columns: 1fr 1fr; }
.branches{ grid-template-columns: repeat(3, 1fr); }
.contact-grid{ grid-template-columns: repeat(3, 1fr); }

.list{
  margin:10px 0 0;
  padding:0 18px 0 0;
  color:var(--muted);
  line-height:1.9;
}

/* Footer */
.site-footer{
  padding:22px 0 14px;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-top:1px solid rgba(230,232,239,.9);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .6fr .6fr;
  gap:12px;
  padding-bottom:14px;
}
.footer-brand{ font-weight:900; color:var(--blue); margin-bottom:6px; }
.footer-title{ font-weight:900; margin-bottom:8px; }
.footer-link{
  display:block;
  text-decoration:none;
  color:var(--muted);
  padding:6px 0;
}
.footer-link:hover{ color:var(--text); }

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  border-top:1px solid rgba(230,232,239,.9);
  padding-top:12px;
  color:var(--muted);
  font-size:13px;
}
.to-top{ text-decoration:none; color:var(--blue); font-weight:900; }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .two{ grid-template-columns: 1fr; }
  .branches, .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .section-head{ padding:12px; }
}

/* Mobile menu */
@media (max-width: 860px){
  .nav-btn{ display:flex; flex-direction:column; justify-content:center; }
  .nav{
    position:absolute;
    top:70px;
    left:18px;
    right:18px;
    background:rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border:1px solid rgba(230,232,239,.9);
    border-radius:18px;
    padding:10px;
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    gap:6px;
  }
  .nav a{ padding:12px 12px; }
  .nav-toggle:checked ~ .nav{ display:flex; }
}
.hero-logo{
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-logo img{
  width:100%;
  max-width:360px;
  height:auto;
  object-fit:contain;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.18));
}

/* للموبايل */
@media (max-width: 980px){
  .hero-logo{
    order:-1;
    margin-bottom:16px;
  }
  .hero-logo img{
    max-width:240px;
  }
}
/* ===== Catalog Photo Cards ===== */
.catalog-photo{
  grid-template-columns: repeat(3, 1fr);
}

.catalog-card{
  overflow:hidden;
  padding:0;
}

.catalog-img{
  position:relative;
  height:200px;
  overflow:hidden;
}

.catalog-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
}

.catalog-badge{
  position:absolute;
  top:12px;
  right:12px;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  color:#fff;
  background: rgba(11,111,183,.92);
  border:1px solid rgba(255,255,255,.22);
  box-shadow: 0 14px 28px rgba(2,8,23,.18);
}

.catalog-badge.orange{ background: rgba(242,138,36,.92); }
.catalog-badge.green{ background: rgba(31,138,58,.92); }

.catalog-body{
  padding:16px;
}

.catalog-body h3{
  margin:0 0 8px;
}

/* Responsive */
@media (max-width: 980px){
  .catalog-photo{ grid-template-columns: 1fr; }
  .catalog-img{ height:220px; }
}
.social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:50%;
  text-decoration:none;
  transition:all .25s ease;
  margin:0 6px;
}

.social-icon.facebook{
  background:#1877f2;
  color:#fff;
}

.social-icon.facebook:hover{
  background:#0f5dc4;
  transform:translateY(-3px);
  box-shadow:0 10px 20px rgba(24,119,242,.35);
}
.social-box{
  display:flex;
  align-items:center;
  gap:10px;
}

.social-text{
  font-size:14px;
  color:#475569;
  font-weight:600;
}
.branch-contact{
  margin-top:10px;
  font-size:14px;
  line-height:1.8;
}

.branch-contact a{
  color:#0b6fb7;
  font-weight:700;
  text-decoration:none;
}

.branch-contact a:hover{
  text-decoration:underline;
}
.btn-map{
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
}

.btn-map:hover{
  background:#eef6ff;
}
.whatsapp-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#128c7e;
  font-weight:700;
  text-decoration:none;
}

.whatsapp-link:hover{
  text-decoration:underline;
}

.whatsapp-link .ico.wa{
  width:16px;
  height:16px;
  fill:currentColor;
}
.social-box{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.social-text{
  font-size:14px;
  color:#1877f2;
  font-weight:700;
}

.fb-link:hover .social-text{
  text-decoration:underline;
}
