/* ============================================================
   about.css — أنماط صفحة من نحن

   المحتويات:
   1. Page Hero — رأس الصفحة
   2. Breadcrumb — مسار التنقل
   3. Story — قصتنا
   4. Mission & Vision — الرسالة والرؤية
   5. Team — فريقنا
   6. Values — قيمنا
   7. CTA — قسم الحجز (مستعار من sections.css)
   8. Responsive — الجوال
============================================================ */


/* ============================================================
   1. Page Hero — رأس الصفحة
============================================================ */
#page-hero {
  position:   relative;
  min-height: 52vh;
  margin-top: var(--nav-height);
  background: var(--bg-mid);
  overflow:   hidden;

  display:         flex;
  flex-direction:  column;
  justify-content: flex-end;
  padding:         60px 48px 80px;
}

/* شبكة الخلفية */
.page-hero-grid {
  position: absolute;
  inset:    0;
  background-image:
    linear-gradient(rgba(26, 92, 58, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 92, 58, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  z-index: 0;
}

/* تدرج سفلي للعمق */
#page-hero::after {
  content:  '';
  position: absolute;
  bottom:   0;
  right:    0;
  left:     0;
  height:   200px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--bg-mid)
  );
  z-index: 1;
  pointer-events: none;
}

/* محتوى الرأس */
.page-hero-content {
  position: relative;
  z-index:  2;
  max-width: 680px;
}

/* النص الصغير فوق العنوان */
.page-hero-eyebrow {
  display:       flex;
  align-items:   center;
  gap:           10px;
  margin-bottom: 20px;
  animation:     fade-up 0.7s ease both;
}

.page-hero-eyebrow span:last-child {
  font-size:      var(--fs-xs);
  letter-spacing: 4px;
  color:          var(--color-gold);
  text-transform: uppercase;
}

/* العنوان الرئيسي */
.page-hero-title {
  font-family:   var(--font-display);
  font-size:     clamp(40px, 5vw, 72px);
  font-weight:   300;
  line-height:   1.05;
  margin-bottom: 20px;
  animation:     fade-up 0.7s 0.1s ease both;
}

/* الوصف */
.page-hero-desc {
  font-size:   var(--fs-base);
  color:       var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  max-width:   560px;
  animation:   fade-up 0.7s 0.2s ease both;
}

/* الكلمة الديكورية في الخلفية */
.page-hero-deco {
  position:    absolute;
  top:         50%;
  left:        48px;
  transform:   translateY(-50%);
  font-family: var(--font-display);
  font-size:   clamp(80px, 12vw, 160px);
  font-weight: 300;
  color:       rgba(201, 168, 76, 0.04);
  white-space: nowrap;
  z-index:     0;
  user-select: none;
  pointer-events: none;
}


/* ============================================================
   2. Breadcrumb — مسار التنقل
============================================================ */
.breadcrumb {
  position:      relative;
  z-index:       2;
  display:       flex;
  align-items:   center;
  gap:           8px;
  margin-bottom: 32px;
  animation:     fade-up 0.6s ease both;
}

.breadcrumb a {
  font-size:   var(--fs-xs);
  color:       var(--text-muted);
  letter-spacing: 1px;
  transition:  color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb-sep {
  font-size: var(--fs-xs);
  color:     var(--text-faint);
}

.breadcrumb span:last-child {
  font-size:   var(--fs-xs);
  color:       var(--color-gold);
  letter-spacing: 1px;
}


/* ============================================================
   3. Story — قصتنا
============================================================ */
#about-story {
  display:     grid;
  grid-template-columns: 1fr 1fr;
  gap:         80px;
  align-items: center;
  padding:     var(--space-2xl) 48px;
  background:  var(--bg-mid);
}

/* الجانب البصري */
.story-visual {
  position: relative;
}

.story-img-frame {
  position:   relative;
  height:     480px;
  background: var(--bg-mid);
  border:     0.5px solid var(--border-gold);
  display:    flex;
  align-items: center;
  justify-content: center;
  overflow:   visible;
}

/* زوايا ذهبية */
.story-img-frame::before,
.story-img-frame::after {
  content:      '';
  position:     absolute;
  width:        48px;
  height:       48px;
  border-color: var(--color-gold);
  border-style: solid;
  opacity:      0.4;
}

.story-img-frame::before {
  top:   -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.story-img-frame::after {
  bottom: -1px;
  left:   -1px;
  border-width: 0 0 2px 2px;
}

/* الشعار داخل الإطار */
.story-logo {
  width:   200px;
  height:  auto;
  opacity: 0.8;
}

/* البطاقات العائمة على الإطار */
.story-float-card {
  position:   absolute;
  background: var(--bg-mid);
  border:     0.5px solid var(--border-gold);
  padding:    16px 20px;
  display:    flex;
  flex-direction: column;
  gap:        4px;
  animation:  gentle-float 5s ease-in-out infinite;
}

.story-float-card--1 {
  bottom:         -24px;
  right:          -24px;
  animation-delay: 0s;
}

.story-float-card--2 {
  top:            -24px;
  left:           -24px;
  animation-delay: 2.5s;
}

.float-card-num {
  font-family: var(--font-display);
  font-size:   32px;
  font-weight: 600;
  color:       var(--color-gold);
  line-height: 1;
}

.float-card-label {
  font-size:   var(--fs-xs);
  color:       var(--text-muted);
  letter-spacing: 1px;
}

/* محتوى القصة */
.story-content {
  display:        flex;
  flex-direction: column;
  gap:            0;
}

.story-content .section-title {
  margin-bottom: var(--space-md);
}

.story-text {
  font-size:     var(--fs-base);
  color:         var(--text-muted);
  line-height:   1.9;
  font-weight:   300;
  margin-bottom: var(--space-md);
}

/* الإحصاءات الصغيرة */
.story-mini-stats {
  display:       flex;
  gap:           var(--space-lg);
  padding-top:   var(--space-md);
  margin-top:    var(--space-sm);
  border-top:    0.5px solid var(--border-gold);
}

.mini-stat {
  display:        flex;
  flex-direction: column;
  gap:            4px;
}

.mini-stat-num {
  font-family: var(--font-display);
  font-size:   36px;
  font-weight: 600;
  color:       var(--color-gold);
  line-height: 1;
}

.mini-stat-label {
  font-size:      var(--fs-xs);
  color:          var(--text-muted);
  letter-spacing: 0.5px;
}


/* ============================================================
   4. Mission & Vision — الرسالة والرؤية
============================================================ */
#about-mission {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   2px;
  background:            var(--bg-mid);
}

/* البطاقة الواحدة */
.mission-card {
  padding:    48px 36px;
  background: var(--bg-mid);
  border:     0.5px solid var(--bg-mid);
  position:   relative;
  transition: background 0.3s ease;
}

.mission-card:hover {
  background: var(--bg-mid);
}

/* خط علوي يظهر عند التحويم */
.mission-card::before {
  content:    '';
  position:   absolute;
  top:        0;
  right:      0;
  left:       0;
  height:     2px;
  background: linear-gradient(
    to left,
    var(--color-gold),
    var(--color-green)
  );
  transform:        scaleX(0);
  transform-origin: right;
  transition:       transform 0.3s ease;
}

.mission-card:hover::before {
  transform: scaleX(1);
}

/* الأيقونة */
.mission-icon {
  font-size:     36px;
  margin-bottom: 20px;
  line-height:   1;
}

/* النص الصغير فوق العنوان */
.mission-eyebrow {
  font-size:      var(--fs-xs);
  letter-spacing: 3px;
  color:          var(--color-gold);
  text-transform: uppercase;
  margin-bottom:  10px;
}

/* العنوان */
.mission-card h3 {
  font-family:   var(--font-arabic);
  font-size:     var(--fs-lg);
  font-weight:   700;
  color:         var(--text-primary);
  margin-bottom: 16px;
}

/* الوصف */
.mission-card p {
  font-size:   var(--fs-sm);
  color:       var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}


/* ============================================================
   5. Team — فريقنا
============================================================ */
#about-team {
  padding:    var(--space-2xl) 48px;
  background: var(--bg-mid);
}

/* شبكة الفريق */
.team-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   var(--space-md);
  margin-top:            var(--space-xl);
}

/* البطاقة الواحدة */
.team-card {
  background:  var(--bg-mid);
  border:      0.5px solid var(--border-gold);
  overflow:    hidden;
  transition:  transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform:    translateY(-6px);
  border-color: var(--color-gold);
}

/* الصورة / الأفاتار */
.team-avatar {
  height:          200px;
  background:      var(--bg-mid);
  display:         flex;
  align-items:     center;
  justify-content: center;
  border-bottom:   0.5px solid var(--border-gold);
  position:        relative;
  overflow:        hidden;
}

/* عندما لا تتوفر صورة */
.team-avatar-placeholder {
  width:           90px;
  height:          90px;
  border-radius:   50%;
  background:      var(--bg-card);
  border:          0.5px solid var(--border-gold);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--font-display);
  font-size:       28px;
  font-weight:     600;
  color:           var(--color-gold);
  letter-spacing:  2px;
}

/* خط أخضر في أسفل الأفاتار */
.team-avatar::after {
  content:    '';
  position:   absolute;
  bottom:     0;
  right:      0;
  left:       0;
  height:     2px;
  background: linear-gradient(
    to left,
    var(--color-gold),
    var(--color-green)
  );
}

/* معلومات العضو */
.team-info {
  padding: var(--space-md);
}

/* الاسم */
.team-name {
  font-family:   var(--font-arabic);
  font-size:     var(--fs-md);
  font-weight:   700;
  color:         var(--text-primary);
  margin-bottom: 4px;
}

/* المسمى الوظيفي */
.team-role {
  font-size:      var(--fs-xs);
  color:          var(--color-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom:  12px;
}

/* النبذة */
.team-bio {
  font-size:     var(--fs-sm);
  color:         var(--text-muted);
  line-height:   1.7;
  font-weight:   300;
  margin-bottom: var(--space-sm);
}

/* اللغات */
.team-langs {
  display:  flex;
  flex-wrap: wrap;
  gap:      6px;
}

.team-langs span {
  font-size:  11px;
  color:      var(--text-muted);
  background: var(--bg-mid);
  border:     0.5px solid var(--border-gold);
  padding:    3px 8px;
}


/* ============================================================
   6. Values — قيمنا
============================================================ */
#about-values {
  padding:    var(--space-2xl) 48px;
  background: var(--bg-mid);
}

/* شبكة القيم */
.values-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   var(--space-md);
}

/* العنصر الواحد */
.value-item {
  padding:     var(--space-lg) var(--space-md);
  background:  var(--bg-mid);
  border:      0.5px solid var(--bg-mid);
  position:    relative;
  transition:  background 0.3s ease, border-color 0.3s ease;
}

.value-item:hover {
  background:   var(--bg-mid);
  border-color: var(--border-gold);
}

/* الرقم */
.value-num {
  display:        block;
  font-family:    var(--font-display);
  font-size:      44px;
  font-weight:    300;
  color:          rgba(26, 92, 58, 0.12);
  line-height:    1;
  margin-bottom:  12px;
  transition:     color 0.3s ease;
}

.value-item:hover .value-num {
  color: rgba(201, 168, 76, 0.15);
}

/* الأيقونة */
.value-icon {
  display:       block;
  font-size:     28px;
  margin-bottom: 14px;
  line-height:   1;
}

/* العنوان */
.value-item h4 {
  font-family:   var(--font-arabic);
  font-size:     var(--fs-base);
  font-weight:   700;
  color:         var(--text-primary);
  margin-bottom: 10px;
}

/* الوصف */
.value-item p {
  font-size:   var(--fs-sm);
  color:       var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}


/* ============================================================
   7. CTA — نفس أسلوب sections.css
============================================================ */
#cta-banner {
  padding:     var(--space-2xl) 48px;
  background:  var(--bg-mid);
  text-align:  center;
  position:    relative;
  overflow:    hidden;
}

.cta-glow {
  position:       absolute;
  top:            50%;
  left:           50%;
  transform:      translate(-50%, -50%);
  width:          600px;
  height:         600px;
  border-radius:  50%;
  background:     radial-gradient(
    circle,
    rgba(26, 92, 58, 0.08),
    transparent 65%
  );
  pointer-events: none;
}

#cta-banner h2 {
  font-family:   var(--font-display);
  font-size:     clamp(32px, 4.5vw, 60px);
  font-weight:   300;
  line-height:   1.1;
  margin-bottom: var(--space-sm);
  position:      relative;
  z-index:       1;
}

#cta-banner p {
  font-size:    var(--fs-base);
  color:        var(--text-muted);
  line-height:  1.75;
  max-width:    440px;
  margin:       0 auto var(--space-lg);
  position:     relative;
  z-index:      1;
}

.cta-buttons {
  display:         flex;
  gap:             var(--space-sm);
  justify-content: center;
  flex-wrap:       wrap;
  position:        relative;
  z-index:         1;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  padding:   14px 36px;
  font-size: var(--fs-base);
}


/* ============================================================
   8. Responsive — الجوال
============================================================ */
@media (max-width: 1024px) {

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  #page-hero {
    padding: 48px var(--space-md) 60px;
  }

  .page-hero-deco {
    display: none;
  }

  /* القصة: عمود واحد */
  #about-story {
    grid-template-columns: 1fr;
    gap:                   var(--space-xl);
    padding:               var(--space-xl) var(--space-md);
  }

  .story-img-frame {
    height: 300px;
  }

  /* الرسالة والرؤية */
  #about-mission {
    grid-template-columns: 1fr;
  }

  /* الفريق */
  #about-team {
    padding: var(--space-xl) var(--space-md);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  /* القيم */
  #about-values {
    padding: var(--space-xl) var(--space-md);
  }

  #cta-banner {
    padding: var(--space-xl) var(--space-md);
  }
}

@media (max-width: 600px) {

  .values-grid {
    grid-template-columns: 1fr;
  }

  .story-mini-stats {
    flex-wrap: wrap;
    gap:       var(--space-md);
  }

  .cta-buttons {
    flex-direction: column;
    align-items:    center;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width:      100%;
    max-width:  320px;
    text-align: center;
  }
}
