/* about-style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
}

@font-face {
  font-family: 'Vazir';
  src: url('/contents/font/Vazir-Black.woff2') format('woff2');
  font-display: swap;
}

body {
  font-family: 'Vazir', sans-serif;
  background: #fefaf5;
  color: #2c241a;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* دکمه بازگشت (گوشه راست بالا) */
.back-home-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #2c241a;
  color: #efeadc;
  padding: 0.6rem 1rem;
  border-radius: 3rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #c7a252;
}
.back-home-btn:hover {
  background: #c7a252;
  color: #2c241a;
  transform: translateX(-4px);
}
.back-home-btn svg {
  width: 20px;
  height: 20px;
}

/* صفحه درباره ما */
.about-page {
  padding: 4rem 0;
}

/* بخش لوگو و عنوان اصلی */
.hero-about {
  text-align: center;
  margin-bottom: 4rem;
}
.about-logo {
  margin-bottom: 1.5rem;
}
.about-logo-img {
  max-width: 180px;
  border-radius: 2rem;
  background: #fff3e4;
  padding: 0.5rem 1rem;
  transition: transform 0.3s ease;
}
.about-logo-img:hover {
  transform: scale(1.02);
}
.hero-about h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #3f2e1e;
}
.hero-about h1 span {
  background: linear-gradient(135deg, #b57c48, #7f5a30);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-about p {
  font-size: 1.2rem;
  color: #7f6b4a;
}

/* تاریخچه */
.history {
  margin-bottom: 4rem;
}
.history-grid {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.history-text {
  flex: 1;
}
.history-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #b47c44;
  position: relative;
  display: inline-block;
}
.history-text h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 60px;
  height: 3px;
  background: #c7a252;
  border-radius: 2px;
}
.history-text p {
  margin-bottom: 1rem;
  color: #5b4a34;
}
.history-image {
  flex: 1;
  min-height: 280px;
}
.placeholder-img {
  width: 100%;
  height: 100%;
  background: #e4d4be;
  border-radius: 1rem;
  font-size: 1rem;
  color: #7a6233;
}

/* مأموریت و ارزش‌ها */
.mission-values {
  margin-bottom: 4rem;
  text-align: center;
}
.mission-values h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #3f2e1e;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.value-card {
  background: white;
  border-radius: 1.5rem;
  padding: 1.8rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eddabc;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
  border-color: #c7a252;
}
.value-icon svg {
  width: 56px;
  height: 56px;
  color: #c7a252;
  margin-bottom: 1rem;
}
.value-card h3 {
  font-size: 1.3rem;
  margin: 0.8rem 0;
  color: #5a3f28;
}
.value-card p {
  color: #7f6b4a;
}

/* تیم ما */
.team {
  margin-bottom: 4rem;
  text-align: center;
}
.team h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #3f2e1e;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.team-member {
  background: #fffcf5;
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid #f0e1d0;
}
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px -8px rgba(0,0,0,0.1);
}
.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: #e4d4be;
  transition: transform 0.2s;
}
.team-member:hover .member-avatar {
  transform: scale(1.03);
}
.team-member h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #4a3520;
}
.team-member p {
  color: #a78e6d;
  font-size: 0.9rem;
}

/* آمار */
.stats {
  background: linear-gradient(145deg, #fff6ed, #f5ede2);
  border-radius: 2rem;
  padding: 3rem 1rem;
  margin-bottom: 4rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: #b47c44;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 1rem;
  color: #5b4a34;
}

/* ارتباط کوتاه */
.contact-short {
  text-align: center;
  margin-bottom: 2rem;
}
.contact-short h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #3f2e1e;
}
.contact-info-about {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-card-about {
  background: white;
  border-radius: 3rem;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid #eddabc;
  transition: all 0.3s ease;
}
.contact-card-about:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  border-color: #c7a252;
}
.contact-card-about svg {
  width: 24px;
  height: 24px;
  color: #c7a252;
}
.contact-card-about span {
  color: #4a3a28;
  font-size: 0.95rem;
}

/* ریسپانسیو */
@media (max-width: 800px) {
  .container {
    padding: 0 16px;
  }
  .hero-about h1 {
    font-size: 2rem;
  }
  .history-grid {
    flex-direction: column;
  }
  .values-grid, .team-grid, .stats-grid {
    gap: 1.5rem;
  }
  .contact-info-about {
    flex-direction: column;
    align-items: center;
  }
  .contact-card-about {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .back-home-btn {
    top: 12px;
    right: 12px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 550px) {
  .about-page {
    padding: 2rem 0;
  }
  .hero-about h1 {
    font-size: 1.6rem;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .value-card, .team-member {
    padding: 1.2rem;
  }
}