@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;
}

/* مخفی کردن منوی موبایل روی دسکتاپ */
@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;
  }
}

/* دکمه بازگشت به بالا */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: linear-gradient(135deg, #00bfff, #004080);
  color: white;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#backToTop:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  #backToTop { 
    bottom: 20px; 
    right: 20px; 
    width: 45px; 
    height: 45px; 
    font-size: 1.7rem; 
  }
}

@media (max-width: 480px) {
  #backToTop { 
    width: 40px; 
    height: 40px; 
    font-size: 1.5rem; 
    bottom: 15px; 
    right: 15px; 
  }
}


/* CSS برای آیکون‌ها */
.fa, .fas, .far, .fab, .fal, .fad, .fa-solid, .fa-brands {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.fa-ring::before { 
  content: "\f0d1" !important; 
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.fa-pray::before { 
  content: "\f683" !important; 
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.fa-cake-candles::before { 
  content: "\f1fd" !important; 
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.fa-birthday-cake::before { 
  content: "\f1fd" !important; 
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.fa-praying-hands::before { 
  content: "\f684" !important; 
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.fa-whatsapp::before { 
  content: "\f232" !important; 
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.fa-instagram::before { 
  content: "\f16d" !important; 
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.fa-telegram-plane::before { 
  content: "\f3fe" !important; 
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, textarea, select {
  font-family: 'Vazirmatn', 'Vazir', Tahoma, Arial, sans-serif !important;
}

.cta-button .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.service-card .fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.banner-icons .fa {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.social-icons .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* مدیا کوئری‌های اضافی */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1rem; }
  header nav ul { gap: 15px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
  }
  header nav ul.active { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.9rem; }
  .services { grid-template-columns: 1fr; }
  .gallery-container { grid-template-columns: 1fr; }
  .cards { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .why-navara {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 10px;
  }
  .why-navara .why-gif img {
    width: 120px;
    height: 120px;
  }
}
/* ================================
   اعمال فونت روی همه عناصر
   ================================ */
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;
}
a {
  text-decoration: none;
}
.no-underline {
  text-decoration: none;
  color: inherit; /* رنگ متن با بقیه یکی بشه */
}
.no-underline:hover {
  text-decoration: underline; /* اگه خواستی فقط موقع هاور خط بیاد */
}
/* استایل خط جداکننده */
.divider {
  border: none;
  height: 2px;
  background:#FFB347;/* رنگ خط */
  margin: 30px auto; /* فاصله بالا و پایین */
  width: 90%; /* طول خط */
  opacity: 0.7; /* کمی شفافیت */
}

/* استایل خط جداکننده */
.divider {
  border: none;
  height: 2px;
  background:#FFB347;/* رنگ خط */
  margin: 30px auto; /* فاصله بالا و پایین */
  width: 90%; /* طول خط */
  opacity: 0.7; /* کمی شفافیت */
}





/* اگر از فونت آیکون مثل 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;
  }
}
