@font-face {
  font-family: "A-Iranian-Sans";
  src: url(../font/A-Iranian-Sans/A-Iranian-Sans/Iranian\ Sans.ttf) format('truetype');
}

@font-face {
  font-family: "mahdi-header";
  src: url(../font/A-Iranian-Sans/A-Iranian-Sans/mahdi-header.ttf) format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 80px;
  /* یا ارتفاع نوار بالایی (مثلاً 80px) */
}

body,
html {
  font-family: "A-Iranian-Sans";
  color: #fff;
  direction: rtl;
  background-color: #273021;
}

a {
  text-decoration: none;
}

/* page-one */
.header {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 3rem;
  background-color: #111111e5;

  width: 100%;
  z-index: 2;
}

.logo {
  width: 80px;
}

.nav a {
  color: #c7cac1;
  text-decoration: none;
  margin-left: 2rem;
  font-size: 1rem;
  transition: 0.3s;
  font-weight: 700;
  border-right: solid 2px #918989b9;
  padding-right: 20px;
}

.nav a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  height: 700px;
  padding-top: 80px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: url(/static/img/IMG_20250422_215307_97.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  
  /* افکت پارالاکس فقط دسکتاپ */

  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
}

.dokme button {
  width: 174px;
  height: 57px;
  border-radius: 5px;
  padding: 1rem;
  font-family: "A-Iranian-Sans";
  background-color: #a5b18b11;
  border: solid 1px #a5b18b;
  cursor: pointer;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.dokme button a {
  font-weight: 500;
  color: #ffffff;
  font-size: 16px;
  padding: 1rem;
}

li {
  list-style-type: none;
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
}

.hero-content h1 {
  font-family:"mahdi-header";
  font-size: 40px;
  color: #295d08;
  margin-bottom: 1.5rem;
  padding: 0px 10px;
}

.buttns a i {
  font-size: 34px;
  /* اندازه آیکون */
  color: #295d08;
  /* رنگ آیکون */
}

.buttns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #a5b18b;
  margin-bottom: 1.5rem;
}

/* page-dovom */
.page-two {
  background-color: #273021;
}

.page-mokhalafat {
  margin-top: 2rem;
  width: 100%;
  height: 800px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.page-mokhalafat a {
    color: #ffffffc7;
    width: 100%;
    height: 100%;
    display: flex
;
    align-items: end;
    justify-content: center;
}

/* dastebandi */
.list-one {
  background: url(../img/amirali-mirhashemian-sc5sTPMrVfk-unsplash.jpg);
  background-size: cover;
}

.list-two {
  background: url(../img/italiaedwardeyer-1049620.jpg);
  background-size: cover;
}

.list-three {
  background: url(../img/ball-park-brand-MR329Bd-7sA-unsplash.jpg);
  background-size: cover;
}

.list-four {
  background: url(../img/julia-kicova-18YZ7zuQG4Q-unsplash.jpg);
  background-size: cover;
}

.list-five {
  background: url(../img/nicholas-grande-d9jcPTRD9fo-unsplash.jpg);
  background-size: cover;
}

.list-six {
  background: url(../img/pexels-alteredsnaps-14906564.jpg);
  background-size: cover;
}

.list-seven {
  background: url(../img/Drink.jpeg);
  background-size: cover;
}

.page-mokhalafat li {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 180px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  font-family: "Courier New", Courier, monospace;
}

.page-mokhalafat li:hover {
  transform: scale(1.05);
}

.overlay-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  /* align-items: center; */
  right: 0;
  left: 0;
  background: linear-gradient(to top, rgb(53 65 44 / 65%), rgb(78 89 72 / 1%));
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.page-bartar h2 {
  padding: 10px;
  text-align: center;
  width: 100%;
}
.page-bartar{
    height :1054px;
}

.page-mokhalafat ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-mokhalafat li {
  width: 292px;
  border-radius: 30px;
  height: 173px;
  
}

/* dastebandi menu */
.menu {
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid rgb(114, 110, 110);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  margin-bottom: 40px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* اسکرول لمسی برای موبایل */
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu ul {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  width: max-content; /* این مهمه که اسکرول فعال بشه */
}

.menu ul li {
  width: 180px;
  height: 75px;
  background-color: rgba(152, 158, 134, 0.74);
  border-radius: 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  border: 1px rgb(117, 117, 117) solid;
}

.menu ul li:hover {
  background-color: rgb(120, 130, 100);
  box-shadow: inset 0px 0px 20px 20px rgba(32, 48, 24, 0.39);
  scale: 1.1;
}

/* پس‌زمینه‌های منو */
.menu-1 {
  background: url(../img/pexels-alteredsnaps-14906564.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.menu-2 {
  background: url(../img/amirali-mirhashemian-sc5sTPMrVfk-unsplash.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.menu-3 {
  background: url(../img/italiaedwardeyer-1049620.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.menu-4 {
  background: url(../img/nicholas-grande-d9jcPTRD9fo-unsplash.jpg);
  background-size: cover;
  background-position: center;
}

.menu-5 {
  background: url(../img/ball-park-brand-MR329Bd-7sA-unsplash.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.menu-6 {
  background: url(../img/julia-kicova-18YZ7zuQG4Q-unsplash.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}
.menu-7 {
  background: url(../img/Drink.jpeg) no-repeat;
  background-size: cover;
  background-position: center;
}

.nav-two {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #273021cc;
  backdrop-filter: blur(4px);
}

.nav-two a {
  color: #fff;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.page-two a span {
  font-size: 11px;
  font-weight: bold;
  display: block;
}

.nav-two li img {
  width: 35px;
  display: block;
  margin-bottom: 5px;
}

/* page sevom */
.user-page {
  scroll-margin-top: 100px;
  /* فاصله مناسب برای اسکرول به صفحه */
  margin-bottom: 150px;
}

/* mahsolat */
.product {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.product ul {
  display: flex;
  background-color: #273021;
  border-radius: 10px;
  color: #b6b6ad;
  padding: 5px;
  width: 70%;
  box-shadow: 1px 1px 12px rgba(143, 141, 141, 0.438);
  height: 130px;
  gap: 2rem;
  margin-bottom: 40px;
}

.product ul li.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  width: 100%;
  height: 100%;
}

.menu-item img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
}

.menu-item .info {
  flex: 1;
  padding: 0 15px;
  border-right: 2px solid #999;
}

.menu-item .info h4 {
  margin-bottom: 6px;
}

.counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter button {
  padding: 5px 10px;
  font-size: 18px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.counter span.count {
  min-width: 20px;
  text-align: center;
  font-weight: bold;
}

.title {
  text-align: center;
  margin-bottom: 20px;
}

/* sabad kharid */
.sabad-kharid {
  padding: 20px;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  background-color: #242722;

  color: white;
}

#cart-total{
  text-align: center;
}

.title-sbad {
  width: 100%;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#cart-list li {
  margin: 5px 0;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 5px;
}

#cart-list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* icon sabad */
.ico-sabad{
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: #2f382b7a;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
 
}
.ico-sabad img{
  width: 40px;
  height: 40px;
}
/* darbare ma */



.about-me {
  width: 100%;
  background-color: #1d221c;
  color: #c5d1ba;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  padding: 20px 0;
  border-top: 1px solid #2f362e;
  text-align: center;
}

.about-me a.zhulide {
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(270deg, #d5ff4cbe, #aaff007c, #92e60077, #d5ff4c8c);
  background-size: 300% 300%;
  display: inline-block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: waveText 5s ease infinite;
}

@keyframes waveText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* responsive height */
@media screen and (max-height: 667px) {
  .hero {
    height: 667px;
  }
}

@media screen and (max-width: 737px) {
  .product ul {
    width: 90%;
  }
}

@media screen and (max-width: 450px) {
  .hero-content h1 {
    font-size: 30px;
  }

  .dokme button {
    width: 170px;
    height: 50px;
  }

  .dokme button {
    width: 155px;
    height: 50px;
  }

  .hero-content p {
    font-size: 14px;
    color: #a5b18b;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 633px) {
  .page-mokhalafat li {
    width: 210px;
    border-radius: 30px;
    height: 146px;
  }
}
@media (max-width: 563px) {
  .menu-item img {
    width: 121px;
    height: 85px;
    border-radius: 10px;
}
.counter {
  display: flex
;
  align-items: center;
  gap: 4px;
}
.menu-item img {
  width: 114px;
  height: 85px;
  border-radius: 10px;
}

.menu-item .info {
   flex: 1;
  padding: 0 15px;
  border-right: 2px solid #999;
   font-size: 13px;
}
.product ul li.menu-item {
  display: flex;
  gap: 10px;

}
.product ul {
  width: 96%;
}
.counter button {
  font-size: 14px;
}
}





@media (max-width: 473px) {
  .page-mokhalafat li {
    width: 170px;
    border-radius: 30px;
    height: 150px;
  }
  .product ul li.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    width: 100%;
    height: 100%;
}
.menu-item .info {
  flex: 1;
  padding: 0px 5px;
  border-right: 2px solid #999;
  font-size: 13px;
}
.counter button {
  padding: 3px 6px;
  font-size: 11px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.menu-item img {
  width: 92px;
  height: 82px;
  border-radius: 10px;
}
.info p{
  font-size: 12px;
}
.hero-content h1 {
  font-size: 28px;
}
.hero-content p {
  font-size: 18px;
  color: #a5b18b;
  margin-bottom: 1.5rem;
}
.page-mokhalafat a {

  font-size: 14px;

}
.sabad-kharid {
  padding: 17px;
}
}



@media (max-width: 380px) {
  .page-mokhalafat li {
    width: 140px;
    border-radius: 30px;
    height: 130px;
  }
}

/* resposive menu */
@media screen and (max-width: 1200px) {
  .menu {
    width: auto;
    justify-content: flex-start;
  }
}


