/* ==========================================================================
   مجموعة الصحراء | Al Sahraa Group
   Brand theme extracted from logo:
   Gold #F2B90A / #E9A800 · Charcoal #111111 · Silver #B0B0B0
   Mobile-first, RTL, Tajawal
   ========================================================================== */

:root {
  --gold: #f2b90a;
  --gold-deep: #e9a800;
  --gold-soft: #ffd451;
  --ink: #111111;
  --ink-2: #1c1c1e;
  --ink-3: #262629;
  --silver: #b0b0b0;
  --silver-light: #e6e6e6;
  --paper: #f6f6f4;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .10);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .18);
  --shadow-gold: 0 10px 26px rgba(233, 168, 0, .35);

  --font: 'Tajawal', system-ui, "Segoe UI", Tahoma, sans-serif;
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  margin: 0;
  overflow-x: hidden;
  line-height: 1.85;
  font-size: 1.02rem;
}

/* Full-height page frame for sticky footer */
.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-shell main { flex: 1 0 auto; }

/* ============================= NAVBAR / TOPBAR ============================ */
.topbar {
  background: rgba(17, 17, 17, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
}
.topbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-weight: 800;
}
.topbar .brand-logo {
  height: 44px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 4px 7px;
}
.topbar .brand-name { font-size: 1.15rem; line-height: 1.2; }
.topbar .brand-name small {
  display: block;
  font-size: .68rem;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
}

/* Hamburger button */
.menu-btn {
  border: 0;
  background: var(--gold);
  color: var(--ink);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: transform .18s ease, filter .18s ease;
}
.menu-btn:active { transform: scale(.92); }
.menu-btn svg { width: 24px; height: 24px; }

/* ============================= SLIDE MENU (offcanvas) ==================== */
.offcanvas.slide-menu {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white);
  width: min(86vw, 360px);
  border-inline-start: 3px solid var(--gold);
}
.slide-menu .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.slide-menu .offcanvas-title {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .5px;
}
.slide-menu .btn-close {
  filter: invert(1) grayscale(1) brightness(1.6);
}
.slide-link {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--white);
  text-decoration: none;
  padding: 1rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease, color .2s ease;
  border: 1px solid transparent;
}
.slide-link .idx {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(242, 185, 10, .15);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.slide-link:hover,
.slide-link:focus,
.slide-link.active {
  background: rgba(242, 185, 10, .12);
  border-color: rgba(242, 185, 10, .35);
  color: var(--gold-soft);
  transform: translateX(-4px);
}
.slide-menu .menu-foot {
  margin-top: auto;
  font-size: .82rem;
  color: var(--silver);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1rem;
}
.slide-menu .menu-foot a { color: var(--gold); text-decoration: none; }

/* ================================ HERO ================================== */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(242,185,10,.18), transparent 60%),
              linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-start: -120px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(242,185,10,.22), transparent 65%);
  filter: blur(10px);
}
.hero .eyebrow {
  display: inline-block;
  background: rgba(242, 185, 10, .14);
  color: var(--gold);
  padding: .35rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  border: 1px solid rgba(242, 185, 10, .35);
  margin-bottom: 1rem;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(1.7rem, 6vw, 3rem);
  line-height: 1.35;
  margin-bottom: 1.1rem;
}
.hero h1 .accent { color: var(--gold); }
.hero p.lead {
  color: #dcdcdc;
  font-size: clamp(1rem, 3.6vw, 1.18rem);
  max-width: 640px;
}
.hero .cta-row { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* Hero image */
.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 3px solid rgba(242, 185, 10, .55);
  display: block;
}

/* Image placeholder (kept for reuse) */
.img-placeholder {
  position: relative;
  border-radius: var(--radius);
  min-height: 240px;
  background: repeating-linear-gradient(135deg, #2a2a2d 0 14px, #242427 14px 28px);
  border: 2px dashed rgba(242, 185, 10, .55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  text-align: center;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.img-placeholder .ph-icon {
  width: 64px; height: 64px;
  color: var(--gold);
  margin-bottom: .6rem;
  opacity: .9;
}
.img-placeholder .ph-title { color: var(--white); font-weight: 800; }
.img-placeholder .ph-hint { font-size: .82rem; }

/* ============================== BUTTONS ================================= */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1.6rem;
  box-shadow: var(--shadow-gold);
  transition: transform .16s ease, filter .16s ease;
}
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); color: var(--ink); }
.btn-outline-light-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 700;
  border-radius: 999px;
  padding: .62rem 1.5rem;
  transition: background .16s ease, color .16s ease;
}
.btn-outline-light-gold:hover { background: var(--gold); color: var(--ink); }

/* =============================== SECTIONS =============================== */
.section { padding: 3rem 0; }
.section-title {
  font-weight: 900;
  font-size: clamp(1.4rem, 5vw, 2rem);
  position: relative;
  display: inline-block;
  margin-bottom: .4rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  margin-top: .5rem;
}
.section-sub { color: #5a5a5a; margin-bottom: 1.6rem; }

/* Feature cards */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  height: 100%;
  border: 1px solid #ececec;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(242, 185, 10, .5);
}
.feature-card .fc-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .9rem;
  box-shadow: var(--shadow-gold);
}
.feature-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: .4rem; }
.feature-card p { color: #666; font-size: .96rem; margin: 0; }

/* Menu grid (homepage quick links to product pages) */
.prod-card {
  text-decoration: none;
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 150px;
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border: 1px solid #2c2c2f;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.prod-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  width: 90px; height: 90px;
  background: radial-gradient(circle at top right, rgba(242,185,10,.35), transparent 70%);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: var(--white); }
.prod-card .pc-num {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(242,185,10,.16); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; margin-bottom: .8rem;
}
.prod-card h3 { font-size: 1.08rem; font-weight: 800; margin: 0; line-height: 1.5; }
.prod-card .pc-go {
  margin-top: .8rem; color: var(--gold); font-weight: 700; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .35rem;
}

/* ============================ VIDEO / PRODUCT ========================== */
.page-head {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--white);
  padding: 2.4rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.page-head .eyebrow {
  color: var(--gold); font-weight: 700; letter-spacing: 1px;
  text-transform: none; font-size: .9rem;
}
.page-head h1 { font-weight: 900; font-size: clamp(1.5rem, 5.5vw, 2.4rem); margin: .4rem 0 0; }

.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--ink);
  background: #000;
}
.video-frame .ratio { background: #000; }

.content-list { list-style: none; padding: 0; margin: 0; }
.content-list li {
  background: var(--white);
  border: 1px solid #ececec;
  border-inline-start: 5px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  margin-bottom: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease;
}
.content-list li:hover { transform: translateX(-5px); }
.content-list li .dot {
  flex: 0 0 auto;
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}

/* ================================ FOOTER =============================== */
.site-footer {
  background: var(--ink);
  color: var(--silver);
  padding: 2.4rem 0 1.4rem;
  border-top: 3px solid var(--gold);
}
.site-footer .brand-logo {
  height: 52px; background: #fff; border-radius: 10px; padding: 5px 8px;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .foot-title { color: var(--white); font-weight: 800; margin-bottom: .8rem; }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 1.4rem 0; }
.copyright { font-size: .88rem; color: #8b8b8b; }

/* Small screens fine-tuning */
@media (max-width: 575.98px) {
  .hero { padding: 2.2rem 0 2.6rem; }
  .section { padding: 2.2rem 0; }
  .topbar .brand-name { font-size: 1rem; }
}
