/* =============================================
   AREAS PAGE — SERVICE COVERAGE
   ============================================= */

/* Active nav link */
.nav-links a.active { color: var(--gold) !important; }
.nav-links a.active::after { right: 14px; left: 14px; }

/* ── AREAS HERO ── */
.areas-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  text-align: center;
}
.areas-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #070B1A 0%, #0D1B3E 50%, #070B1A 100%);
}
.areas-hero-overlay {
  position: absolute;
  inset: 0;
  background: url('../assets/images/truck-night.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.areas-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.g1 {
  width: 500px; height: 500px;
  background: rgba(30,144,255,0.12);
  top: -100px; left: -100px;
  animation: glow-drift 8s ease-in-out infinite alternate;
}
.g2 {
  width: 400px; height: 400px;
  background: rgba(201,168,76,0.08);
  bottom: -80px; right: -80px;
  animation: glow-drift 10s ease-in-out infinite alternate-reverse;
}
@keyframes glow-drift {
  from { transform: translate(0,0); }
  to   { transform: translate(30px, 20px); }
}

.areas-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.areas-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 16px 0 18px;
}
.areas-hero-content h1 span { display: block; }
.areas-hero-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  line-height: 1.8;
}
.areas-hero-content p strong { color: var(--gold); }

.areas-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 18px 28px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
}
.ahs { display: flex; flex-direction: column; align-items: center; min-width: 90px; }
.ahs-n { font-size: 1.7rem; font-weight: 900; color: var(--gold); line-height: 1; }
.ahs-l { font-size: .72rem; color: rgba(255,255,255,.55); margin-top: 3px; }
.ahs-div { width: 1px; height: 36px; background: rgba(255,255,255,.1); margin: 0 4px; }

/* ── MAIN AREAS CONTENT ── */
.areas-main {
  padding: 80px 0 60px;
  background: var(--navy);
}

/* Search */
.areas-search { margin-bottom: 52px; }
.search-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 20px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  transition: var(--tr);
}
.search-wrap:focus-within {
  border-color: var(--blue);
  background: rgba(30,144,255,0.07);
  box-shadow: 0 0 0 3px rgba(30,144,255,0.12);
}
.search-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: .95rem;
  direction: rtl;
}
.ltr .search-wrap input { direction: ltr; }
.search-wrap input::placeholder { color: rgba(255,255,255,0.3); }

/* Area Group */
.area-group { margin-bottom: 64px; }
.ag-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
}
.ag-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ag-icon.south  { background: linear-gradient(135deg, rgba(30,144,255,.2), rgba(30,144,255,.08)); }
.ag-icon.riyadh { background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.08)); }
.ag-title-block { flex: 1; }
.ag-title-block h2 { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 3px; }
.ag-title-block p  { font-size: .82rem; color: rgba(255,255,255,.5); }
.ag-count {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  white-space: nowrap;
}
.ag-count span { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.5); }

/* Areas Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* Area Card */
.area-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  transition: var(--tr);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,144,255,.06), transparent);
  opacity: 0;
  transition: var(--tr);
}
.area-card:hover {
  border-color: rgba(30,144,255,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.area-card:hover::before { opacity: 1; }

.area-card.gold::before {
  background: linear-gradient(135deg, rgba(201,168,76,.06), transparent);
}
.area-card.gold:hover { border-color: rgba(201,168,76,.3); }

.area-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: rgba(30,144,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--tr);
}
.area-card.gold .area-icon { background: rgba(201,168,76,0.1); }
.area-card:hover .area-icon { transform: scale(1.1); }

.area-info { flex: 1; min-width: 0; }
.area-name-ar {
  font-size: .95rem; font-weight: 700; color: #fff;
  margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.area-name-en {
  font-size: .73rem; color: rgba(255,255,255,.45);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.area-call-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(30,144,255,0.12);
  border: 1px solid rgba(30,144,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: var(--tr);
}
.area-call-btn:hover { background: var(--blue); color: #fff; transform: scale(1.1); }
.area-call-btn.gold-btn {
  background: rgba(201,168,76,.12);
  border-color: rgba(201,168,76,.25);
  color: var(--gold);
}
.area-call-btn.gold-btn:hover { background: var(--gold); color: var(--navy); }

/* Hidden card (search) */
.area-card.hidden { display: none; }

/* No results */
.no-results {
  text-align: center;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.no-results p { font-size: 1rem; color: rgba(255,255,255,.45); }

/* ── CTA SECTION ── */
.areas-cta-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--navy), #0A1228);
}
.areas-cta-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.acb-content h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.acb-content p  { font-size: .9rem; color: rgba(255,255,255,.6); max-width: 440px; }
.acb-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.acb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .92rem;
  transition: var(--tr); white-space: nowrap;
}
.acb-btn.blue { background: linear-gradient(135deg, var(--blue), var(--blue-dk)); color: #fff; }
.acb-btn.blue:hover  { transform: translateY(-2px); box-shadow: var(--sh-blue); }
.acb-btn.outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
}
.acb-btn.outline:hover { border-color: var(--gold); color: var(--gold); }
.acb-btn.green { background: linear-gradient(135deg, var(--green), #128C7E); color: #fff; }
.acb-btn.green:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(37,211,102,.35); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .areas-hero { min-height: 50vh; padding: 120px 20px 60px; }
  .areas-hero-stats { flex-wrap: wrap; gap: 16px; }
  .ahs-div { display: none; }
  .ahs { flex: 0 0 calc(33% - 8px); }
  .ag-header { flex-wrap: wrap; gap: 12px; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .areas-cta-box { flex-direction: column; text-align: center; padding: 32px 24px; }
  .acb-actions { justify-content: center; }
}
@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr; }
}
