/* ============================================
   خانه هنر درمانی هیلدا - استایل‌های اصلی
   پالت رنگی الهام‌گرفته از لوگو:
   - آبی خاکستری تیره: #4A5B6F
   - آبی خاکستری روشن: #8CA1B6
   - صورتی پاستلی: #E8D5D6
   - پس‌زمینه آرام: #F5F7FA
   ============================================ */

/* ----- متغیرهای رنگی (تم شفق قطبی: آبی خاکستری → سبز زمردی) ----- */
:root {
  --color-primary: #4A5B6F;
  --color-primary-light: #6B7B8F;
  --color-secondary: #8CA1B6;
  --color-accent: #E8D5D6;
  --color-accent-warm: #D4A5A5;
  --color-aurora-top: #5F6469;
  --color-aurora-bottom: #358B6D;
  --color-bg: #F5F7FA;
  --color-bg-white: #FFFFFF;
  --color-text: #2D3748;
  --color-text-muted: #5A6A7A;
  --color-border: #E2E8F0;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --shadow-soft: 0 4px 24px rgba(74, 91, 111, 0.06);
  --shadow-hover: 0 8px 32px rgba(74, 91, 111, 0.1);
  --transition: 0.3s ease;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  direction: rtl;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: #ECEBF2;
  border-bottom: 1px solid rgba(200, 210, 220, 0.6);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav-list a:hover {
  color: var(--color-primary);
}

/* دکمه تماس در هدر */
.btn-header {
  padding: 0.65rem 1.4rem;
  background: var(--color-primary);
  color: white !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-header:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* منوی موبایل - دکمه همبرگر */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('sigmund-OV44gxH71DU-unsplash.jpg') center center / cover no-repeat;
}

.hero-aurora {
  display: none;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  z-index: 2;
  animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.95);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  transition: all var(--transition);
}

.btn-hero:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.hero-decoration {
  display: none;
}

/* ==================== SECTION TITLE ==================== */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 2.5rem;
}


/* ----- انیمیشن ظاهر شدن بخش‌ها (سبک و ساده) ----- */
.section-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== VISION SECTION ==================== */
.vision {
  position: relative;
  padding: 5rem 0;
  background: url('pierre-bamin-P2POGRtGprA-unsplash.jpg') center center / cover no-repeat;
}

.vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.vision .container {
  position: relative;
  z-index: 1;
}

.vision-ornament {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: 0 auto 2rem;
}

.vision-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.vision .section-title {
  margin-bottom: 2rem;
}

.vision-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 2;
  text-align: center;
  margin-bottom: 1rem;
}

.vision-text:last-child {
  margin-bottom: 0;
}

/* ==================== THERAPIST SECTION ==================== */
.therapist {
  position: relative;
  padding: 5rem 0;
  background: url('russn_fckr-krV5aS4jDjA-unsplash.jpg') center center / cover no-repeat;
}

.therapist::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 0;
}

.therapist .container {
  position: relative;
  z-index: 1;
}

.therapist-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  max-width: 900px;
  margin: 0 auto;
  transition: transform var(--transition), box-shadow var(--transition);
}

.therapist-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

.therapist-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
}

.therapist-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--transition);
}

.therapist-image-wrapper:hover .therapist-image {
  filter: grayscale(60%);
}

.therapist-edu {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.therapist-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.therapist-title {
  font-size: 0.95rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.therapist-bio {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
}

/* ==================== LOCATION SECTION ==================== */
.location {
  position: relative;
  padding: 5rem 0;
  background: url('Screenshot 2026-02-11 at 19.39.46.png') center center / cover no-repeat;
}

.location::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.location .container {
  position: relative;
  z-index: 1;
}

.location-card {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-hover);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.location-map {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.location-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.location-icon {
  font-size: 1.5rem;
}

.location-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.location-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ==================== FAQ SECTION ==================== */
.faq {
  position: relative;
  padding: 5rem 0;
  background: var(--color-bg-white);
}

.faq .container {
  max-width: 1200px;
}

.faq-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-card {
  background: #FAEFF1;
  min-height: 220px;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid rgba(200, 180, 190, 0.5);
  transition: all var(--transition);
}

.faq-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: #4A3F45;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.faq-answer {
  font-size: 1.05rem;
  color: #5A4F55;
  line-height: 1.85;
}

.faq-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.faq-link:hover {
  border-bottom-color: var(--color-primary);
}

@media (max-width: 900px) {
  .faq-cards {
    grid-template-columns: 1fr;
  }
}

/* ==================== CONTACT SECTION ==================== */
.contact {
  position: relative;
  padding: 5rem 0;
  background: url('markus-winkler-48CkLuEGgWU-unsplash.jpg') center center / cover no-repeat;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: #e2e8f0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-weight: 600;
  color: var(--color-primary);
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  flex-shrink: 0;
}

.contact-icon-phone,
.contact-icon-instagram {
  color: var(--color-primary);
}

.contact-phone {
  font-size: 1.35rem;
}

.instagram-handle {
  font-size: 1.1rem;
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 3rem 0;
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-align: center;
}

.footer-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

.footer .container::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-border);
  margin: 0 auto 1.5rem;
}

.footer-seo {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
  opacity: 0.9;
}

/* ==================== دکمه واتساپ شناور ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 99;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ==================== دکمه برگشت به بالا ==================== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .nav,
  .btn-header {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ECEBF2;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
  }

  .nav.open .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav.open .nav-list a {
    display: block;
    padding: 0.75rem;
  }

  .therapist-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .therapist-image-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 75vh;
    padding: 7rem 1rem 3rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .vision-quote {
    font-size: 1.15rem;
  }

  .therapist-card {
    padding: 1.5rem;
  }

  .contact-phone {
    font-size: 1.2rem;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    left: 1rem;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 1rem;
    right: 1rem;
  }
}
