/* ============================================================
   صفحات «درباره ما» و «تماس با ما»
   🧑‍🏫 از متغیرهای variables.css استفاده می‌کند (--brand و...).
   ============================================================ */

/* ---------- بخش قهرمان (بالای صفحه) ---------- */
.page-hero {
  /* background: linear-gradient(135deg, #1f2937, #111827); */
  background-image: url("/static/images/backgroundabout12.jpg");
  color: #fff;
  padding: 48px 16px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 24px auto;
  position: relative;
  overflow: hidden;
}

/* نوار بالای کادر  */
/* .page-hero::before {
  content: "";
  position: absolute; top: 0; right: 0; left: 0; height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--warning));
} */
 
.page-hero h1 { font-size: 1.8rem; margin-bottom: 10px; }
.page-hero p { color: #ffffff; max-width: 620px; margin: 0 auto; line-height: 1.9; font-size: .95rem; }

/* ---------- بلوک متن + ویژگی‌ها ---------- */
.about-intro { margin: 32px auto; }
.about-intro p { line-height: 2.1; color: var(--text); font-size: .98rem; margin-bottom: 14px; }

.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px auto;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
}
.stat-card .num { font-size: 2rem; font-weight: 800; color: var(--brand); }
.stat-card .label { color: var(--text-muted); font-size: .88rem; margin-top: 6px; }

/* ---------- گالری عکس و ویدیو ---------- */
.media-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px auto;
}
.media-grid img,
.media-grid video {
  width: 100%; border-radius: var(--radius-lg); display: block;
  box-shadow: var(--shadow); background: #e5e7eb; aspect-ratio: 16/11; object-fit: cover;
}

/* ---------- تیم (چیدمان دایره‌ای) ---------- */
.team-section { margin: 40px auto; text-align: center; }

.team-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; margin-bottom: 36px; }

.team-member { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.team-photo {
  border-radius: 50%; overflow: hidden; background: var(--surface);
  border: 4px solid var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* مدیرعامل: بزرگ‌ترین */
.team-ceo .team-photo { width: 180px; height: 180px; }
.team-ceo .team-name { font-size: 1.1rem; font-weight: 800; }

/* مدیران: متوسط */
.team-manager .team-photo { width: 140px; height: 140px; border-color: #374151; }

/* پرسنل: کوچک‌تر */
.team-staff .team-photo { width: 110px; height: 110px; border-color: var(--border); }
.team-staff .team-name { font-size: .9rem; }

.team-name { color: var(--text); font-weight: 700; }
.team-role { color: var(--text-muted); font-size: .82rem; }

/* ---------- فرم تماس ---------- */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; margin: 32px auto;
  align-items: start;
}
.contact-info {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.contact-info h3 { margin-bottom: 18px; }
.contact-info .info-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.contact-info .info-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--brand-light);
  color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-info .info-row strong { display: block; margin-bottom: 3px; font-size: .9rem; }
.contact-info .info-row span { color: var(--text-muted); font-size: .85rem; }

.contact-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.contact-form-card h3 { margin-bottom: 18px; }
.contact-form-card .form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.contact-form-card label { font-size: .88rem; color: var(--text); }
.contact-form-card input,
.contact-form-card textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: inherit; font-size: .92rem; outline: none;
  transition: border-color .2s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus { border-color: var(--brand); }
.contact-submit {
  background: var(--brand); color: #fff; border: none; border-radius: var(--radius);
  padding: 12px 28px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .2s;
}
.contact-submit:hover { background: var(--brand-dark); }

.icons{
  display: flex;
  /* justify-content: center; */
  gap: 20px;
  margin-top: 40px;
  margin-right: 25px;
}
.icons a {
  color: #1e293b;
  font-size: 20px;
  transition: 0.3s;
}

#instagram:hover{
  color: red;
}

#telegram:hover{
  color: #00bcd4;
}
#whatsapp:hover{
  color: rgb(16, 228, 27);
}

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 900px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .media-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
