@font-face {
  font-family: bnazanin;
  src: url(B-NAZANIN.TTF);
}

body {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  background-image: url(stacked-zen-stones-sand-background-art-balance-concept.jpg);
  background-repeat: no-repeat;
  background-size: cover; /* به جای 100% تا تناسب حفظ شه */
  background-position: center;
  direction: rtl;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* منو بالا */
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(6px);
  border-radius: 0 0 15px 15px;
}

.menu li a {
  position: relative;
  text-decoration: none;
  color: #4b3f3f;
  font-size: 1.1rem;
  font-weight: 500;
  padding-right: 10px;
  transition: color 0.3s ease;
}

.menu li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #f7f3ef, #e9c9a8, #e9a245);
  transition: width 0.5s ease;
}

.menu li a:hover {
  color: #eb943d;
}

.menu li a:hover::after {
  width: 100%;
}

/* باکس سمت چپ */
.container {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.kenarpage {
  width: 25%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  border-radius: 0 15px 15px 0;
  background: rgba(247, 243, 239, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s ease;
}

h1 {
  font-weight: 500;
  font-size: 1.5rem;
}

p {
  font-size: 18px;
  margin: 10px 0;
}

/* دکمه تماس */
#wave-effect {
  background: linear-gradient(45deg, #f8ebd2, #dfc9a8);
  position: relative;
  border-radius: 10px;
  border-style: none;
  padding: 10px 30px;
  font-size: 20px;
  cursor: pointer;
  overflow: hidden;
}

#wave-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* 📱 رسپانسیو */
@media (max-width: 992px) {
  .kenarpage {
    width: 40%;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    justify-content: flex-start;
  }

  .kenarpage {
    width: 90%;
    height: auto;
    margin-top: 20px;
    border-radius: 15px;
  }

  h1 {
    font-size: 1.3rem;
  }

  p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .menu {
    flex-direction: column;
    gap: 1rem;
  }

  .kenarpage {
    width: 100%;
    padding: 20px;
  }

  #wave-effect {
    font-size: 18px;
    padding: 8px 20px;
  }
}
