*imporntant
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #829577;
  --light-color: #a8c09a;
  --dark-color: #616f59;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("./assets/fonts/Vazirmatn[wght].ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: Vazirmatn, "Tahoma", sans-serif;
  direction: rtl;
  text-align: right;
  background: #f6f6f6;
  color: #333;
}

input,
button,
textarea {
  font-family: Vazirmatn, "Tahoma", sans-serif;
}

/* Header Styles */
.main-header {
  background-image: url(./assets/images/main-header.jpg);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 600px) {
  .main-header {
    padding: 20px 0;
  }
}

.main-header .header-logo-img {
  width: 300px;
  opacity: 0;
  transform: scale(0.75);
  transition: all 0.8s ease;
}

.main-header .header-logo-img.show {
  opacity: 1;
  transform: scale(1);
}

.welcome-text {
  font-size: 1.3rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.welcome-text.show {
  opacity: 1;
  transform: translateY(0);
}

/* Main Navigation Styles */
.main-navigation {
background-image: url(./assets/images/main-header.jpg);
padding: 15px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(252, 96, 32, 0.3), transparent);
  transition: left 0.5s;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  background: rgba(252, 96, 32, 0.2);
  color: #ffc343;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(252, 96, 32, 0.3);
}

.nav-link i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.nav-link:hover i {
  transform: scale(1.1);
}

/* Active state for navigation */
.nav-link.active {
  background: rgba(252, 96, 32, 0.3);
  color: #ffc343;
  box-shadow: 0 4px 15px rgba(252, 96, 32, 0.2);
}

/* Responsive navigation */
@media (max-width: 768px) {
  .nav-menu {
    gap: 20px;
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-link {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

.menu-container {
  width: 90%;
  max-width: 1050px;
  margin: 15px auto;
  text-align: center;
  border-radius: 15px;
  padding-bottom: 5px;
}

@media (max-width: 600px) {
  .menu-container {
    width: 100%;
    background: inherit;
    box-shadow: none;
  }
}

/* Categories Styles -- اصلاحیه پیشنهادی برای چیدمان بهتر */
.menu-container .categories {
  display: grid;
  /* این کد به صورت خودکار آیتم‌ها را در ستون‌ها می‌چیند و واکنش‌گرا است */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  width: 90%;
  margin: 2.2rem auto;
}

/* Media query های قبلی برای این بخش حذف شدند چون auto-fit کار آنها را انجام می‌دهد */

.menu-container .categories .category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 10px;
  background: #efefef;
  color: #323031;
  cursor: pointer;
  transition: all 0.3s;
  outline: 1px solid #adde9025;
  border: 2px solid transparent;
}

.menu-container .categories .category-item:hover {
  background: #f7e8e0;
}

.menu-container .categories .category-item .category-icon {
  width: 60px;
}

.menu-container .categories .category-item.active {
  border: 2px solid #fc6020;
  background: #fb68201a;
  font-weight: bold;
}

/* Styling menu items */
.menu-items-container {
  padding: 0 20px;
}

.menu-items-container .menu-items-wrapper {
  display: none;
  /* در ابتدا همه پنهان هستند و JS آنها را مدیریت می‌کند */
}

.menu-items-container .menu-items-wrapper .menu-items-title {
  margin-bottom: 0.5rem;
  margin-top: 3rem;
  background-color: #323031;
  border-radius: 15px 15px 0px 0px;
  padding: 10px;
  color: #ffffff;
}

.menu-items-container .menu-items-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem 1.5rem;
  align-items: start;
  background-color: #efefef;
  border-radius: 0px 0px 15px 15px;
  padding: 20px;
  padding-top: 80px;
}

.menu-items-container .menu-items-box .menu-item {
  margin: 20px 0;
  background: white;
  text-align: center;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-items-container .menu-items-box .menu-item .item-img {
  width: 210px;
  height: 210px;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: contain;
  position: absolute;
  top: -70px;
  right: 50%;
  transform: translate(50%);
  background: white;
  border-top: 5px solid #fc6020;
  border-bottom: 2px solid #fc6020;
}

.menu-items-container .menu-items-box .menu-item .item-info {
  padding-top: 6rem;
}

.menu-items-container .menu-items-box .menu-item .item-name {
  border-bottom: 2px solid #323031;
  padding-bottom: 0.7rem;
  margin-top: 50px;
}

.menu-items-container .menu-items-box .menu-item .price-postfix {
  color: black;
  font-size: 1rem;
  font-weight: normal;
}

.menu-items-container .menu-items-box .menu-item .price {
  color: #fc6020;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 0.7rem;
  border-bottom: 2px solid #323031;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Dtails list */
.menu-items-container .menu-items-box .menu-item .details-list {
  list-style-type: none;
  color: gray;
  padding-left: 0;
  margin-bottom: auto;
 direction: ltr;
}

@media screen and (min-width: 600px) {
  .menu-items-container .menu-items-box .menu-item .item-img {
    width: 210px;
    height: 210px;
  }
}

/* Reserve Button Styles */
.menu-items-container .menu-items-box .menu-item .reserve-button {
  display: block;
  background-color: #f34f0c;
  /* رنگ سبز */
  color: white;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: solid 2px #dadbda6b !important;
  position: relative;
  overflow: hidden;
  animation: pulse 3s infinite;
}

.menu-items-container .menu-items-box .menu-item .reserve-button:hover {
  background-color: #009306;
  animation: pulse 0.9s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Go Top Button Styles */
#goTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  background-color: #fc6020;
  color: white;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 0.75rem;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  transform: scale(0);
}

#goTopBtn.show {
  opacity: 1;
  transform: scale(1);
}

@media screen and (max-width: 600px) {
  #goTopBtn {
    bottom: 15px;
    right: 15px;
  }

  #goTopBtn.show {
    transform: scale(0.9);
  }
}

.welcome-text h1 {
  display: inline;
  font-size: 1.5rem;
  font-weight: inherit;
  margin: 0;
  padding: 0;
  color: #f7a830;
}

@media (max-width: 768px) {
  .welcome-text {
    font-size: 1rem;
  }

  .welcome-text h1 {
    font-size: 1.2rem;
  }
}

/* Footer Styles */
.main-footer {
  background-image: url(./assets/images/main-header.jpg);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.footer-info,
.footer-location {
  flex: 1;
  min-width: 300px;
}

.footer-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.support-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.reservation-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #fc6020;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  align-self: flex-start;
}

.contact-button:hover {
  background-color: #f34f0c;
}

.contact-icon {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.footer-location {
  text-align: right;
}

.address-text {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: center;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid #ffc343;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
  border-top: 1px solid rgb(252 96 28 / 38%);
  padding-top: 20px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column-reverse;
  }

  .footer-info,
  .footer-location {
    text-align: center;
    width: 100%;
  }

  .contact-button {
    align-self: center;
  }

  .support-text,
  .reservation-note {
    text-align: center;
  }
}

.contact-button-footer {
  width: 100% !important;
  display: block;
}

.footer-social {
  margin-top: 30px;
  width: 100%;
  text-align: center;
}

.social-title {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  background-color: #fc6020;
  transform: translateY(-5px) scale(1.1);
  border-color: #fc6020;
}

.social-icon img {
  width: 26px;
  height: 26px;
  /* برای svg هایی که رنگشان باید تغییر کند، فیلتر invert مناسب است
     اگر آیکون‌های شما رنگی هستند، این خط را حذف کنید */
}

@media (max-width: 768px) {
  .footer-social {
    margin-top: 25px;
  }

  .social-icons {
    gap: 20px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    text-decoration: none !important;
  }
}

.footer-name {
  text-decoration: none;
  color: #fc6020;
}

/* رنگ t  */
.price-food-currency {
  color: #514b4b;
}

/* Section Styles */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #323031;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fc6020, #ffc343);
  border-radius: 2px;
}

/* About Us Section */
.about-section {
  background: white;
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-story h3,
.about-values h3 {
  color: #323031;
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.about-story h3::after,
.about-values h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #fc6020, #ffc343);
  border-radius: 2px;
}

.about-story p {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: justify;
}

.about-values ul {
  list-style: none;
  padding: 0;
}

.about-values li {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-right: 25px;
  position: relative;
}

.about-values li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 0;
  color: #fc6020;
  font-weight: bold;
  font-size: 1.2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fc6020;
  margin-bottom: 10px;
}

.stat-label {
  color: #323031;
  font-size: 1rem;
  font-weight: 500;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-item {
    padding: 25px 15px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .about-story h3,
  .about-values h3 {
    font-size: 1.5rem;
  }
  
  .about-story p,
  .about-values li {
    font-size: 1rem;
  }
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-item i {
  font-size: 2rem;
  color: #fc6020;
  margin-top: 30px;
}

.contact-item h3 {
  color: #323031;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.contact-map {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Blog Section */
.blog-section {
  background: white;
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  color: #323031;
  margin-bottom: 15px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.blog-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #fc6020;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #f34f0c;
}

/* Gallery Section */
.gallery-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Responsive Design for Sections */
@media (max-width: 768px) {
  .section-container {
    padding: 40px 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .contact-item {
    padding: 20px;
  }
  
  .contact-item i {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Styles */



@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    visibility: hidden;
  }
}



/* تنظیم عرض نوار اسکرول */
::-webkit-scrollbar {
  width: 12px;
}

/* تنظیم رنگ پس‌زمینه نوار اسکرول */
::-webkit-scrollbar-track {
  background: #323031;
}

/* تنظیم رنگ نوار اسکرول (دکمه) */
::-webkit-scrollbar-thumb {
  background: #fc6020;
}

/* تغییر رنگ نوار اسکرول هنگام هاور */
::-webkit-scrollbar-thumb:hover {
  background: #f54c07;
}