/*
 * ============================================================
 *  style.css — ملف التحكم المركزي في تصميم الموقع
 *  يمكنك تعديل الألوان والخطوط وأحجام العناصر من هنا
 * ============================================================
 */

/* ───────────────────────────────────────────
   1. متغيرات الألوان — Colors
─────────────────────────────────────────── */
:root {
  --green:       #1a7a4a;   /* اللون الأخضر الأساسي */
  --green-dark:  #145f38;   /* الأخضر الداكن */
  --green-light: #28a062;   /* الأخضر الفاتح */
  --green-pale:  #e8f5ee;   /* الأخضر الباهت للخلفيات */
  --white:       #ffffff;
  --gray-bg:     #f4f6f8;   /* خلفية الأقسام الرمادية */
  --gray-mid:    #6c757d;
  --gray-dark:   #343a40;
  --gold:        #c9a84c;   /* اللون الذهبي */
  --shadow:      0 4px 20px rgba(0,0,0,0.1);
}

/* ───────────────────────────────────────────
   2. الخطوط — Typography
   يمكنك تغيير الخط من هنا
─────────────────────────────────────────── */
:root {
  --font-main:      'Tajawal', sans-serif;
  --font-size-base: 15px;
  --font-size-sm:   13px;
  --font-size-lg:   18px;
  --font-size-xl:   22px;
  --font-weight-normal: 400;
  --font-weight-bold:   700;
  --font-weight-black:  900;
}

/* ───────────────────────────────────────────
   3. مسارات الصور — Image Paths
   ضع مسارات صور الشريط هنا للتحكم بها مركزياً
─────────────────────────────────────────── */
:root {
  --slide1-bg: url('images/images/slide1.jpg');   /* صورة الشريط الأول */
  --slide2-bg: url('images/images/slide2.jpg');   /* صورة الشريط الثاني */
  --slide3-bg: url('images/images/slide3.jpg');   /* صورة الشريط الثالث */
  --logo-img:  url('images/logo.png');             /* شعار الجمعية */
  --about-img: url('images/images/about.jpg');    /* صورة قسم "من نحن" */
}

/* ───────────────────────────────────────────
   4. ارتفاعات وأبعاد — Dimensions
─────────────────────────────────────────── */
:root {
  --slider-height:    520px;
  --slider-height-sm: 380px;
  --navbar-height:    84px;
  --logo-size:        64px;  /* حجم الشعار في الهيدر */
  --map-height:       380px; /* ارتفاع الخريطة */
}

/* ───────────────────────────────────────────
   5. تأثيرات الانتقال — Transitions
─────────────────────────────────────────── */
:root {
  --transition-fast:   .25s ease;
  --transition-normal: .35s ease;
  --transition-slow:   .7s ease;
}

/* ───────────────────────────────────────────
   6. تعديلات الشعار — Logo Override
   الشعار هنا هو صورة بدل الدائرة الخضراء
─────────────────────────────────────────── */
.logo-circle {
  background: none !important;
  box-shadow: none !important;
  overflow: hidden;
  width: var(--logo-size) !important;
  height: var(--logo-size) !important;
}
.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.footer-logo .logo-circle {
  width: 52px !important;
  height: 52px !important;
}
.footer-logo .logo-circle img {
  border-radius: 50%;
}

/* ───────────────────────────────────────────
   7. تعديل الخريطة — Map Full Width
─────────────────────────────────────────── */
.map-section-fullwidth {
  width: 100%;
  padding: 0 0 50px;
}
.map-section-fullwidth .map-inner {
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.map-section-fullwidth .section-head {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 20px;
}
.map-section-fullwidth .map-container {
  border-radius: 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  width: 100%;
}
.map-section-fullwidth .map-container iframe {
  height: var(--map-height);
  width: 100%;
  display: block;
  border: none;
}

/* ───────────────────────────────────────────
   8. فصل الإحصائيات عن السلايدر — Stats Separator
─────────────────────────────────────────── */
.stats-section-sep {
  border-top: 6px solid var(--green-pale);
  position: relative;
}
.stats-section-sep::before {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  position: absolute;
  top: -6px;
  right: 50%;
  transform: translateX(50%);
  border-radius: 3px;
}

/* ───────────────────────────────────────────
   9. ضبط ارتفاع فورم التواصل مع المعلومات
─────────────────────────────────────────── */
.contact-grid-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.contact-grid-equal > * {
  display: flex;
  flex-direction: column;
}
.contact-form-equal {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  flex: 1;
}
.contact-info-equal {
  background: var(--gray-bg);
  border-radius: 20px;
  padding: 36px;
  flex: 1;
}
@media (max-width: 768px) {
  .contact-grid-equal {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ───────────────────────────────────────────
   10. صور الشريط الحقيقية — Slider Real Images
─────────────────────────────────────────── */
.slide-bg-photo {
  background-size: cover !important;
  background-position: center center !important;
  filter: brightness(.52);
}
