/* Typography and base */
:root {
  --bg: #fdfaf6;
  --panel: #ffffff;
  --text: #1f1f1f;
  --muted: #5e5e5e;
  --accent: #fc8019;
  --accent-strong: #e86a00;
  --border: #e9dfd5;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  padding-bottom: 32px;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 10px;
  color: #1d1d1d;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main {
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-text .name {
  display: block;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo-text .tagline {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.diet-bar {
  position: sticky;
  top: 60px;
  z-index: 12;
  background: linear-gradient(180deg, rgba(253, 250, 246, 0.94) 0%, rgba(253, 250, 246, 0.86) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 10px;
  display: flex;
  justify-content: flex-start;
}

.diet-toggle {
  display: inline-flex;
  gap: 12px;
}

.diet-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d5d5d5;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.diet-chip .diet-label {
  font-weight: 700;
  color: var(--muted);
}

.switch-track {
  position: relative;
  width: 52px;
  height: 22px;
  background: #e5e5eb;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
}

.switch-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
  border: 2px solid #d5d5d5;
  transform: translateX(0);
}

.switch-icon::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.switch-icon.veg::after {
  background: #cfd2d6;
}

.switch-icon.non-veg::after {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid #cfd2d6;
  border-radius: 2px;
  background: transparent;
}

.diet-chip.active[data-diet="veg"] .switch-icon {
  border-color: #1fa86a;
  transform: translateX(24px);
}

.diet-chip.active[data-diet="veg"] .switch-icon::after {
  background: #1fa86a;
}

.diet-chip.active[data-diet="veg"] .diet-label {
  color: #1fa86a;
}

.diet-chip.active[data-diet="non-veg"] .switch-icon {
  border-color: #d94b4b;
  transform: translateX(24px);
}

.diet-chip.active[data-diet="non-veg"] .switch-icon::after {
  border-bottom-color: #d94b4b;
}

.diet-chip.active[data-diet="non-veg"] .diet-label {
  color: #d94b4b;
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  gap: 12px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(252, 128, 25, 0.12);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 18px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s;
}

.pill-button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 10px 24px rgba(252, 128, 25, 0.3);
}

.pill-button.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.pill-button.block {
  width: 100%;
}

.pill-button:active {
  transform: translateY(1px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  padding: 36px 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  background: linear-gradient(140deg, rgba(252, 128, 25, 0.08), rgba(255, 255, 255, 0));
  border-radius: 0 0 18px 18px;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 44px);
}

.hero .lead {
  max-width: 640px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 6px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.badges span {
  background: rgba(252, 128, 25, 0.12);
  color: #c55e1a;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-visual {
  display: grid;
  gap: 12px;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(252, 128, 25, 0.12), rgba(255, 205, 164, 0.6)),
    url("./images/starter.jpeg") center/cover no-repeat;
  border: 1px solid #e7b89f;
  color: transparent;
  display: block;
  text-indent: -9999px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid #e7b89f;
  display: block;
}

.hero-card ul {
  padding-left: 18px;
  margin: 0 0 12px;
}

.hero-card li {
  margin-bottom: 6px;
  color: var(--text);
}

.hero-card .card-title {
  font-weight: 700;
  color: var(--text);
}

.hero-card .card-note {
  font-size: 14px;
  color: var(--muted);
}

.section {
  padding: 40px 18px;
}

.section > .section-heading,
.section > .grid,
.section > .contact-layout {
  max-width: 1200px;
  margin: 0 auto;
}

.section.alt {
  background: #fff4ec;
}

.section-heading {
  margin-bottom: 24px;
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.section-subtitle {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-chip.active {
  border-color: var(--accent);
  background: rgba(252, 128, 25, 0.14);
  color: var(--text);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  font-size: 12px;
  color: #c04c2e;
  margin-bottom: 4px;
}

.grid {
  display: grid;
  gap: 16px;
}

.menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.menu-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.menu-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px dashed #f0e3d7;
}

.menu-item .name {
  font-weight: 700;
}

.menu-item .desc {
  color: var(--muted);
  font-size: 14px;
}

.menu-item .meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.diet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #444;
  display: inline-flex;
  margin-right: 6px;
}

.diet-dot.veg {
  background: #2ecc71;
  border-color: #1b944b;
}

.diet-dot.non-veg {
  background: #e74c3c;
  border-color: #bb2e20;
}

.diet-dot.egg {
  background: #f5d76e;
  border-color: #c7a72c;
}

.item-controls {
  display: inline-flex;
  align-items: center;
}

.add-btn {
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent-strong);
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0,0,0,0.04);
}

.add-btn.selected {
  background: rgba(252, 128, 25, 0.12);
  color: var(--accent-strong);
  border-color: var(--accent);
}

.badge {
  background: #f2d7c5;
  color: #b64827;
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}

.image-placeholder.small {
  aspect-ratio: 16 / 9;
  font-size: 13px;
  background: linear-gradient(135deg, #ffe9df, #ffd7c4),
    url("./images/starter.jpeg") center/cover no-repeat;
  color: transparent;
}

.category-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.more-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 40;
}

.cart-sheet {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 520px;
  max-height: 90vh;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  padding: 14px 16px 16px;
  overflow-y: auto;
  z-index: 50;
  border-radius: 18px;
}

.cart-overlay.hidden,
.cart-sheet.hidden {
  display: none;
}

.cart-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 35;
}

.cart-fab.hidden {
  display: none;
}

.cart-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.icon-only {
  padding: 10px;
  min-width: 44px;
}

.cart-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.cart-header .pill-button {
  flex-shrink: 0;
}

.cart-spacer {
  width: 44px;
  height: 1px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cart-item .title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item .meta {
  color: var(--muted);
  font-size: 13px;
}

.cart-item .actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.cart-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.cart-form input,
.cart-form textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 12px;
  background: #fdfaf6;
  color: var(--text);
  font-family: inherit;
}

.cart-form input:focus,
.cart-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: center;
}

.contact-list strong {
  font-weight: 700;
}

.contact-list a {
  font-weight: 600;
}

.socials svg {
  width: 22px;
  height: 22px;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.contact-list li {
  margin-bottom: 8px;
}

.checklist ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.checklist li {
  margin-bottom: 6px;
}

.contact-form-card {
  background: var(--panel);
  color: var(--text);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  color: var(--text);
}

.contact-form-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-form-card input,
.contact-form-card textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 12px;
  background: #fdfaf6;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-form-card .pill-button.primary {
  box-shadow: 0 8px 18px rgba(252, 128, 25, 0.28);
}

.form-hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.06);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  z-index: 25;
}

.action-bar .pill-button {
  flex: 1;
  border-radius: 12px;
  font-size: 14px;
  padding: 12px 10px;
}

.action-bar .pill-button.ghost {
  border-color: #f0e4d6;
}

.action-bar .pill-button.primary {
  box-shadow: 0 10px 22px rgba(252, 128, 25, 0.28);
}

.socials {
  display: flex;
  gap: 14px;
  font-size: 18px;
}

code {
  background: #fff1e8;
  padding: 3px 6px;
  border-radius: 8px;
}

/* Mobile adjustments */
@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 180px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .pill-button {
    width: auto;
  }

  .menu-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 12px 16px 10px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 14px 18px 110px;
    text-align: left;
  }

  .category-nav-wrapper {
    top: 56px;
  }
}
