/* ============================================================
   صفحه اصلی — تنظیمات دسکتاپ/تبلت هدر (home-desktop-v2.css)
   ۱. دسکتاپ (≥992px): لوگو راست | منو وسط | ورود چپ
   ۲. تبلت (769-991px): منو مخفی + همبرگر (جلوگیری از شکستن)
   ۳. موبایل (≤768px): دست نمی‌خورد (همان menu-mobile.css)
   ============================================================ */

/* ===== ۱. دسکتاپ (≥992px) ===== */
@media (min-width: 992px) {

  .site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
  }

  /* لوگو: راست، بزرگ‌تر */
  .site-header .header-inner .logo {
    flex-shrink: 0;
    margin: 0;
  }
  .site-header .header-inner .logo-img {
    width: 72px;
    height: 72px;
  }

  /* منوها: یک گروه واحد وسط صفحه */
  .site-header .header-inner .menu-desktop {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    margin-inline: auto;
    flex-shrink: 0;
  }

  /* لینک‌های منو: یک خط افقی، بدون شکستن کلمات */
  .site-header .header-inner .nav-right,
  .site-header .header-inner .nav-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin: 0;
    white-space: nowrap;
  }
  .site-header .header-inner .nav-right a,
  .site-header .header-inner .nav-left a {
    white-space: nowrap;
  }

  /* ورود/ثبت‌نام: چپ */
  .site-header .header-inner .auth-btn {
    flex-shrink: 0;
    margin: 0;
  }

  /* رزرو وقت: چپ، قبل از ورود */
  .site-header .header-inner .book-btn {
    flex-shrink: 0;
    margin: 0;
  }

  /* همبرگر در دسکتاپ مخفی */
  .site-header .hamburger {
    display: none;
  }
}


  /* رزرو وقت داخل منوی وسط — استایل لینک (نه دکمه) */
  .site-header .header-inner .nav-right .book-btn-nav {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    box-shadow: none;
    border-radius: 0;
    color: var(--white);
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    white-space: nowrap;
    align-items: initial;
    justify-content: initial;
    transition: opacity .2s ease;
  }
  .site-header .header-inner .nav-right .book-btn-nav:hover,
  .site-header .header-inner .nav-right .book-btn-nav:active {
    background: none;
    color: var(--white);
    border: none;
    box-shadow: none;
    transform: none;
    opacity: .7;
  }
  /* رزرو وقت: در حالت اسکرول/هدر روشن باید مشکی شود (مثل بقیه لینک‌ها) */
  .site-header.scrolled .header-inner .nav-right .book-btn-nav,
  .site-header.light-header .header-inner .nav-right .book-btn-nav,
  .site-header.light-header.scrolled .header-inner .nav-right .book-btn-nav {
    color: var(--black);
  }
/* ===== ۲. تبلت (769px تا 991px): منو مخفی + همبرگر ===== */
@media (min-width: 769px) and (max-width: 991px) {

  /* منوی متنی کامل مخفی — فقط همبرگر (مثل موبایل) */
  .site-header .header-inner .menu-desktop {
    display: none;
  }
  .site-header .header-inner .nav-right,
  .site-header .header-inner .nav-left {
    display: none;
  }

  /* همبرگر فعال */
  .site-header .hamburger {
    display: flex;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
  }

  /* لوگو وسط */
  .site-header .header-inner .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .site-header .header-inner .logo-img {
    width: 64px;
    height: 64px;
  }

  /* ورود/ثبت‌نام چپ */
  .site-header .auth-btn {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    font-size: 12px;
    padding: 8px 14px;
    z-index: 250;
  }

  /* رزرو وقت در تبلت مخفی است — داخل منوی همبرگری */
  .site-header .book-btn {
    display: none;
  }

  /* هدر کوتاه‌تر برای تبلت */
  .site-header {
    height: 64px;
    padding: 0 14px;
    display: flex;
    align-items: center;
  }
  .site-header.scrolled { padding: 0 14px; height: 64px; }
}

/* ===== ۳. گالری دسکتاپ: ۴ ستونه ===== */
@media (min-width: 992px) {
  .gallery-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1180px;
  }
  .gallery-card {
    aspect-ratio: 3/4;
  }
  .gallery-card .label {
    font-size: 24px;
  }
}

/* ===== ۴. فوتر تمام‌عرض دسکتاپ ===== */
@media (min-width: 992px) {
  .site-footer {
    width: 100%;
  }
  .site-footer .footer-grid {
    max-width: 100%;
    width: 100%;
    padding-left: 60px;
    padding-right: 60px;
  }
  .site-footer .footer-bottom {
    width: 100%;
  }

  /* مخفی کردن insta-label در دسکتاپ */
  .cta-band .insta-label {
    display: none;
  }
}

/* ============================================================
   هیرو — عکس تمام‌صفحه پس‌زمینه (hero-background-v1)
   عکس جدید جایگزین hero.jpg قدیمی شد
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../photos/hero-v2-desktop.webp") center/cover no-repeat;
  overflow: hidden;
  direction: rtl;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white, #fff);
  padding: 0 24px;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-family: var(--font-display, inherit);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero .est {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255,255,255,.92);
  line-height: 1.9;
  max-width: 520px;
  margin: 0 auto 22px;
}
.hero .line {
  width: 56px;
  height: 3px;
  border-radius: 99px;
  background: var(--white, #fff);
  margin: 0 auto;
}

/* از تصاویر جدید استفاده کن */
.hero { background-image: url("../photos/hero-v2-desktop.webp"); }

@media (min-width: 601px) and (max-width: 991px) {
  .hero { background-image: url("../photos/hero-v2-tablet.webp"); }
}
@media (max-width: 600px) {
  .hero { background-image: url("../photos/hero-v2-mobile.webp"); }
}
