* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  scroll-behavior: smooth;
  background: #F5E6D3;
}

/* Splash */
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #ffffffbf;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease;
}

#splash img {
  width: 345px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hero */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('backGround.png') center/cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
}

.btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: #c8a97e;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  color: white;
  font-weight: bold;
}

/* Menu */
.menu {
  background: #F5E6D3;
  padding: 40px 20px;
}

/* دسته‌بندی‌ها به صورت گرید ۳ تایی */
.categories {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cat {
  padding: 12px 8px;
  border: none;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.cat.active {
  background: #c8a97e;
  color: white;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(200, 169, 126, 0.3);
}

/* منو کانتینر */
.menu-container {
  max-width: 800px;
  margin: 30px auto 0;
}

.menu-category {
  display: none;
}

.menu-category.active {
  display: block;
}

/* آیتم‌های منو */
.menu-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* تصویر محصول (سمت راست) */
.menu-item-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  background: #f0e0d0;
  flex-shrink: 0;
}

/* اطلاعات محصول (وسط) */
.menu-item-info {
  flex: 2;
  text-align: center;
}

/* اسم فارسی - بزرگ و پررنگ و بالا */
.item-fa {
  font-size: 18px;
  font-weight: bold;
  color: #2b1d17;
  display: block;
  margin-bottom: 4px;
}

/* اسم انگلیسی - کوچکتر زیر فارسی */
.item-en {
  font-size: 14px;
  font-weight: normal;
  color: #888;
  display: block;
  margin-bottom: 6px;
}

/* توضیحات */
.item-desc {
  font-size: 11px;
  color: #aaa;
  display: block;
}

/* قیمت (سمت چپ - بزرگ و برجسته) */
.menu-item-price {
  font-weight: bold;
  color: #0c0b48;
  font-size: 22px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 70px;
  text-align: center;
}

/* Footer */
.footer {
  background: #2b1d17;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer a {
  color: #c8a97e;
  text-decoration: none;
  display: block;
  margin-top: 10px;
}

/* برای موبایل */
@media (max-width: 500px) {
  .categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px;
  }
  
  .cat {
    font-size: 12px;
    padding: 10px 4px;
  }
  
  .menu-item-img {
    width: 60px;
    height: 60px;
  }
  
  .item-en {
    font-size: 14px;
  }
  
  .item-fa {
    font-size: 12px;
  }
  
  .menu-item-price {
    font-size: 18px;
    min-width: 55px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
}
/* لایت‌باکس - برای بزرگنمایی عکس */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox .close-lightbox {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.lightbox .close-lightbox:hover {
  background: rgba(0,0,0,0.8);
}