:root {
  --maroon-900: #3d0709;
  --maroon-800: #5b080d;
  --maroon-700: #7a1017;
  --gold-500: #c9a227;
  --gold-300: #e8cf8a;
  --gold-100: #f7ecd0;
  --cream: #fdf6ec;
  --ink: #2a1a12;
  --ink-soft: #5c4a3d;
  --veg-green: #1e7a34;
  --nonveg-red: #b3261e;
  --shadow: 0 10px 30px rgba(61, 7, 9, 0.12);
  --radius: 14px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Georgia", "Palatino Linotype", serif;
  color: var(--maroon-800);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { line-height: 1.7; color: var(--ink-soft); }

a { color: var(--maroon-700); }

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
header.site-header {
  background: var(--maroon-900);
  color: var(--gold-100);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gold-100);
}

.brand img {
  height: 52px;
  width: 52px;
  object-fit: contain;
}

.brand-text .name {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--gold-300);
  letter-spacing: 0.3px;
}

.brand-text .tag {
  font-size: 0.72rem;
  color: var(--gold-100);
  opacity: 0.85;
  font-style: italic;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav.main-nav a {
  color: var(--gold-100);
  text-decoration: none;
  padding: 10px 14px;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: rgba(232, 207, 138, 0.15);
  color: var(--gold-300);
}

.nav-order-btn {
  background: var(--gold-500);
  color: var(--maroon-900) !important;
  font-weight: bold;
  margin-left: 6px;
}

.nav-order-btn:hover {
  background: var(--gold-300) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-100);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--maroon-900);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 16px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 10px; }
  .nav-order-btn { margin-left: 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--maroon-900) 0%, var(--maroon-700) 100%);
  color: var(--gold-100);
  text-align: center;
  padding: 64px 20px 72px;
}

.hero img.hero-logo {
  height: 140px;
  width: 140px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}

.hero h1 {
  color: var(--gold-300);
  font-size: 2.4rem;
  margin-bottom: 6px;
}

.hero .subtitle {
  font-style: italic;
  color: var(--gold-100);
  font-size: 1.15rem;
  margin-bottom: 26px;
  opacity: 0.9;
}

.hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
  font-size: 0.92rem;
}

.hero .meta-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(232, 207, 138, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--gold-100);
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold-500);
  color: var(--maroon-900);
}

.btn-primary:hover { box-shadow: 0 8px 18px rgba(201,162,39,0.4); }

.btn-outline {
  background: transparent;
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.btn-whatsapp {
  background: #25D366;
  color: #06341c;
}

.btn-whatsapp:hover { box-shadow: 0 8px 18px rgba(37,211,102,0.4); }

/* ---------- Sections ---------- */
section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--ink-soft);
}

.divider-motif {
  text-align: center;
  color: var(--gold-500);
  font-size: 1.2rem;
  margin: 0 auto 30px;
  letter-spacing: 8px;
}

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--gold-100);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  text-align: center;
}

.card .icon { font-size: 2.2rem; margin-bottom: 10px; }

/* ---------- Menu page ---------- */
.menu-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .menu-layout { grid-template-columns: 1fr; }
}

.menu-category {
  margin-bottom: 34px;
}

.menu-category h2 {
  border-bottom: 2px solid var(--gold-300);
  padding-bottom: 8px;
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #e8ddc9;
}

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

.menu-item-name {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--ink);
}

.veg-dot, .nonveg-dot {
  margin-top: 5px;
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  display: inline-block;
}

.veg-dot { border: 1.5px solid var(--veg-green); position: relative; }
.veg-dot::after {
  content: "";
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--veg-green);
}

.nonveg-dot { border: 1.5px solid var(--nonveg-red); position: relative; }
.nonveg-dot::after {
  content: "";
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid var(--nonveg-red);
}

.menu-item-price {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  white-space: nowrap;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--maroon-700);
  background: #fff;
  color: var(--maroon-700);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover { background: var(--gold-100); }

.qty-value {
  min-width: 18px;
  text-align: center;
  font-weight: bold;
}

/* Order panel */
.order-panel {
  background: #fff;
  border: 1px solid var(--gold-100);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}

.order-panel h3 { margin-bottom: 4px; }

.order-panel .empty-note {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-style: italic;
}

.order-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 6px 0;
  border-bottom: 1px solid #f1e9d8;
}

.order-panel label {
  display: block;
  font-size: 0.85rem;
  margin: 12px 0 4px;
  color: var(--ink-soft);
}

.order-panel input,
.order-panel select,
.order-panel textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #ddcda3;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--cream);
}

.order-panel textarea { resize: vertical; min-height: 60px; }

.order-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* Sticky mobile order bar */
.mobile-order-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--maroon-900);
  color: var(--gold-100);
  padding: 12px 18px;
  align-items: center;
  justify-content: space-between;
  z-index: 60;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.2);
}

.mobile-order-bar.show { display: flex; }

.mobile-order-bar button {
  background: var(--gold-500);
  color: var(--maroon-900);
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
}

/* ---------- Gallery placeholders ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  background: linear-gradient(150deg, var(--gold-100), var(--gold-300));
  border: 1px solid var(--gold-300);
  color: var(--maroon-700);
  position: relative;
  overflow: hidden;
}

.gallery-tile span.label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  font-size: 0.72rem;
  font-family: sans-serif;
  color: var(--maroon-900);
  opacity: 0.75;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item .ic { font-size: 1.5rem; }

/* ---------- Footer ---------- */
footer.site-footer {
  margin-top: auto;
  background: var(--maroon-900);
  color: var(--gold-100);
  padding: 34px 0 22px;
  text-align: center;
  font-size: 0.88rem;
}

footer.site-footer .foot-tag {
  color: var(--gold-300);
  font-style: italic;
  margin-bottom: 14px;
}

footer.site-footer a { color: var(--gold-100); }

.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--maroon-900);
  color: var(--gold-100);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.toast.show { opacity: 1; }
