@font-face {
  font-family: "A-Iranian-Sans";
  src: url(./font/A-Iranian-Sans/A-Iranian-Sans/Iranian\ Sans.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";

  direction: rtl;
  background: linear-gradient(145deg, #0b2e26, #1f1f1f, #254d3d);
  color: #eaeaea;
}

a {
  text-decoration: none;
}

/* page-one */
.header {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 3rem;
  background-color: #242722;

  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(img/photo_2025-08-04_00-26-00.jpg);
  background-size: cover;

  background-repeat: no-repeat;
  background-position: center;

  /* افکت پارالاکس فقط دسکتاپ */

  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
}

.dokme button {
  width: 176px;
  height: 60px;

  padding: 1rem;
  font-family: "A-Iranian-Sans";
  background-color: #a5b18b11;
  border: solid 1px #a5b18b;
  cursor: pointer;
  font-weight: 500;
  border-radius: 0% 100% 0% 100% / 59% 41% 59% 41%;
  color: #ffffff;
  backdrop-filter: blur(2px);
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.dokme button a {
  font-weight: 700;
  color: #829c7f;
  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.6);
  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-size: 40px;
  color: #829c7f;
  margin-bottom: 1.5rem;
  padding: 0px 10px;
}

.buttns a i {
  font-size: 34px;
  /* اندازه آیکون */
  color: #829c7f;
  /* رنگ آیکون */
}

.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-mokhalafat {
  margin-top: 2rem;
  width: 100%;
  height: 1052px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.page-mokhalafat a {
  color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
}
/* dastebandi */
.list-one {
  background: url(./img/photo_1_2025-08-11_22-11-38.jpg);
  background-size: cover;
}

.list-two {
  background: url(./img/photo_2025-08-11_22-11-15.jpg);
  background-size: cover;
  background-position: center;
}

.list-three {
  background: url(./img/photo_2_2025-08-11_22-11-38.jpg);
  background-size: cover;
  background-position: center;
}

.list-four {
  background: url(./img/photo_3_2025-08-11_22-11-38.jpg);
  background-size: cover;
  background-position: center;
}

.list-five {
  background: url(./img/photo_4_2025-08-11_22-11-38.jpg);
  background-size: cover;
  background-position: center;
}

.list-six {
  background: url(./img/photo_5_2025-08-11_22-11-38.jpg);
  background-size: cover;
  background-position: center;
}
.list-seven {
  background: url(./img/photo_6_2025-08-11_22-11-38.jpg);
  background-size: cover;
  background-position: center;
}
.list-eight {
  background: url(./img/photo_2025-08-14_14-51-46.jpg);
  background-size: cover;
  background-position: center;
}

.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);
}

.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, #1a5c3f88, #1c1c1c21);
  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;
  position: absolute;
  text-align: center;
  width: 100%;
}

.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 {
  width: auto;
  justify-content: flex-start;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid rgb(114, 110, 110);
  border-top: 1px solid rgb(114, 110, 110);
  display: flex;

  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: #242722;
  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/photo_5_2025-08-11_22-11-38.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.menu-2 {
  background: url(./img/photo_1_2025-08-11_22-11-38.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.menu-3 {
  background: url(./img/photo_6_2025-08-11_22-11-38.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.menu-4 {
  background: url(./img/photo_4_2025-08-11_22-11-38.jpg);
  background-size: cover;
  background-position: center;
}

.menu-5 {
  background: url(./img/photo_3_2025-08-11_22-11-38.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.menu-6 {
  background: url(./img/photo_2_2025-08-11_22-11-38.jpg) no-repeat;
  background-position: top center; /* یا هر نقطه‌ای که مهمه */
  background-size: cover;
  background-position: center;
}
.menu-7 {
  background: url(./img/photo_2025-08-14_14-51-46.jpg) no-repeat;
  background-position: top center; /* یا هر نقطه‌ای که مهمه */
  background-size: cover;
  background-position: center;
}
.menu-8 {
  background: url(./img/photo_2025-08-11_22-11-15.jpg) no-repeat;
  background-position: top center; /* یا هر نقطه‌ای که مهمه */
  background-size: cover;
  background-position: center;
}

.nav-two {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(4px);
}

.nav-two a {
  color: #c8dbc9;
  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: #242722c9;
  border-radius: 10px;
  color: #b6b6ad;
  padding: 5px;
  width: 70%;
  box-shadow: 2px 2px 19px rgba(45, 56, 44, 0.438);
  height: 130px;
  gap: 2rem;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #eaeaea;
  transition: 0.3s;
}
.product ul:hover {
  background: rgba(61, 220, 151, 0.1);
  border: 1px solid rgba(25, 51, 40, 0.4);
  transform: translateY(-4px);
}

.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: #93b394;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.counter span.count {
  min-width: 20px;
  text-align: center;
  font-weight: bold;
}

.title {
  color: #f5f5f5;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-bottom: 20px;
}

/* sabad kharid */

.sabad-kharid-god{
  padding: 20px;
  border-top: #09755c 3px dashed;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  background-color: #1a1a1a;
  margin-bottom: 54px;
  color: white;
}

#cart-total {
  text-align: center;
  padding: 1rem;
}

.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: 58px;
  right: 15px;
  background-color: #254d3d;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.ico-sabad img {
  width: 40px;
  height: 40px;
}
/* darbare ma */

.about-me {
  z-index: 9999;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 18px 0;
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: #bbb;
  letter-spacing: 0.3px;
}

.about-me a.zhulide {
  background: linear-gradient(135deg, #3ddc97, #2bb673);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
}

.about-me a.zhulide:hover {
  filter: brightness(1.3);
  text-shadow: 0 0 8px rgba(61, 220, 151, 0.6);
}

@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: #93b394;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  .menu-item img {
    width: 92px;
    height: 82px;
    border-radius: 10px;
  }
  .info p {
    font-size: 10px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 15px;
    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;
  }
}
