
/* ==============
   Mangatav Restaurant - RTL CSS
   Author: ChatGPT
   Works with: f2b2c44a-0992-4590-97fa-b717e429c020.html
   ============== */

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #000000;
  --surface: #000000;
  --surface-2: #9a6701e3;
  --text: #e9eef6;
  --muted: #ffffff;
  --brand: #ffffff;
  --brand-2: #ff9a3c;
  --ok: #30d158;
  --danger: #ff4d4f;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

html[lang="fa"], html[lang="ar"] {
  direction: rtl;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff3dae3 0%, #ffe6b5e3 30%, #ffda91e3 100%);
  color: var(--text);
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  direction: rtl;
}

/* Optional: load a Persian-friendly font */
@font-face{
  font-family: "IRANSansX";
  src: local("IRANSansX"), local("IRANSansX Regular");
  font-display: swap;
}

/* ---- Utilities ---- */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.hide { display: none !important; }

.show {
  animation: fadeUp .8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Header ---- */
.main-header {
  position: relative;
  min-height: 48vh;
  display: grid;
  place-items: center;
  padding: 48px 16px 24px;
  text-align: center;
  background: radial-gradient(1200px 600px at 50% 0%, rgba(255,195,67,.08), transparent 60%),
              radial-gradient(800px 400px at 50% 100%, rgba(255,154,60,.06), transparent 60%);
  overflow: hidden;
}

.main-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/hero-noise.png"), radial-gradient(600px 280px at 50% 30%, rgba(255,195,67,.04), transparent 60%);
  opacity: .35;
  pointer-events: none;
}

.header-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  background: #0c0e12;
  border: 6px solid rgba(255, 174, 0, 0.684);
  box-shadow: var(--shadow);
  margin-bottom: 25px;
}

.welcome-text h1 {
  display: inline-block;
  padding: 12px 28px;
  font-size: 28px;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, #ffaa0083, #946300);
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
  margin-top: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.welcome-text h1:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 22px rgba(0,0,0,0.5);
}

/* ---- Category Tabs ---- */
.menu-container {
  width: min(1200px, 95vw);
  margin: -56px auto 40px;
  position: relative;
  z-index: 1;
}

.categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  margin-bottom: 20px;

  background: #0f0b00;   
  border: 1px solid rgba(255, 255, 255, 0.08); 
  border-radius: 14px;                 
  box-shadow: 0 6px 16px rgba(0,0,0,.4);

  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.category-item {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(145deg, #ffaa0083, #ffaa00e3);
  color: #f5f5f5;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
  white-space: nowrap;   /* متن نشکنه */
}

/* فقط در دسکتاپ همه مساوی بشن */
@media (min-width: 768px) {
  .category-item {
    flex: 1;
    text-align: center;
  }
}

.category-item:hover {
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(145deg, #ffaa0083, #ffaa00e3);
  color: #111 !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.6);
}

.category-item.active {
  background: linear-gradient(145deg, #ffaa0083, #ffaa00e3);
  color: #111 !important;
  border: 1px solid rgba(255,195,67,.6);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.category-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

/* ---- Menu Sections ---- */
.menu-items-container {
  margin-top: 22px;
  display: grid;
  gap: 28px;
}

.menu-items-wrapper {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.menu-items-title {
  margin: 0 0 18px 0;
  font-size: clamp(20px, 3.6vw, 28px);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.menu-items-title::before {
  content: "•";
  color: var(--brand-2);
  font-size: 1.4em;
}

/* ---- Cards Grid ---- */
.menu-items-box {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.menu-item {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  background: #25000045;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  padding: 12px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.menu-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,195,67,.35);
  box-shadow: 0 10px 28px rgba(255,195,67,.35);
}

.item-img {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 196, 0, 0.08);
  background: #feffff;
}

.item-info {
  display: grid;
  gap: 6px;
}

.item-name {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.2px;
}

.price {
  margin: 0;
  font-weight: 700;
  color: var(--brand);
  font-size: 16px;
}

.price .price-postfix {
  font-weight: 400;
  color: var(--muted);
  margin-inline-start: 4px;
}

/* Details list inside card */
.details-list {
  grid-column: 1 / -1;
  margin: 6px 0 0 0;
  padding: 0 18px;
  color: var(--muted);
}

.details-list li { margin: 4px 0; }

/* Action button */
.reserve-button,
.contact-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: #221700;
  border: none;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(255,195,67,.25);
  transition: transform .15s ease, filter .15s ease;
}

.reserve-button:hover,
.contact-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.1);
}

/* ---- Go To Top Button ---- */
#goTopBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #ffaa0083, #946300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1100;
}

#goTopBtn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(0); /* آیکن مشکی روی زمینه طلایی */
}

#goTopBtn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 22px rgba(0,0,0,0.55);
}


/* ---- Footer ---- */
.main-footer {
  background: linear-gradient(135deg, #000000, #9a6701e3);
  border-top: 2px;
  border-radius: 16px 16px 0 0;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  font-family: "Vazirmatn", Tahoma, sans-serif;
}

.footer-info p {
  color: #bbb;
  margin: 6px 0;
  font-size: 15px;
}

.custom-copyright {
  margin-top: 20px;
  font-size: 14px;
  color: #eee;
  line-height: 1.8;
}

.custom-copyright strong {
  color: #ffc343;
}

.custom-copyright a {
  color: #ffc343;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-copyright a:hover {
  color: #ff9a3c;
}

.main-footer a:hover {
  color: #ff9a3c;        /* هاور زیباتر */
}


.footer-info p,
.footer-info .address-text {
  text-align: center;       /* نوشته‌ها هم وسط */
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
  margin-top: 12px;
  display: block;
}


.footer-info .support-text,
.footer-info .reservation-note {
  margin: 0 0 10px 0;
  color: var(--muted);
}

.contact-button-footer {
  margin: 12px 0 8px;
}

.footer-social .social-title {
  margin: 10px 0 8px;
  color: var(--text);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .2s ease, border-color .2s ease;
}

.social-icon:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255,195,67,.35);
}

.footer-location .map-container {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 10px;
}

.address-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0 0;
  color: var(--muted);
}

.address-text img {
  width: 18px;
  height: 18px;
}

/* Footer bottom */
.copyright {
  text-align: center;
  color: var(--muted);
  margin-top: 18px;
  font-size: 14px;
}

.footer-text .footer-name {
  color: var(--brand);
  text-decoration: none;
}

/* ---- Responsive ---- */
@media (min-width: 560px) {
  .menu-item {
    grid-template-columns: 120px 1fr auto;
    align-items: center;
  }
  .item-img { width: 120px; height: 120px; }
}

@media (min-width: 680px) {
  .menu-items-box { gap: 16px; }
  .menu-item { grid-column: span 6; }
}

@media (min-width: 920px) {
  .menu-item { grid-column: span 4; }
}

@media (max-width: 640px) {
  .categories {
    border-radius: 16px;
  }
  .welcome-text {
    border-radius: 16px;
  }
}

/* ---- Small Enhancements ---- */
a { color: inherit; }

/* Smooth hover glow for interactive elements */
.category-item,
.menu-item,
.social-icon,
#goTopBtn {
  will-change: transform;
}

/* Make iframes responsive inside map-container */
.map-container iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 12px;
}

/* --- End --- */


/* ==== Fixes per user request (v2) ==== */

/* 1) Remove order/contact buttons everywhere */
.reserve-button,
.contact-button,
.contact-button-footer {
  display: none !important;
}

/* Adjust card layout when action column is gone */
@media (min-width: 560px) {
  .menu-item {
    grid-template-columns: 120px 1fr; /* image + content only */
  }
}

/* Stronger mobile optimization */
@media (max-width: 768px) {
  .menu-items-box {
    display: grid;
    grid-template-columns: 1fr; /* single column on phones */
    gap: 14px;
  }
  .menu-item {
    grid-column: auto; /* one per row */
    grid-template-columns: 96px 1fr;
  }
}

/* Smooth show/hide when filtering */
.menu-items-wrapper.is-hidden,
.menu-item.is-hidden {
  display: none !important;
}

/* فاصله عنوان بالای صفحه */
.welcome-text {
  margin-bottom: 32px; /* فاصله بیشتر از منوی پایین */
}

/* متن دسته‌بندی‌ها */
.category-item {
  font-size: 16px;   /* قبلاً 14px یا کوچیک بود */
  font-weight: 600;  /* کمی پررنگ‌تر */
  padding: 10px 18px; /* فضای داخلی بیشتر برای قشنگ‌تر شدن */
}

.call-link {
  color: #ffc343;
  font-weight: bold;
  text-decoration: none;
}
.call-link:hover {
  color: #ff9a3c;
}
.sub-title {
  font-size: 18px;
  color: #000000;   /* طلایی مثلا */
  margin-top: 5px;
}