/* Nirvana — Catering & Tiffin Service
   Warm, high-contrast, easy-read design. System fonts only, no dependencies. */

:root {
  --ink: #2b2118;
  --ink-soft: #5a4a3a;
  --cream: #fff9f1;
  --paper: #fffdf9;
  --maroon: #7a1e1e;
  --maroon-dark: #5c1414;
  --marigold: #f2a81d;
  --marigold-dark: #c77f0a;
  --line: #ead9c8;
  --rose: #fdecea;
  --peach: #fff1dc;
  --mint: #eaf4ea;
  --lav: #f1eaf8;
  --butter: #fff6d9;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(122, 30, 30, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.55;
}

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2 { font-size: 2rem; color: var(--maroon-dark); }
h3 { font-size: 1.3rem; }

a { color: var(--maroon); }
a:hover { color: var(--maroon-dark); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--marigold);
  box-shadow: 0 2px 10px rgba(43, 33, 24, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand { text-decoration: none; line-height: 1.05; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.5px;
}
.brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--marigold-dark);
}
.brand-sub.light { color: var(--marigold); }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.main-nav a:hover { color: var(--maroon); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--maroon);
  border-radius: 2px;
  margin: 5px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--maroon);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--maroon-dark); }
.btn-small { padding: 9px 18px; font-size: 0.95rem; }

.btn-ghost {
  background: transparent;
  color: var(--maroon) !important;
  border: 2px solid var(--maroon);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--rose); }

.btn-light { background: var(--marigold); color: var(--ink) !important; }
.btn-light:hover { background: var(--marigold-dark); color: #fff !important; }
.btn-outline-light {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
  box-shadow: none;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--peach), var(--cream));
  padding: 56px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--marigold-dark);
  margin: 0 0 10px;
}
.hero h1 { font-size: 2.6rem; color: var(--maroon-dark); }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; font-size: 0.98rem; color: var(--ink-soft); }

.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}
.hero-photo img { width: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 46em; margin-top: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; margin-top: 28px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 16px;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.card p { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }
.card-note { font-size: 0.95rem; color: var(--ink-soft); }

.tint-rose { background: var(--rose); }
.tint-peach { background: var(--peach); }
.tint-mint { background: var(--mint); }
.tint-lav { background: var(--lav); }
.tint-butter { background: var(--butter); }

.price-line { font-size: 1.12rem; margin: 0 0 6px !important; }
.price-line strong { color: var(--maroon-dark); }

.box-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.badge {
  flex: none;
  background: var(--maroon);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-top: 2px;
}

.contents { margin: 10px 0 0; padding-left: 1.2em; }
.contents li { margin: 4px 0; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--marigold);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; }

/* ---------- Photo strip ---------- */
.photo-strip { margin: 36px 0 0; }
.photo-strip img {
  width: 100%;
  border-radius: var(--radius);
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}
.photo-strip figcaption {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 10px;
}

/* ---------- Tiffin ---------- */
.tiffin-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 24px;
  box-shadow: var(--shadow);
  font-size: 1.08rem;
}
.tiffin-box p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--maroon);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe9c9; font-size: 1.1rem; }
.cta-inner .hero-ctas { justify-content: center; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #221610;
  color: #f3e6d8;
  padding: 40px 0 56px;
  text-align: center;
}
.site-footer .brand-name { color: var(--marigold); }
.footer-contact a, .footer-social a { color: #ffd98a; text-decoration: none; }
.footer-contact a:hover, .footer-social a:hover { text-decoration: underline; }
.footer-fine { color: #b8a48f; font-size: 0.85rem; margin-bottom: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--maroon);
  text-align: center;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(43, 33, 24, 0.25);
}
.sticky-cta a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.02rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.1rem; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .hero-grid { grid-template-columns: 1fr; }
  .cards-4, .cards-2, .steps { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 3px solid var(--marigold);
    box-shadow: 0 12px 24px rgba(43, 33, 24, 0.12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-top: 1px solid var(--line); }
  .main-nav a.btn { text-align: center; margin-top: 10px; border-top: 0; }
  .site-header .wrap { position: relative; }

  .sticky-cta { display: block; }
  .site-footer { padding-bottom: 96px; }
}

/* ---------- Multi-page additions (merged Nirvana site) ---------- */

/* Header CTA row — the two big action buttons on every page */
.header-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
}
.btn-big {
  font-size: 1.06rem;
  padding: 15px 32px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.btn-alt { background: var(--marigold); color: var(--ink) !important; }
.btn-alt:hover { background: var(--marigold-dark); color: #fff !important; }

.main-nav a.active { color: var(--maroon); border-bottom: 3px solid var(--marigold); }

/* Interior page hero */
.page-hero {
  background: linear-gradient(180deg, var(--peach), var(--cream));
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 2.4rem; color: var(--maroon-dark); margin: 0 0 0.4em; }
.page-hero .hero-lede { max-width: 44em; }

/* Menu & add-on lists inside tint boxes */
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  font-size: 1.15rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-list li:last-child { border-bottom: 0; }

/* CTA row inside a section */
.section-cta { margin-top: 28px; }

/* Three-card row */
.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* Catering inquiry helper */
.inquiry {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.inquiry .field { display: flex; flex-direction: column; gap: 6px; }
.inquiry .field-wide { grid-column: 1 / -1; }
.inquiry label { font-weight: 700; font-size: 0.98rem; color: var(--maroon-dark); }
.inquiry input,
.inquiry textarea {
  font: inherit;
  font-size: 1rem;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.inquiry input:focus,
.inquiry textarea:focus { outline: 3px solid rgba(242, 168, 29, 0.45); border-color: var(--marigold-dark); }
.inquiry .hero-ctas { grid-column: 1 / -1; }
.inquiry .card-note { grid-column: 1 / -1; margin: 0; }
.inquiry button.btn { border: 0; cursor: pointer; font: inherit; }

/* Contact page big actions */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 30px;
}

/* Footer page links */
.footer-nav a { color: #ffd98a; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* Sticky bar separator */
.sticky-sep { color: rgba(255, 255, 255, 0.6); margin: 0 8px; }

@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2rem; }
}

@media (max-width: 700px) {
  .inquiry { grid-template-columns: 1fr; }
  .header-ctas .btn-big { flex: 1 1 100%; text-align: center; }
  .main-nav a.active { border-bottom: 0; }
}
