@font-face {
  font-family: 'Vazir';
  src: url('fonts/Vazir-Bold-FD-WOL.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazir';
  src: url('fonts/Vazir-Black-FD-WOL.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ==============================
   پس‌زمینه و لایه شیشه‌ای
============================== */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* بهتره برای اسکرول */
  align-items: center;
  background: linear-gradient(135deg, #cce9ff, #e6f5ff);
  position: relative;
}

/* لایه شیشه‌ای روی کل صفحه */
body::before {
  content: "";
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: -1;
  pointer-events: none; /* اطمینان از اینکه لایه روی تعامل کاربر تاثیری ندارد */
}

/* ==============================
   هدر نوا آرا – حرفه‌ای و ریسپانسیو
============================== */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #cce9ff, #e6f5ff);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  box-sizing: border-box;
  height: 154px; /* ارتفاع واقعی هدر */
}

/* فاصله دادن main از هدر ثابت */
main {
  padding-top: 154px; /* برابر ارتفاع هدر */
}

/* اگر از anchor link استفاده می‌کنید */
section {
  scroll-margin-top: 154px; /* جلوگیری از مخفی شدن محتوا زیر هدر */
}

/* ریسپانسیو موبایل */
@media (max-width: 992px) {
  header {
    height: 154px;
  }
  main {
    padding-top: 154px;
  }
  section {
    scroll-margin-top: 154px;
  }
}

/* لوگو */
header .logo h1 {
  font-size: 1.8rem;
  color: #0077cc;
  margin: 0;
}
header .logo p {
  margin: 2px 0 0 0;
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}



/* منوی دسکتاپ */
header .main-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 25px;
}
header .main-menu ul li a {
  display: block;
  padding: 8px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
header .main-menu ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #0077cc;
  transition: 0.3s;
}
header .main-menu ul li a:hover::after {
  width: 100%;
}





/* مخفی کردن منوی دسکتاپ روی موبایل با کلاس اصلی */
@media (max-width: 992px) {
  .main-menu {
    display: none !important;
  }
}



/* ==============================
   فوتر نوا آرا – شیشه‌ای و مدرن
============================== */
footer {
  flex-shrink: 0;
  width: 100%;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 50px 20px 20px;
  box-sizing: border-box;
  font-family: 'Vazirmatn', sans-serif;
  color: #333;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column { flex: 1 1 220px; min-width: 220px; }

.footer-logo h2 {font-family: 'Vazir', Tahoma, Arial, sans-serif;font-size: clamp(1.2rem, 1.8vw, 1.5rem); color: #333;font-weight: 700; margin-bottom: 15px; }
.footer-logo p { font-size: 0.95rem; line-height: 1.6; color: #444; }

.footer-column h3 { font-family: 'Vazir', Tahoma, Arial, sans-serif;font-size: 1.2rem; color: #333; margin-bottom: 15px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a {font-family: 'Vazir', Tahoma, Arial, sans-serif; text-decoration: none; color: #333; transition: 0.3s; }
.footer-column ul li a:hover { color: #333; }










.social-icons { display: flex; gap: 15px; margin-top: 10px; }
.social-icons a {
  font-family: 'Osam', sans-serif;
  font-size: 1.6rem;
  color: #0077cc;
  text-decoration: none;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-icons a:last-child { margin-right: 0; }
.social-icons a:hover { color: #005fa3; transform: scale(1.2); }

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input[type="email"] {
  font-family: 'Vazirmatn', sans-serif;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
}
.newsletter-form button {
  font-family: 'Osam', sans-serif;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background-color: #0077cc;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.newsletter-form button:hover { background-color: #005fa3; }
.newsletter-message { display: none; margin-top: 10px; padding: 10px; border-radius: 8px; background-color: #d4edda; color: #155724; font-size: 0.95rem; }

.footer-bottom { text-align: center; margin-top: 30px; font-size: 0.85rem; color: #555; }

/* ریسپانسیو فوتر */
@media (max-width: 992px) {
  .footer-container { flex-direction: column; gap: 25px; }
  .footer-column { min-width: auto; } /* اطمینان از نمایش صحیح ستون‌ها */
}




/* ==============================
   دکمه سفارش فوری شناور واتس‌اپ
============================== */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

.cta-button {
  position: fixed;
  left: 20px;
  bottom: 50px;
  background-color: #25D366;
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  font-size: 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
  z-index: 9999;
}

.cta-button:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
  .cta-button {
    padding: 12px 16px;
    font-size: 16px;
    bottom: 30px;
    left: 15px;
  }
}

.main-banner h1 {
    position: relative; /* اضافه شود */
    text-align: center;
    font-size: 3rem;
color: #004080;
}

.main-banner h1::after {
    content: '';
    position: absolute;
    bottom: -10px;  /* فاصله از متن */
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #004080, #00bfff);
    border-radius: 5px;
    animation: slideIn 1s ease-in-out;
}
/* وسط چین کردن متن‌های زیر تیتر */
.main-banner .banner-content p {
    text-align: center;   /* وسط چین کردن متن */
    margin: 10px 0;       /* فاصله عمودی بین خطوط */
    color: black;
  }


.main-banner {
  display: flex;
  flex-direction: row; /* دسکتاپ دو ستون */
  align-items: center;
  justify-content: center;
  gap: 40px; /* فاصله گیف و متن */
  padding: 60px 20px;
  background: linear-gradient(135deg, #cce9ff, #e6f5ff);
  border-radius: 20px;
  direction: ltr; /* متن سمت راست و گیف سمت چپ */
  flex-wrap: wrap; /* ریسپانسیو موبایل */
  animation: fadeIn 1s ease-in-out;
}

.banner-gif {
  flex: 0 0 auto;
}

.banner-gif img {
  width: 220px; /* اندازه گیف در دسکتاپ */
  height: auto;
  border-radius: 15px;
  animation: fadeInLeft 1s ease;
}

.banner-content {
  flex: 1;
  min-width: 250px;
  text-align: right; /* متن راست چین */
}

/* آیکون‌ها */
.banner-icons {
  display: flex;
  justify-content:center; /* آیکون‌ها سمت چپ متن */
  gap: 30px;
  margin-top: 20px;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
color: #0077cc;
  cursor: pointer;
  transition: transform 0.3s, color 0.3s;
    align-items: center;     /* وسط چین کردن آیکون و متن زیرش */
    text-align: center;  
}

.icon-box i {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.icon-box span {
  font-size: 1rem;
}

.icon-box:hover {
  transform: translateY(-10px) scale(1.1);
  color: #005fa3;
}

/* انیمیشن‌ها */
@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
  .main-banner {
    flex-direction: column; /* زیر هم قرار گرفتن گیف و متن */
    text-align: center;
    gap: 20px;
  }

  .banner-gif img {
    width: 150px;
    margin-bottom: 20px;
  }

  .banner-content {
    text-align: center;
  }

  .banner-icons {
    justify-content: center;
  }
}


/* ============================= */
/* فاصله محتوای اصلی از هدر و فوتر */
/* ============================= */
main {
  padding-top: 180px;  /* فاصله از هدر، بسته به ارتفاع هدر */
  padding-bottom: 150px; /* فاصله از فوتر، بسته به ارتفاع فوتر */
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ==============================
   استایل دکمه‌های گالری
   ============================== */
.btn-gallery {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    color: #004466;
    background: linear-gradient(135deg, #cce9ff, #e6f5ff);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;

}

/* افکت هاور برای جذابیت بیشتر */
.btn-gallery:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #e6f5ff, #cce9ff);
}

/* بخش گالری */
#gallery {
  padding: 40px 20px;
  font-family: 'Vazirmatn', sans-serif;
}

.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.gallery-item video {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item video:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
/* ویدیوهای گالری */
.gallery-item video {
  width: 100%;
  height: auto; /* حفظ تناسب تصویر ویدیو */
  border-radius: 15px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block; /* جلوگیری از فضای خالی پایین ویدیو */
}

.gallery-item video:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}



/* ریسپانسیو */
@media (max-width: 768px) {
  .banner-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .banner-gif, .banner-text {
    width: 100%;
  }
}


/* استایل خط جداکننده */
.divider {
  border: none;
  height: 2px;
  background:#FFB347;/* رنگ خط */
  margin: 30px auto; /* فاصله بالا و پایین */
  width: 90%; /* طول خط */
  opacity: 0.7; /* کمی شفافیت */
}

/* مخفی کردن منوی موبایل روی دسکتاپ */
@media (min-width: 769px) {
  .mobile-nav, .hamburger-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* فقط موبایل نمایش */
@media (max-width: 768px) {
  .mobile-nav, .hamburger-menu {
    display: block !important; /* یا flex */
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

body, h1, h2, h3, p, a, span {
  font-family: 'Vazir', sans-serif;
}
/* ================================
   اعمال فونت روی همه عناصر
   ================================ */
html, body {
  font-family: 'Vazir', Tahoma, Arial, sans-serif !important;
}

/* اطمینان از اعمال روی تیترها */
h1, h2, h3, h4, h5, h6, p, span, a, li, input, button, textarea {
  font-family: 'Vazir', Tahoma, Arial, sans-serif !important;
}
.banner-gif img {
  width: 200px;      /* می‌تونی مثلا 250 یا 200 هم بذاری */
  max-width: 100%;   /* تا تو موبایل از عرض صفحه بزرگتر نشه */
  height: auto;      /* تناسب تصویر حفظ میشه */
  display: block;
  margin: 0 auto;    /* وسط‌چین میشه */
}
/* ==============================
   استایل گالری نوا آرا
   تصاویر یک اندازه، مرتب و بدون کشیدگی
============================== */

/* تنظیم گالری به صورت grid */
.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 10px;
  box-sizing: border-box;
}

/* هر آیتم گالری */
.gallery-item {
  width: 100%;
  max-width: 280px;
  height: 500px; /* ارتفاع ثابت برای همه تصاویر */
  overflow: hidden; /* تصاویر اضافی کراپ می‌شوند */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
}

/* تصاویر داخل آیتم گالری */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* تصویر پر کند و کراپ شود بدون کشیدگی */
  display: block;
  transition: transform 0.3s ease; /* افکت hover */
}

/* افکت hover برای تصاویر */
.gallery-item img:hover {
  transform: scale(1.05); /* زوم ملایم */
}
/* استایل کلی گالری ویدیو */
.gallery-wrapper {
  padding: 10px;
}

/* ظاهر ویدیوها */
.gallery-item video {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* افکت وقتی موس میره روی ویدیو */
.gallery-item video:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* وقتی ویدیو در حالت pause هست یک افکت محو رویش بیاد */
.gallery-item video.paused {
  filter: brightness(0.7);
  position: relative;
}

/* اضافه کردن یک آیکون Pause روی ویدیو */
.gallery-item video.paused::after {
  content: "⏸";
  font-size: 48px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* ============================= */
/* لایت‌باکس عکس‌ها و دکمه‌ها */
/* ============================= */
#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

/* دکمه ضربدر برای بستن */
#lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease;
}

#lightbox .close-btn:hover {
  color: #ff6666;
}

/* دکمه فلش راست و چپ */
#lightbox .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  padding: 10px;
  transition: color 0.3s ease, background 0.3s ease;
  border-radius: 50%;
  user-select: none;
}

#lightbox .arrow:hover {
  color: #00aaff;
  background: rgba(255,255,255,0.1);
}

#lightbox .arrow-left {
  left: 20px;
}

#lightbox .arrow-right {
  right: 20px;
}

/* ============================= */
/* ریسپانسیو موبایل و تبلت */
/* ============================= */
@media (max-width: 768px) {
  #lightbox img {
    max-width: 95%;
    max-height: 70%;
  }
  
  #lightbox .close-btn {
    top: 15px;
    right: 20px;
    font-size: 28px;
  }
  
  #lightbox .arrow {
    font-size: 36px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  #lightbox img {
    max-width: 100%;
    max-height: 60%;
  }

  #lightbox .arrow-left {
    left: 10px;
  }
  #lightbox .arrow-right {
    right: 10px;
  }
}

/* ============================= */
/* گالری ویدیوها */
.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 15px;
}
.gallery-itemm video {
  width: 210px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.gallery-itemm video:hover {
  transform: scale(1.05) rotateZ(1deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* لایت‌باکس */
#lightbox {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

#lightbox video {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

#lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

#lightbox .close-btn:hover {
  color: #ff6666;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .gallery-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 480px) {
  .gallery-wrapper {
    grid-template-columns: 1fr;
  }
  #lightbox video {
    max-width: 95%;
    max-height: 70%;
  }
  #lightbox .close-btn {
    top: 15px;
    right: 20px;
    font-size: 28px;
  }
}


/* اگر از فونت آیکون مثل Font Awesome استفاده می‌کنی */
i, [class*="fa-"], [class*="icon"] {
  font-family: FontAwesome !important; /* یا فونت آیکون تو */
}
/* تعریف فونت وزیر */
@font-face {
  font-family: 'Vazir';
  src: url('fonts/Vazir-Black-FD-WOL.ttf') format('woff2'),
       url('/fonts/Vazir-Bold-FD-WOL.ttf') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* برای لودینگ بهتر */
}

@font-face {
  font-family: 'Vazir';
  src: url('fonts/Vazir-Black-FD-WOL.ttf') format('woff2'),
       url('/fonts/Vazir-Bold-FD-WOL.ttf') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* اعمال فونت به تمام المان‌ها */
body, 
body *:not(i):not(.fa):not([class*="icon"]):not([class*="Icon"]) {
  font-family: 'Vazir', Tahoma, sans-serif !important;
}

/* برای ریسپانسیو و خوانایی بهتر */
body {
  text-align: right;
  direction: rtl;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* تنظیم سایز فونت پایه */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 16px;
  }
}