:root {
  --bg: #0d0f0b;
  --cream: #f5efe3;
  --card: #fffaf0;
  --olive: #78825a;
  --olive2: #4f5739;
  --gold: #d7bd7a;
  --text: #161713;
  --muted: #777166;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: #f5efe3;
  color: var(--text);
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
textarea {
  font-family: inherit;
}
.landing-page {
  overflow: hidden;
  background: #000;
}
.landing {
  height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.5));
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 28px;
}
.eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
}
.hero-content h1 {
  font-size: clamp(48px, 13vw, 112px);
  letter-spacing: 11px;
  margin: 0 0 28px;
  font-weight: 500;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(245, 239, 227, 0.13);
  backdrop-filter: blur(16px);
  color: #fff;
  letter-spacing: 2px;
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transition: 0.25s;
}
.menu-btn:hover {
  background: var(--cream);
  color: #161713;
  transform: translateY(-3px);
}
.menu-page {
  background: radial-gradient(circle at top, #fff8eb, #f3ead8 38%, #ede1cc);
  padding-bottom: 95px;
}
.menu-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 7%;
  background: rgba(245, 239, 227, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(22, 23, 19, 0.08);
}
.brand {
  font-size: 27px;
  letter-spacing: 6px;
  font-weight: 600;
  color: #1b1d16;
}
.cart-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff9ee;
  color: var(--olive2);
  position: relative;
  cursor: pointer;
}
.cart-top span {
  position: absolute;
  top: -5px;
  left: -4px;
  background: var(--olive2);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.menu-hero {
  text-align: center;
  padding: 55px 18px 28px;
}
.menu-hero p {
  margin: 0 0 10px;
  color: var(--olive2);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
}
.menu-hero h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 58px);
}
.menu-hero span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}
.categories {
  position: sticky;
  top: 81px;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 0 16px;
}
.categories a {
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 15px 10px;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  font-weight: 700;
  transition: 0.2s;
}
.categories a:hover {
  background: #1d2117;
  color: #fff;
  transform: translateY(-2px);
}
.categories i {
  font-size: 20px;
  color: var(--olive);
}
.categories a:hover i {
  color: #fff;
}
.menu-container {
  width: min(1120px, 92%);
  margin: auto;
}
.food-section {
  padding: 24px 0 42px;
  scroll-margin-top: 165px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.section-title > i {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #1d2117;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.section-title h2 {
  margin: 0;
  font-size: 26px;
}
.section-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.food-card {
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.2s;
}
.food-card:hover {
  transform: translateY(-4px);
}
.food-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #ddd;
}
.card-body {
  padding: 16px;
}
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.card-title h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}
.price {
  white-space: nowrap;
  color: var(--olive2);
  font-weight: 800;
}
.desc {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  min-height: 45px;
}
.add-btn {
  width: 100%;
  border: 0;
  border-radius: 17px;
  background: #1d2117;
  color: #fff;
  height: 45px;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: 0.2s;
}
.add-btn:hover {
  background: var(--olive2);
}
.floating-cart {
  position: fixed;
  right: 50%;
  transform: translateX(50%);
  bottom: 18px;
  z-index: 30;
  border: 0;
  border-radius: 999px;
  background: #1d2117;
  color: #fff;
  height: 58px;
  min-width: 245px;
  padding: 0 22px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-weight: 800;
}
.floating-cart.show {
  display: flex;
}
.floating-cart b {
  background: var(--gold);
  color: #1d2117;
  border-radius: 50%;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.cart-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(410px, 92vw);
  height: 100vh;
  background: #fffaf0;
  z-index: 50;
  box-shadow: 20px 0 70px rgba(0, 0, 0, 0.22);
  transform: translateX(-110%);
  transition: 0.28s;
  display: flex;
  flex-direction: column;
}
.cart-panel.open {
  transform: translateX(0);
}
.cart-head {
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-head button,
.modal-close {
  border: 0;
  background: #ede1cc;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
.cart-items {
  padding: 18px;
  overflow: auto;
  flex: 1;
}
.cart-items.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.cart-item h4 {
  margin: 0 0 7px;
  font-size: 15px;
}
.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  background: #1d2117;
  color: #fff;
  cursor: pointer;
}
.remove {
  border: 0;
  background: transparent;
  color: #9b3f31;
  cursor: pointer;
}
.cart-footer {
  padding: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.checkout-btn,
.submit-order {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: var(--olive2);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.checkout-modal.open {
  display: flex;
}
.checkout-card {
  width: min(520px, 100%);
  background: #fffaf0;
  border-radius: 30px;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
}
.checkout-card h2 {
  margin: 0 0 8px;
}
.muted {
  color: var(--muted);
  margin: 0 0 18px;
}
.summary {
  background: #f0e5d2;
  border-radius: 22px;
  padding: 13px;
  margin-bottom: 14px;
  max-height: 150px;
  overflow: auto;
}
.summary div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
}
.checkout-card input,
.checkout-card textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  outline: 0;
}
.checkout-card textarea {
  min-height: 88px;
  resize: vertical;
}
.success-box {
  display: none;
  text-align: center;
  padding: 35px 15px;
}
.success-box i {
  font-size: 58px;
  color: var(--olive2);
  margin-bottom: 12px;
}
.success-box a {
  display: inline-flex;
  margin-top: 12px;
  background: #1d2117;
  color: #fff;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 800;
}
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories {
    top: 76px;
    overflow-x: auto;
    display: flex;
  }
  .categories a {
    min-width: 142px;
  }
  .food-card img {
    height: 165px;
  }
}
@media (max-width: 560px) {
  .menu-header {
    padding: 14px 18px;
  }
  .brand {
    font-size: 22px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .menu-hero {
    padding-top: 38px;
  }
  .food-section {
    scroll-margin-top: 150px;
  }
  .hero-content h1 {
    letter-spacing: 8px;
  }
  .food-card img {
    height: 205px;
  }
  .section-title h2 {
    font-size: 23px;
  }
}
/* Unified menu photography */
.food-card img {
  aspect-ratio: 2/2;
  height: auto;
  object-fit: cover;
  background: #f2e9d8;
  padding: 0;
}
