/* ═══════════════════════════════════════════════════
   نماء العقارية — الورقة الرئيسية للتنسيق (محسّنة)
   متوافقة مع RTL وسيرفرات Linux
   مع FontAwesome و Modern UI Updates
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ── المتغيرات ── */
:root {
  --primary:        #4B3621;
  --primary-light:  #6b5040;
  --accent:         #CD7F32;
  --accent-light:   #e09a50;
  --bg:             #faf9f5;
  --bg-card:        #ffffff;
  --text-main:      #2d2010;
  --text-muted:     #7a6652;
  --border:         #e8ddd0;
  --shadow-soft:    0 4px 24px rgba(75,54,33,.08);
  --shadow-card:    0 8px 32px rgba(75,54,33,.10);
  --radius:         12px;
  --radius-lg:      20px;
}

/* ── إعادة الضبط الأساسية ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { 
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }

/* ── منع أي قسم من التمدد خارج الشاشة ── */
section, header, footer, main, .section {
  max-width: 100%;
  overflow-x: hidden;
}

/* ── تجاهل input المخفي من iOS Safari ── */
input[style*="-9999"] {
  display: none !important;
}

/* ── الحاوية الرئيسية - تمنع iOS Safari scroll أفقي ── */
#page-wrapper {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* ── الحاوية ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════════════════════
   شريط التنقل
   ══════════════════════════ */
.navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 999;
  transition: all .3s ease;
  padding: 20px 0;
}
.navbar.scrolled {
  background: rgba(250,249,245,.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img {
  height: auto;
  max-width: 100%;
}
.logo-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
  font-size: 20px;
  color: #fff;
}
.navbar.scrolled .logo-icon { background: var(--primary); color: #fff; border-color: var(--primary); }

.logo-text-main {
  font-size: 1.15rem; font-weight: 900;
  color: #fff;
  transition: color .3s;
  display: block;
}
.navbar.scrolled .logo-text-main { color: var(--primary); }

.logo-text-sub {
  font-size: .72rem; font-weight: 600;
  color: var(--accent);
  display: block;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: .97rem; font-weight: 600;
  color: rgba(255,255,255,.9);
  transition: color .2s, transform .2s;
}
.nav-links a:hover { color: var(--accent); transform: translateY(-1px); }
.navbar.scrolled .nav-links a { color: var(--primary); }
.navbar.scrolled .nav-links a:hover { color: var(--accent); }

.btn-cta {
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: .93rem;
  box-shadow: 0 4px 16px rgba(205,127,50,.3);
  transition: box-shadow .2s, transform .2s !important;
}
.btn-cta:hover { box-shadow: 0 6px 24px rgba(205,127,50,.45); transform: translateY(-2px) !important; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle {
  background: none; border: none; cursor: pointer;
  font-family: 'Tajawal', sans-serif;
  font-size: .97rem; font-weight: 600;
  color: rgba(255,255,255,.9);
  display: flex; align-items: center; gap: 5px;
  transition: color .2s;
}
.navbar.scrolled .dropdown-toggle { color: var(--primary); }
.dropdown-toggle:hover { color: var(--accent); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(75,54,33,.12);
  padding: 8px 0;
  display: none;
  z-index: 100;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu.open { display: block; }
.dropdown-menu a {
  display: block;
  padding: 11px 20px;
  font-size: .9rem; font-weight: 600;
  color: var(--primary);
  transition: background .15s, color .15s;
}
.dropdown-menu a:hover { background: rgba(205,127,50,.06); color: var(--accent); }
.dropdown-menu a.highlight {
  font-weight: 900;
  color: var(--accent);
  background: rgba(205,127,50,.06);
  border-bottom: 1px solid rgba(205,127,50,.2);
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px;
  color: #fff;
  font-size: 1.6rem;
}
.navbar.scrolled .mobile-toggle { color: var(--primary); }
/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.close-btn {
  background: var(--bg); border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--text-muted);
}
.mobile-nav-links {
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-nav-links a {
  font-size: 1.2rem; font-weight: 700;
  color: var(--primary);
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: background .15s;
}
.mobile-nav-links a:hover { background: var(--bg); }
.mobile-cta {
  display: block;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #e09a50);
  color: #fff !important;
  font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 6px 20px rgba(205,127,50,.3);
  margin-top: 8px;
}

/* ══════════════════════════
   السلايدر (Hero Slider)
   ══════════════════════════ */
.hero-slider, .slider-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* الشرائح */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide.prev   { opacity: 0; z-index: 0; }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 8s ease;
  transform: scale(1.06);
}
.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(30,15,5,.72) 0%, rgba(15,8,2,.42) 55%, transparent 100%);
}

.slide-content {
  position: relative; z-index: 2;
  text-align: right;
  max-width: 680px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .7s ease .3s, opacity .7s ease .3s;
}
.slide.active .slide-content { transform: translateY(0); opacity: 1; }
.slide-title {
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.slide-subtitle {
  font-size: 1.1rem; font-weight: 500;
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
  line-height: 1.8;
  max-width: 500px;
}
.slide-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 10px; align-items: center;
}
.slide-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s;
}
.slide-dot.active {
  background: #fff;
  border-color: var(--accent);
  transform: scale(1.3);
}
.slide-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
  z-index: 5;
}
.slide-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}
.slide-arrow.prev { right: 40px; }
.slide-arrow.next { left: 40px; }

/* ══════════════════════════
   الأقسام العامة
   ══════════════════════════ */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-badge {
  display: inline-block;
  font-size: .8rem; font-weight: 800;
  color: var(--accent);
  background: rgba(205,127,50,.08);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 2px;
  margin: 24px auto 0;
}

/* ══════════════════════════
   شبكة الإحصائيات
   ══════════════════════════ */
.stats-section { background: var(--primary); padding: 60px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stats-grid > div { text-align: center; }
.stat-value {
  font-size: 2.4rem; font-weight: 900;
  color: var(--accent);
  margin-bottom: 8px;
}
.stat-label {
  font-size: .95rem; font-weight: 600;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

/* ══════════════════════════
   شبكة المنتجات (Property Cards)
   ══════════════════════════ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.property-card {
  border-radius: 2rem;
  overflow: hidden;
  background: var(--bg-card);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-soft);
}

.property-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-card);
}

.card-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: var(--bg);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-card:hover .card-image img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(205,127,50,.95);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.card-featured {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  z-index: 2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-location {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-icon {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(205,127,50,.1);
  border-radius: 50%;
}

.card-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 16px;
}

.card-price small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-footer {
  padding: 16px 24px 24px;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.btn-details,
.btn-whatsapp {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-details {
  background: var(--accent);
  color: #fff;
}

.btn-details:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(205,127,50,.3);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #20ba5c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
}

/* ══════════════════════════
   قسم "من نحن"
   ══════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-image img { width: 100%; height: auto; }
.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-accent { color: var(--accent); }
.about-content p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: .98rem;
}

.values-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.value-item {
  display: flex;
  gap: 16px;
}
.value-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.value-title {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  font-size: .95rem;
}
.value-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* ══════════════════════════
   قسم الخدمات
   ══════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.15);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════
   قسم التواصل
   ══════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-label {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  font-size: .9rem;
}

.contact-value {
  color: var(--text-muted);
  font-size: .95rem;
}

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  background: #25d366;
  color: #fff;
  transition: all .3s;
  margin-top: 8px;
}

.btn-wa:hover {
  background: #20ba5c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
}

/* Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 700;
  color: var(--primary);
  font-size: .85rem;
}

.form-control {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Tajawal', sans-serif;
  font-size: .95rem;
  color: var(--text-main);
  transition: border-color .2s, box-shadow .2s;
  background: var(--bg);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(205,127,50,.1);
}

.btn-submit {
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(205,127,50,.3);
  margin-top: 8px;
}

.btn-submit:hover {
  box-shadow: 0 6px 24px rgba(205,127,50,.45);
  transform: translateY(-2px);
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .9rem;
  border: 1px solid transparent;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Map */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.map-wrapper iframe { width: 100%; height: 360px; border: none; display: block; }

/* ══════════════════════════
   صفحة تفاصيل العقار
   ══════════════════════════ */
.property-hero {
  height: 55vh; min-height: 380px;
  position: relative; overflow: hidden;
}
.property-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.property-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,15,5,.8) 0%, transparent 60%);
}
.property-hero-info {
  position: absolute;
  bottom: 32px; right: 0; left: 0;
  padding: 0 20px;
}
.property-hero-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
  margin-bottom: 10px;
}
.property-hero-price {
  font-size: 1.6rem; font-weight: 900;
  color: var(--accent-light);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 48px 0;
  align-items: start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.spec-box {
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px;
}
.spec-box .icon { font-size: 1.2rem; }
.spec-box .label { font-size: .78rem; color: var(--text-muted); }
.spec-box .value { font-weight: 800; color: var(--primary); font-size: .93rem; }

.contact-sidebar {
  position: sticky; top: 100px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.contact-card h3 { font-size: 1.1rem; font-weight: 900; color: var(--primary); margin-bottom: 20px; }
.phone-list { display: flex; flex-direction: column; gap: 10px; }
.phone-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.phone-label { font-size: .78rem; color: var(--text-muted); }
.phone-number { font-weight: 800; color: var(--primary); font-size: .95rem; direction: ltr; }
.btn-call, .btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px;
  border-radius: 50px;
  font-size: .97rem; font-weight: 700;
  margin-top: 12px;
  transition: transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-call { background: var(--primary); color: #fff; }
.btn-call:hover { background: var(--primary-light); color: #fff; transform: translateY(-1px); }
.btn-wa   { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1da851; color: #fff; transform: translateY(-1px); }

/* Property Numbers */
.prop-numbers { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.prop-num-item { font-size: .83rem; color: var(--text-muted); margin-bottom: 5px; }
.prop-num-item strong { color: var(--primary); }

/* Description */
.description-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
}
.description-box h2 { font-size: 1.15rem; font-weight: 900; color: var(--primary); margin-bottom: 14px; }
.description-box p  { color: var(--text-muted); line-height: 1.9; }

/* ══════════════════════════
   صفحة العقارات — الفلتر
   ══════════════════════════ */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.filter-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: .9rem; color: var(--primary); font-weight: 600;
  background: var(--bg);
  cursor: pointer;
  min-width: 160px;
  direction: rtl;
  transition: border-color .2s;
}
.filter-select:focus { outline: none; border-color: var(--accent); }
.filter-label { font-size: .9rem; font-weight: 700; color: var(--text-muted); }

/* Upload Admin */
.upload-area {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  transition: border-color .2s;
}
.upload-area:hover { border-color: var(--accent); }

/* ══════════════════════════
   الأيقونات الاجتماعية (Social Links) - محسّنة
   ══════════════════════════ */
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(205, 127, 50, 0.3);
  text-decoration: none;
}

.social-btn:hover {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 8px 25px rgba(205, 127, 50, 0.5);
}

/* ألوان المنصات المختلفة */
.social-btn[title="Instagram"]:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn[title="Facebook"]:hover {
  background: #1877f2;
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

.social-btn[title="Twitter"]:hover {
  background: #1da1f2;
  box-shadow: 0 8px 25px rgba(29, 161, 242, 0.5);
}

.social-btn[title="WhatsApp"]:hover {
  background: #25d366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.social-btn[title="LinkedIn"]:hover {
  background: #0a66c2;
  box-shadow: 0 8px 25px rgba(10, 102, 194, 0.5);
}

.social-btn[title="Email"]:hover {
  background: #ea4335;
  box-shadow: 0 8px 25px rgba(234, 67, 53, 0.5);
}

/* ══════════════════════════
   الـ Floating Buttons
   ══════════════════════════ */
.floating-btns {
  position: fixed;
  bottom: 28px; 
  right: 24px;
  display: flex; 
  flex-direction: column; 
  gap: 10px;
  z-index: 900;
}

.fab {
  width: 52px; 
  height: 52px;
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.fab:hover { 
  transform: scale(1.12); 
  box-shadow: 0 8px 28px rgba(0,0,0,.28); 
}

.fab-wa {
  background: #25d366;
  color: #fff;
}

.fab-wa:hover {
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

.fab-phone {
  background: var(--primary);
  color: #fff;
}

.fab-phone:hover {
  box-shadow: 0 8px 28px rgba(75, 54, 33, 0.4);
}

/* ══════════════════════════
   صفحة الرئيسية — Page Top Space
   ══════════════════════════ */
.page-top { padding-top: 100px; }

/* ══════════════════════════
   Page header for inner pages
   ══════════════════════════ */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #2d1a0a 100%);
  padding: 120px 0 64px;
  text-align: center;
  color: #fff;
}
.page-header h1 { font-size: 2.4rem; font-weight: 900; margin-bottom: 12px; }
.page-header p  { color: rgba(255,255,255,.7); font-size: 1.05rem; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.breadcrumb a { color: var(--accent); }

/* ══════════════════════════
   الفوتر
   ══════════════════════════ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h2 { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-brand p  { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 20px; }
.footer h3 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 20px; }
.footer-links li + li { margin-top: 12px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 14px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p   { font-size: .83rem; color: rgba(255,255,255,.45); }
.footer-legal      { display: flex; gap: 20px; }
.footer-legal a    { font-size: .83rem; color: rgba(255,255,255,.45); }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ══════════════════════════
   Responsive Design
   ══════════════════════════ */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .properties-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: 1fr; }
  .card-specs { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }

  /* النافبار في الجوال: خلفية واضحة دائماً ليكون الهيدر مرئياً */
  .navbar {
    background: rgba(75, 54, 33, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 0;
  }
  .mobile-toggle {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 8px 12px;
  }
  .navbar.scrolled .mobile-toggle {
    background: rgba(75, 54, 33, 0.1);
    color: var(--primary) !important;
  }

  /* إصلاح المساحة الفارغة في الجوال - تأكيد قوي */
  html, body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* السلايدر: الـ section و wrapper بعرض الشاشة، لكن track يبقى مرن */
  .slider-section,
  .slider-container,
  .slider-wrapper {
    max-width: 100vw !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  
  /* slider-item عرضه عرض الشاشة بالضبط */
  .slider-item {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
  }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .slide-arrow { width: 40px; height: 40px; font-size: 1rem; }
  .section { padding: 40px 0; }
  .floating-btns { bottom: 20px; right: 20px; }
  .fab { width: 45px; height: 45px; font-size: 1.1rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .card-specs { gap: 8px; }
  .form-control { font-size: 16px; }
}
