
@font-face {
  font-family: 'Vazir';
  src: url('Vazir-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/* استایل‌های اصلی متن */
html, body {
  font-family: 'Vazir', Tahoma, sans-serif;
  background-color: #fff8ef;
  color: #222;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -moz-text-size-adjust: none;
  overflow-x: hidden;
}
   .header .icon {
      visibility: hidden;
      opacity: 0;
    }
/* استایل‌های تصاویر */
img[fetchpriority="high"] {
  position: relative;
  z-index: 10;
  max-width: 100%;
  height: auto;
  border-radius: 8px; 
}
/* استایل‌های پایه برای صفحه پست‌ها */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* استایل هدر مخصوص صفحه پست‌ها */
header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, rgba(0, 80, 60, 0.9), rgba(0, 60, 40, 0.9));
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
    border-radius: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem auto;
    max-width: calc(100% - 40px);
}

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

/* استایل شماره تماس در هدر */
.header-contact {
    display: flex;
    align-items: center;
}

.header-contact a {
    color: white !important;
    font-size: 1rem !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    background: none !important;
    padding: 0 !important;
}

.header-contact a svg {
    fill: #FFA500 !important;
    width: 20px;
    height: 20px;
}

/* استایل منوی ناوبری */
nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    padding: 0;
    margin: 0;
    direction: rtl;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #FFA500;
}

nav ul li a .icon-heed {
    width: 20px;
    height: 20px;
    fill: #FFA500;
    transition: all 0.3s ease;
}

nav ul li a:hover .icon-heed {
    fill: white;
}

/* استایل منوی همبرگری */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto; /* تغییر موقعیت به سمت چپ */
}

.menu-toggle .icon {
    width: 24px; /* اندازه بزرگتر */
    height: 24px;
    fill: white; /* رنگ سفید ثابت */
   
}

.menu-toggle:hover .icon {
    transform: scale(1.1);
}

/* استایل محتوای پست */
.single-post {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.single-post h1 {
    color: #000;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: #777;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-content {
    line-height: 1.8;
    color: #333;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

.post-content a {
    color: #0066cc;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: #004d99;
    text-decoration: none;
}

/* استایل دکمه تماس */
.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00c853, #00e676);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.call-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 200, 83, 0.4);
}

.call-button .icon {
    width: 20px;
    height: 20px;
    fill: white;
}

/* استایل فوتر مخصوص صفحه پست‌ها */
footer {
    background: linear-gradient(135deg, #004d40, #00251a);
    color: white;
    padding: 4rem 2rem;
    border-radius: 30px 30px 0 0;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: right;
}

footer h4 {
    color: #a7ffeb;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50%;
    height: 2px;
    background: #a7ffeb;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

footer ul li a:hover {
    color: #a7ffeb;
    transform: translateX(-5px);
}

footer ul li .icon {
    width: 16px;
    height: 16px;
    fill: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #a7ffeb;
    color: #004d40;
    transform: translateY(-3px);
}

.social-links .icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.social-links a:hover .icon {
    fill: #004d40;
}

/* استایل بخش درباره ما در صفحه پست‌ها */
.about {
    padding: 3rem 0;
    background: linear-gradient(135deg, #004d40, #00251a);
    margin-top: 2rem;
    border-radius: 15px;
}

.about h2 {
    text-align: center;
    color: #a7ffeb;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #fff;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}


@media (max-width: 768px) {
  /* ساختار هدر در موبایل */
  header {
    flex-wrap: wrap;
    padding: 0.8rem 1rem;
    position: relative;
  }

  /* مخفی کردن شماره تماس در هدر */
  .header-contact {
    display: none;
  }
/* استایل تضمینی برای منوی همبرگری */
@media (max-width: 768px) {
  .menu-toggle {
    display: block !important;
    order: 2;
    background: transparent !important;
    border: none !important;
    padding: 8px;
    margin-left: 10px;
    appearance: none; /* رفع استایل پیش‌فرض در برخی مرورگرها */
  }

  .menu-toggle .icon {
    width: 28px;
    height: 28px;
    fill: white !important;
    color: white !important; /* برای مرورگرهای مختلف */
    filter: 
      drop-shadow(0 0 2px rgba(0,0,0,0.5)) /* سایه برای تضمین دید */
      brightness(100) /* تضمین سفید بودن */;
  }

  /* رفع مشکل SVG در برخی مرورگرها */
  .menu-toggle .icon path {
    fill: inherit !important;
    stroke: white !important;
    stroke-width: 1.5px;
  }
}

  /* منوی کشویی */
  nav ul {
    display: none;
    position: fixed;
    top: 70px;
    right: 10px;
    background: rgba(0, 80, 60, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 1rem;
    width: 90%;
    max-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    animation: fadeInUp 0.3s ease;
  }

  nav ul.show {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  /* آیتم‌های منو */
  nav ul li {
    margin-bottom: 0;
  }

  nav ul li a {
    padding: 12px 15px;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
  }



/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}