:root {
  --green-600: #0b9d63;
  --green-500: #16c172;
  --green-200: #d5f5e3;
  --dark: #0e2f2f;
  --light: #fcfffd;
}
* {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Vazirmatn", sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.8;
  direction: rtl;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* استایل‌های منو */
nav {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(11, 157, 99, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-600);
  text-decoration: none;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a:hover {
  color: var(--green-600);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--green-600);
}

/* استایل اصلی مقاله */
.blog-show-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--green-200);
}

.blog-title {
  color: var(--green-600);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

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

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-category {
  background: var(--green-200);
  color: var(--green-600);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.blog-content {
  font-size: 1.1rem;
  line-height: 2;
  color: #333;
}

.blog-content h2 {
  color: var(--green-600);
  margin: 2.5rem 0 1rem 0;
  font-size: 1.6rem;
}

.blog-content h3 {
  color: var(--dark);
  margin: 2rem 0 1rem 0;
  font-size: 1.3rem;
}

.blog-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.blog-content blockquote {
  border-right: 4px solid var(--green-500);
  padding: 1rem 2rem;
  margin: 2rem 0;
  background: var(--green-200);
  border-radius: 10px;
  font-style: italic;
}

.blog-content img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 2rem 0;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.tag {
  background: var(--green-200);
  color: var(--green-600);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--green-500);
  color: white;
}

.blog-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--green-200);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--green-200);
  color: var(--green-600);
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.nav-btn:hover {
  background: var(--green-500);
  color: white;
  transform: translateY(-2px);
}

/* استایل فوتر */
footer {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: white;
  padding: 3rem 1.5rem 2rem;
  margin-top: auto;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}
.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}
.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.5);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a:hover {
  color: white;
  transform: translateX(-5px);
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-link:hover {
  background-color: white;
  color: var(--green-600);
  transform: translateY(-3px);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}
.contact-item i {
  width: 20px;
  text-align: center;
}
.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* استایل ریسپانسیو */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
  }
  .nav-links li:last-child {
    border-bottom: none;
  }

  .blog-title {
    font-size: 1.8rem;
  }

  .blog-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .blog-hero-image {
    height: 250px;
  }

  .blog-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
