/* Restaurant Nemooneh – Demo one-page site */

:root {
  --maroon: #7a2331;
  --maroon-dark: #591a24;
  --gold: #c9a227;
  --gold-light: #e6c35c;
  --turquoise: #1f7a7a;
  --cream: #faf5ec;
  --cream-dark: #f1e7d6;
  --ink: #2a1d16;
  --ink-soft: #5a4a3f;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(42, 29, 22, 0.12);
  --radius: 14px;
  --topbar-h: 40px;
  --nav-h: 72px;
  --font-de: Georgia, 'Times New Roman', 'Playfair Display', serif;
  --font-fa: 'Vazirmatn', Tahoma, 'Segoe UI', 'Noto Sans Arabic', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--nav-h) + 10px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="fa"] body { font-family: var(--font-fa); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-de); margin: 0 0 .5em; line-height: 1.2; color: var(--maroon-dark); }
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3 { font-family: var(--font-fa); }
p { margin: 0 0 1em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  color: var(--turquoise);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--gold); color: var(--maroon-dark); }
.btn-primary:hover { background: var(--gold-light); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-dark); box-shadow: var(--shadow); }

/* ---------- Top utility bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--maroon-dark);
  color: var(--cream);
  z-index: 1000;
  font-size: .85rem;
}
.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-contacts { display: flex; align-items: center; gap: 18px; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar-contacts svg { width: 16px; height: 16px; }
.topbar-contacts .wa { color: #7fe3a3; }
.topbar-contacts a:hover { color: var(--gold-light); }
.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--cream);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--maroon-dark); border-color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: var(--topbar-h);
  z-index: 999;
  background: rgba(250, 245, 236, .96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(42,29,22,.06);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--maroon);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-de); font-weight: 700; font-size: 1.2rem;
  flex: none;
}
.brand-text { line-height: 1.1; }
.brand-text .name { font-family: var(--font-de); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; color: var(--maroon-dark); }
.brand-text .sub { font-size: .74rem; color: var(--turquoise); letter-spacing: .08em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--maroon); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px;
  background: var(--gold); transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: .88rem; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--maroon-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(42,20,18,.55), rgba(42,20,18,.78)), url('../img/hero-chelo-kabab.jpg') center/cover no-repeat;
}
.hero-inner { max-width: 680px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--white); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.92); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- About ---------- */
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { aspect-ratio: 4/3; object-fit: cover; }
.about-text .eyebrow { color: var(--maroon); }

/* ---------- Menu grid ---------- */
.menu { background: var(--cream-dark); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.food-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform .2s ease, box-shadow .2s ease;
}
.food-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(42,29,22,.18); }
.food-card .img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.food-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.food-card:hover .img-wrap img { transform: scale(1.06); }
.food-card .body { padding: 20px 22px 24px; }
.food-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.food-card p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Hours & contact ---------- */
.info-strip { background: var(--maroon); color: var(--cream); padding: 64px 0; }
.info-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.info-block { display: flex; gap: 16px; }
.info-block svg { width: 30px; height: 30px; flex: none; color: var(--gold-light); }
.info-block h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 6px; }
.info-block p { color: rgba(250,245,236,.85); margin: 0; font-size: .92rem; }
.info-block .disclaimer { font-size: .78rem; color: rgba(250,245,236,.6); margin-top: 4px; }

/* ---------- Map ---------- */
.map-section .section-head { margin-bottom: 32px; }
.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/7;
  background: var(--cream-dark) url('../img/persian-cuisine.jpg') center/cover;
  display: flex; align-items: center; justify-content: center;
}
.map-frame::before { content: ""; position: absolute; inset: 0; background: rgba(42,29,22,.55); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 460px; padding: 20px; }
.map-consent p { font-size: .85rem; color: rgba(255,255,255,.85); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: var(--ink);
  color: var(--cream);
  padding: 18px 24px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
  transform: translateY(110%);
  transition: transform .35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cookie-inner p { margin: 0; font-size: .88rem; max-width: 640px; color: rgba(250,245,236,.9); }
.cookie-inner p a { text-decoration: underline; color: var(--gold-light); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(250,245,236,.4); }
.btn-ghost:hover { background: rgba(250,245,236,.1); }

/* ---------- Footer ---------- */
footer { background: var(--maroon-dark); color: rgba(250,245,236,.85); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-grid p { font-size: .9rem; color: rgba(250,245,236,.7); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(250,245,236,.3);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: rgba(250,245,236,.1); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(250,245,236,.15);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .78rem; color: rgba(250,245,236,.55);
}
.footer-bottom a:hover { color: var(--gold-light); }
.footer-credit { max-width: 720px; }

/* ---------- Floating WhatsApp button (mobile helper) ---------- */
.fab-whatsapp {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 900;
}
.fab-whatsapp svg { width: 28px; height: 28px; color: white; }
html[dir="rtl"] .fab-whatsapp { right: auto; left: 20px; }

/* ---------- RTL adjustments ---------- */
html[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
html[dir="rtl"] .food-card { border-top: 4px solid var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-strip .container { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta .btn-outline-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { padding: 8px 14px; font-size: .8rem; }
  .topbar-contacts span.label { display: none; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }

  .nav-menu-mobile {
    position: fixed;
    top: calc(var(--topbar-h) + var(--nav-h));
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex; flex-direction: column; padding: 10px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 998;
  }
  .nav-menu-mobile.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-menu-mobile a { padding: 12px 0; border-bottom: 1px solid var(--cream-dark); font-weight: 600; }
}
@media (min-width: 761px) {
  .nav-menu-mobile { display: none; }
}
