/* -- General Styles -- */
body {
  margin: 0;
  font-family: 'Tahoma', sans-serif; /* فونت سیستمی */
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden; /* جلوگیری از اسکرول افقی */
  direction: rtl;
}
del{
  color: #d4af37;
}
ul{

list-style-type: none;

}
/* آیکون سبد خرید */
.cart-icon {
    position: relative;
    font-size: 24px;
    color: #d4af37; /* طلایی */
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .cart-icon:hover {
        transform: scale(1.15);
        color: #ffc300; /* روشن‌تر هنگام هاور */
    }

/* شمارنده سبد */
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ffc300;
    color: #000;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 50%;
    font-weight: bold;
}

.btnsubmit{

margin-top: 25px;
    padding: 12px 30px;
    background-color: #ffc300;
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

h1, h2, h3 {
  color: #d4af37; /* طلایی */
  text-align: center;
}

h1 { font-size: 2.5em; margin-bottom: 15px; }
h2 { font-size: 1.8em; margin-bottom: 20px; }

.section {
  padding: 60px 20px;
  text-align: center;
  position: relative; /* برای اسلایدر */
}

/* -- Header & Navigation -- */
header {
  background-color: #111;
  padding: 10px 20px;
  border-bottom: 2px solid #d4af37;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}




.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0; /* جلوگیری از کوچک شدن */
}

.logo {
  height: 50px; /* اندازه لوگو */
  margin-right: 15px;
  border-radius: 5px; /* گوشه‌های گرد برای لوگو */
}

.academy-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #d4af37;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* نمایش آیتم‌ها در یک خط */
  flex-wrap: wrap; /* اجازه شکستن به خط بعد اگر فضا نباشد */
  justify-content: center; /* وسط چین کردن منو */
}

nav ul li {
  margin: 0 15px; /* فاصله بین آیتم‌های منو */
}

nav a {
  text-decoration: none;
  color: #fff; /* رنگ پیش‌فرض لینک‌ها */
  font-weight: bold;
  padding: 10px 0;
  transition: color 0.3s ease; /* انیمیشن تغییر رنگ */
}

nav a:hover, nav a:focus {
  color: #d4af37; /* طلایی در حالت هاور */
}

/* -- Slider Section -- */
.slider-section {
  padding: 0; /* حذف padding بخش */
  height: 60vh; /* ارتفاع اسلایدر */
  overflow: hidden; /* مخفی کردن قسمت‌های بیرون */
  position: relative;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* پوشش کامل کانتینر */
  opacity: 0; /* مخفی کردن همه تصاویر در ابتدا */
  transition: opacity 1s ease-in-out; /* انیمیشن محو شدن */
  z-index: 0;
}

.slider img.active {
  opacity: 1; /* نمایش تصویر فعال */
  z-index: 1;
}

/* -- Form Styles -- */
.reserve-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 450px;
  margin: 20px auto;
  padding: 25px;
  background-color: #1a1a1a; /* پس‌زمینه کمی روشن‌تر برای فرم */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); /* سایه طلایی */
}

.reserve-form label {
  margin-top: 15px;
  margin-bottom: 5px;
  color: #d4af37;
  font-weight: bold;
  align-self: flex-start; /* چپ چین کردن لیبل‌ها */
}

.reserve-form input[type="text"],
.reserve-form input[type="tel"],
.reserve-form input[type="date"],
.reserve-form input[type="time"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #444; /* رنگ تیره‌تر برای border */
  border-radius: 5px;
  background-color: #222; /* رنگ تیره‌تر پس‌زمینه فیلد */
  color: #fff;
  box-sizing: border-box; /* اطمینان از محاسبه درست padding و border */
}

.reserve-form button {
  margin-top: 25px;
  padding: 12px 30px;
  background-color: #d4af37;
  color: #000;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.reserve-form button:hover {
  background-color: #c0a030; /* طلایی تیره‌تر */
}

.persian-date-display {
  margin-top: 15px;
  font-size: 0.9em;
  color: #ccc;
}

/* -- Gallery Styles -- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* اندازه بزرگتر برای تصاویر */
  gap: 15px;
  max-width: 1200px;
  margin: 20px auto;
}

.gallery-grid img {
  width: 100%;
  height: 200px; /* ارتفاع ثابت برای تصاویر گالری */
  object-fit: cover; /* حفظ نسبت تصویر */
  border-radius: 8px;
  border: 3px solid #d4af37;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: translateY(-5px); /* کمی بالا آمدن */
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); /* سایه طلایی */
}
.shop-product{


    transform: translateY(-5px);
    box-shadow: 0 5px 15px #cdb97a;
    border-radius: 5%;
}
.shop-product img{
border: none;
}

#textareaform{
   width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #444; /* رنگ تیره‌تر برای border */
  border-radius: 5px;
  background-color: #222; /* رنگ تیره‌تر پس‌زمینه فیلد */
  color: #fff;
  box-sizing: border-box; /* اطمینان از محاسبه درست padding و border */
}



/* -- Footer Styles -- */
footer {
  background-color: #111;
  color: #d4af37;
  text-align: center;
  padding: 20px;
  margin-top: 40px; /* فاصله از آخرین بخش */
  font-size: 0.9em;
}




/* -- Responsive Design -- */
@media (max-width: 1024px) {
  h1 { font-size: 2em; }
  h2 { font-size: 1.5em; }

  .header-content {
    flex-direction: column; /* چیدن عناصر هدر زیر هم */
    align-items: center;
  }

  nav ul {
    margin-top: 15px;
    justify-content: center; /* وسط چین کردن منو */
  }

  nav ul li {
    margin: 8px 10px; /* تنظیم فاصله بین آیتم‌های منو */
  }

  .logo-container {
    margin-bottom: 10px; /* فاصله بین لوگو و منو */
  }

  .slider-section {
    height: 45vh; /* کاهش ارتفاع اسلایدر در تبلت */
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }



}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column; /* منو عمودی در موبایل */
    width: 100%;
  }

  nav ul li {
    margin: 5px 0; /* حذف فاصله افقی، استفاده از فاصله عمودی */
    padding: 5px 0;
  }

  .section {
    padding: 40px 15px; /* کاهش padding در موبایل */
  }

  .reserve-form {
    padding: 20px;
  }

  .reserve-form input, .reserve-form button {
    width: calc(100% - 20px); /* تنظیم عرض با در نظر گرفتن padding */
  }
}

@media (max-width: 480px) {
  .logo {
    height: 40px;
    margin-right: 10px;
  }
  .academy-title {
    font-size: 1.2em;
  }
  .slider-section {
    height: 30vh; /* اسلایدر کوچکتر در موبایل‌های کوچک */
  }
  .gallery-grid img {
    height: 150px;
  }



}

















