/* ============================================================
   ✅ استایل صفحه تماس با ما - آرامیس
   ============================================================ */

/* ----- لایه‌بندی ویدیو پس‌زمینه ----- */
.fixed-video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.fixed-video-bg .background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: .5;
}

.contact-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   بخش ۱: Hero (تغییر نمی‌کنه)
   ============================================================ */
.hero-only {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-center {
  text-align: center;
  color: var(--light, #e0dfdd);
}

.logo-aramis-0 {
  width: min(70vw, 420px);
  height: auto;
}

.shoar {
  margin-top: 1rem;
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-weight: 400;
  color: var(--light, #e0dfdd);
}

/* ============================================================
   بخش ۲: داستان برند (تغییرات جدید)
   ============================================================ */
.brand-story {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.brand-story p {
  text-align: right;
  color: var(--light, #e0dfdd);
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  line-height: 2.8;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  padding: 0 1rem;
}

/* ============================================================
   بخش ۳: کارت‌های تماس (تغییرات جدید)
   ============================================================ */
.contact-block {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* کارت‌های مربعی - بزرگ‌تر */
.contact-card {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  position: relative;
}

/* هاور کارت‌ها */
.contact-card:hover {
  transform: scale(1.06);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

/* آیکون داخل کارت - سفید */
.contact-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  color: var(--light); 
}

.contact-card .card-icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: all 0.3s ease;
}

/* حالت فعال (باز بودن آدرس/تلفن) */
.contact-card--info[data-open="true"] {
  background: var(--light);
  border-color: var(--dark);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.contact-card--info[data-open="true"] .card-text {
color: var(--dark);
}

.contact-card--info[data-open="true"] .card-icon {
  display: none !important;
}

/* متن آدرس و تلفن */
.card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.6;
color: var(--dark);
  padding: 0.5rem;
  width: 100%;
  height: 100%;
}

.card-text a {
color: var(--dark);
  text-decoration: none;
  border-bottom: 1px dotted rgba(0,0,0,0.2);
  font-size: 0.85rem;
}

.card-text a:hover {
  border-bottom-color: var(--primary, #47b59e);
}

.contact-card--info .card-text[hidden] {
  display: none !important;
}

/* ============================================================
   بخش ۴: لوگوهای اعتماد (تغییرات جدید)
   ============================================================ */
.trust-logos {
  height: 20vh;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  padding: 0 1rem;
  background: transparent;
}

.trust-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80%;
  max-height: 16vh;
  padding: 0.3rem 0.8rem;
  background: transparent;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
}

/* هاور لوگوهای اعتماد */
.trust-logos a:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.05);
}

.trust-logos img {
  height: 100%;
  max-height: 16vh;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  transition: all 0.3s ease;
}

.trust-logos a:hover img {
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

/* ============================================================
   فوتر (دست نمی‌زنیم)
   ============================================================ */
footer {
  position: relative;
  z-index: 2;
}

/* ============================================================
   ریسپانسیو
   ============================================================ */
/* تبلت و موبایل بزرگ - دو تا دو تا کنار هم */
@media (max-width: 992px) and (min-width: 481px) {
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 400px;
  }

  .contact-card {
    width: 100%;
    height: 150px;
    aspect-ratio: 1/1;
  }

  .contact-card .card-icon img {
    width: 36px;
    height: 36px;
  }
}

/* موبایل کوچک - زیر هم */
@media (max-width: 480px) {
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .contact-card {
    width: 120px;
    height: 120px;
    border-radius: 16px;
  }

  .contact-card .card-icon img {
    width: 32px;
    height: 32px;
  }

  .brand-story {
    padding: 1rem;
    height: 100vh;
  }

  .brand-story p {
    font-size: clamp(0.8rem, 2.8vw, 1rem);
    line-height: 2;
    padding: 0 0.5rem;
  }

  .trust-logos {
    gap: 0.5rem;
    height: 15vh;
    min-height: 60px;
  }

  .trust-logos a {
    padding: 0.1rem 0.3rem;
  }

  .trust-logos img {
    max-height: 12vh;
  }

  .card-text {
    font-size: 0.7rem;
  }

  .card-text a {
    font-size: 0.65rem;
  }
}

/* دسکتاپ بزرگ */
@media (min-width: 1200px) {
  .contact-card {
    width: 180px;
    height: 180px;
  }

  .contact-card .card-icon img {
    width: 44px;
    height: 44px;
  }

  .contact-grid {
    gap: 3rem;
  }
}

