/* Murtaza Caterings — strictly black & white, mobile-first.
   No frameworks, no third-party CSS. One stylesheet, easy to maintain. */

:root {
  --black: #111;
  --ink: #1a1a1a;
  --white: #fff;
  --off-white: #f6f6f4;
  --grey: #6b6b6b;
  --line: #e4e4e0;
  --radius: 14px;
  --max: 1120px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 72px 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--light { background: var(--off-white); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 700; margin-bottom: 12px; display: block;
}
.section h2 { font-size: clamp(1.9rem, 5vw, 2.7rem); }
.lead { color: var(--grey); font-size: 1.08rem; max-width: 640px; }
.section--dark .lead { color: #cfcfcf; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--black);
  color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid var(--black); cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--black); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-mark {
  width: 46px; height: 46px; background: var(--black); color: var(--white);
  display: grid; place-items: center; font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; border-radius: 10px; flex: none;
}
.brand-text { line-height: 1.15; }
.brand-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .02em; }
.brand-tag { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: .96rem;
  padding: 9px 13px; border-radius: 999px;
}
.main-nav a:hover { background: var(--off-white); }
.nav-cta { display: none; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; font-size: 1.05rem; cursor: pointer; line-height: 1;
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; background: var(--off-white); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 8vw, 3.6rem); margin: .1em 0 .45em; }
.hero .tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.15rem, 3.5vw, 1.5rem); margin-bottom: 6px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero figure { margin: 0; }
.hero figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
}
.hero figcaption, .about figcaption, .gallery-note {
  font-size: .85rem; color: var(--grey); margin-top: 10px;
}
.section--dark .hero figcaption { color: #bdbdbd; }
.sample-badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px;
  padding: 2px 9px; margin-left: 6px; vertical-align: middle;
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 36px; align-items: center; }
.about img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.highlights { display: grid; gap: 14px; margin-top: 28px; }
.highlight { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--white); }
.highlight h3 { font-size: 1.15rem; margin-bottom: 4px; }
.highlight p { margin: 0; color: var(--grey); font-size: .97rem; }

/* ---------- Menu ---------- */
.menu-placeholder {
  border: 2px dashed var(--black); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; max-width: 680px; margin: 32px auto 0;
  background: var(--white);
}
.menu-placeholder h3 { font-size: 1.5rem; }
.menu-placeholder p { color: var(--grey); }
.menu-category { margin-top: 40px; }
.menu-category > h3 { font-size: 1.55rem; border-bottom: 2px solid var(--black); padding-bottom: 10px; }
.menu-category .cat-note { color: var(--grey); font-size: .95rem; margin-top: 8px; }
.menu-items { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.menu-item {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 18px 2px; border-bottom: 1px solid var(--line);
}
.menu-item h4 { margin: 0 0 4px; font-size: 1.08rem; font-family: var(--font-body); }
.menu-item .desc { margin: 0; color: var(--grey); font-size: .95rem; }
.menu-item .serves { font-size: .85rem; color: var(--grey); }
.menu-item .price { font-weight: 700; white-space: nowrap; font-size: 1.05rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 16px; margin-top: 32px; }
.service-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 26px; border: 1px solid var(--line);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--black); color: var(--white);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px;
}
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--grey); margin-bottom: 16px; }
.service-card .confirm { font-size: .9rem; font-weight: 700; }
.services-note { margin-top: 24px; color: #cfcfcf; font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.gallery-grid figure { margin: 0; position: relative; }
.gallery-grid img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px;
}
.gallery-grid figcaption {
  position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.78);
  color: #fff; font-size: .85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}
.gallery-note { margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 36px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: var(--white);
}
.contact-row {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 0;
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grey); font-weight: 700; }
.contact-row .value { font-weight: 700; font-size: 1.08rem; }
.contact-row .hint { color: var(--grey); font-size: .92rem; }
.contact-icon { font-size: 1.4rem; line-height: 1.4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 32px; }
.site-footer .brand-tag { color: #bdbdbd; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a { text-decoration: none; color: #e8e8e8; }
.footer-nav a:hover { text-decoration: underline; }
.site-footer h3 { font-size: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; }
.footer-bottom {
  border-top: 1px solid #333; margin-top: 40px; padding-top: 22px;
  color: #bdbdbd; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
.footer-social a { color: #fff; margin-right: 18px; font-weight: 600; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--black); color: var(--white); text-decoration: none;
  font-weight: 700; padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.whatsapp-float:hover { background: #000; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 110px 0; }
.not-found h1 { font-size: clamp(3rem, 10vw, 5rem); }

/* ---------- Reveal (subtle, respects reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* ---------- Tablet & desktop ---------- */
@media (min-width: 700px) {
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero { padding: 84px 0 96px; }
  .about-grid { grid-template-columns: .95fr 1.05fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .nav-cta { display: inline-flex; padding: 10px 20px; }
}

/* ---------- Typewriter headline ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.typewriter-line { font-style: italic; }
.typewriter-caret {
  display: inline-block; width: 3px; height: .95em; background: currentColor;
  margin-left: 3px; vertical-align: -0.08em;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* ---------- How it works ---------- */
.steps-grid { display: grid; gap: 16px; margin-top: 32px; }
.step-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; background: var(--white);
}
.step-number {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--black); color: var(--white); font-weight: 700; font-size: 1.15rem;
  margin-bottom: 16px; font-family: var(--font-display);
}
.step-card h3 { font-size: 1.25rem; }
.step-card p { color: var(--grey); margin: 0; }

/* ---------- Header shadow + active nav ---------- */
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.main-nav a.active { background: var(--black); color: var(--white); }

@media (min-width: 700px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .typewriter-caret { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero badges ---------- */
.hero-quality { font-weight: 700; letter-spacing: .04em; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hero-badge {
  border: 2px solid var(--black); border-radius: 999px; padding: 7px 15px;
  font-weight: 700; font-size: .9rem; background: var(--white);
}

/* ---------- Menu: filters + dish cards ---------- */
.menu-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.filter-chip {
  border: 2px solid var(--black); background: var(--white); color: var(--black);
  border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: .95rem; cursor: pointer;
}
.filter-chip:hover { background: var(--off-white); }
.filter-chip.active { background: var(--black); color: var(--white); }
.dish-grid { display: grid; gap: 16px; margin-top: 20px; }
.dish-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.dish-img { position: relative; }
.dish-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sample-tag {
  position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.78); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.dish-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dish-body h4 { margin: 0; font-size: 1.12rem; font-family: var(--font-body); }
.dish-unit { margin: 0; color: var(--grey); font-size: .88rem; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.dish-price { font-weight: 700; font-size: 1.1rem; }
.btn--add { padding: 9px 18px; font-size: .95rem; }
.qty-stepper { display: inline-flex; align-items: center; gap: 2px; border: 2px solid var(--black); border-radius: 999px; overflow: hidden; }
.qty-stepper button {
  background: var(--white); border: 0; width: 34px; height: 34px; font-size: 1.15rem;
  font-weight: 700; cursor: pointer; line-height: 1;
}
.qty-stepper button:hover { background: var(--black); color: var(--white); }
.qty-stepper strong { min-width: 26px; text-align: center; }

/* ---------- Cart ---------- */
.cart-fab {
  position: fixed; right: 18px; bottom: 86px; z-index: 70;
  background: var(--black); color: var(--white); border: 0; border-radius: 999px;
  font-weight: 700; font-size: 1rem; padding: 13px 20px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.cart-fab[hidden] { display: none; }
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 80;
}
.cart-overlay[hidden] { display: none; }
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 90; height: 100%; height: 100dvh;
  width: min(430px, 94vw); background: var(--white); color: var(--ink);
  box-shadow: -8px 0 32px rgba(0,0,0,.25); transform: translateX(105%);
  transition: transform .25s ease; display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.cart-head h2 { margin: 0; font-size: 1.4rem; }
.cart-close { background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-items > p { color: var(--grey); }
.cart-row {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cart-row img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; }
.cart-row strong { display: block; font-size: .98rem; }
.cart-row .dish-unit { margin: 0; }
.cart-row .dish-price { font-size: .9rem; color: var(--grey); }
.cart-row .qty-stepper { grid-column: 2; }
.cart-row .qty-stepper button { width: 30px; height: 30px; }
.cart-line-total { grid-column: 3; grid-row: 1; font-weight: 700; white-space: nowrap; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; display: grid; gap: 12px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.15rem; }
.cart-note { margin: 0; color: var(--grey); font-size: .9rem; }
.btn.disabled { opacity: .45; pointer-events: none; }

@media (min-width: 700px) {
  .dish-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1020px) {
  .dish-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 899px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { display: block; padding: 12px 10px; font-size: 1.05rem; }
  .site-header { position: sticky; }
}
