/* ==========================================================================
   Mirmire Nepali Taste — styles.css
   Dark, elegant Himalayan theme. Mobile-first. No build step.
   ========================================================================== */

:root {
  /* Color */
  --bg:        #131313;
  --bg-2:      #171717;
  --surface:   #1e1e1e;
  --surface-2: #262626;
  --line:      rgba(255,255,255,.08);
  --text:      #f5f4f1;
  --muted:     #a8a29a;
  --accent:    #f5c518;   /* warm yellow */
  --accent-ink:#2a2100;
  --green:     #8fbf5a;

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing / shape */
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;
  --pad:       clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --shadow:    0 18px 50px rgba(0,0,0,.45);
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background-color: var(--bg);
  /* subtle textured near-black backdrop built from layered radial gradients */
  background-image:
    radial-gradient(1200px 600px at 15% -10%, rgba(245,197,24,.06), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(143,191,90,.05), transparent 55%),
    radial-gradient(700px 700px at 50% 120%, rgba(255,255,255,.03), transparent 60%);
  background-attachment: fixed;
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
p  { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section  { padding-block: var(--section-y); position: relative; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: .8rem;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem,5vw,3.5rem); }
.section-lead { color: var(--muted); }
.price { color: var(--accent); font-family: var(--serif); font-weight: 700; }
.price-lg { font-size: clamp(1.6rem, 4vw, 2.2rem); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px rgba(245,197,24,.28); }
.btn-accent:hover { color: var(--accent-ink); box-shadow: 0 14px 30px rgba(245,197,24,.4); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(15,15,15,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: clamp(.8rem, 2vw, 1.2rem);
  transition: padding .3s var(--ease);
}
.scrolled .header-inner { padding-block: .7rem; }

.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark { font-size: 1.15rem; color: var(--accent); font-weight: 700; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1; display: flex; flex-direction: column; }
.brand-sub { font-family: var(--sans); font-weight: 300; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-link { font-size: .95rem; font-weight: 400; color: var(--text); position: relative; padding: .2rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--accent); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center; background: transparent;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90; }

/* ==========================================================================
   Decorative accents
   ========================================================================== */
.decor { position: absolute; pointer-events: none; user-select: none; opacity: .9; z-index: 0; }
.decor-leaf { width: clamp(70px, 10vw, 130px); }
.decor-spice { width: clamp(110px, 16vw, 180px); opacity: .5; }
.hero-leaf-1 { top: 12%; left: -20px; transform: rotate(-25deg); }
.hero-leaf-2 { top: 40%; right: -24px; transform: rotate(140deg) scale(.8); }
.hero-spice  { bottom: 8%; left: 4%; }
.sig-leaf    { top: -20px; right: 8%; transform: rotate(35deg); }
.about-spice { top: 10%; right: 2%; }
.quotes-leaf { bottom: -10px; left: 4%; transform: rotate(200deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(2rem, 6vw, 4rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { margin-bottom: 1rem; }
.hero-sub { color: var(--muted); max-width: 560px; font-size: clamp(1rem, 2vw, 1.15rem); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1.6rem; }
.hero-photo {
  margin-top: clamp(2rem, 6vw, 3.5rem);
  width: min(560px, 82vw); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid rgba(255,255,255,.04);
  position: relative;
}
.hero-photo::after { content:""; position:absolute; inset:0; border-radius:50%; box-shadow: inset 0 0 60px rgba(0,0,0,.5); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Signature band
   ========================================================================== */
.signature { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; padding-block: var(--section-y); }
.signature-inner { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
.signature-photo { width: min(360px, 70vw); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); border: 6px solid rgba(255,255,255,.04); }
.signature-photo img { width: 100%; height: 100%; object-fit: cover; }
.signature-copy { text-align: center; }
.signature-copy p:not(.eyebrow):not(.price) { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.signature-copy .price-lg { margin: .4rem 0 1.4rem; }

/* ==========================================================================
   Menu
   ========================================================================== */
.menu-filters {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  font-family: var(--sans); font-size: .88rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.filter:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.filter.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 500; }

.menu-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}
.dish {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.dish:hover { transform: translateY(-6px); border-color: rgba(245,197,24,.35); box-shadow: var(--shadow); }
.dish.hide { display: none; }

.dish-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.dish:hover .dish-photo img { transform: scale(1.06); }

.dish-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.dish-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font-size: .68rem; letter-spacing: .02em; padding: .2rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag-veg { color: var(--green); }
.tag-gf  { color: #d9c48a; }
.tag-spice { color: #e8935f; }
.dish-name { margin: 0; font-size: 1.15rem; }
.dish-desc { color: var(--muted); font-size: .88rem; margin: 0; flex: 1; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.dish-foot .price { font-size: 1.3rem; }
.add {
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.add:hover { transform: scale(1.1); box-shadow: 0 8px 18px rgba(245,197,24,.4); }
.add.pop { animation: pop .35s var(--ease); }
@keyframes pop { 0%{transform:scale(1)} 45%{transform:scale(1.35)} 100%{transform:scale(1)} }

.menu-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 2rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.about-inner { position: relative; z-index: 1; display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: center; }
.about-copy p:not(.eyebrow) { color: var(--muted); max-width: 54ch; }
.offer-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.offer-chips li {
  padding: .6rem 1.1rem; border-radius: 999px; font-size: .9rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid; gap: clamp(.6rem, 1.5vw, 1rem);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
}
.gallery-grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--surface-2); }
.gallery-grid figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.07); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { position: relative; overflow: hidden; }
.quote-card {
  max-width: 760px; margin-inline: auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow); position: relative; z-index: 1;
}
.quote-card blockquote { margin: 0 0 1.6rem; font-family: var(--serif); font-size: clamp(1.2rem, 3vw, 1.7rem); line-height: 1.4; }
.quote-person { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.quote-photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--surface-2); }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote-name { margin: 0; font-weight: 500; }
.quote-role { margin: 0; color: var(--muted); font-size: .82rem; }

/* ==========================================================================
   Visit
   ========================================================================== */
.visit-grid { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); grid-template-columns: 1fr; }
.visit-info .info-block { padding-bottom: 1.3rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.visit-info .info-block:last-of-type { border-bottom: none; }
.visit-info h3 { color: var(--accent); font-family: var(--sans); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: .6rem; }
.visit-info p { color: var(--muted); margin: 0 0 .4rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .35rem 0; color: var(--text); font-weight: 400; }
.hours td { text-align: right; color: var(--muted); }
.delivery-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.socials { display: flex; gap: 1.2rem; font-size: .9rem; }
.socials a { color: var(--muted); }
.socials a:hover { color: var(--accent); }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.contact-form h3 { margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--sans); font-size: .95rem; padding: .8rem .9rem; resize: vertical;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.form-note { color: var(--muted); font-size: .78rem; margin-top: .9rem; }

.map { margin-top: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: clamp(260px, 40vw, 420px); border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 6vw, 4rem); }
.footer-inner { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; }
.footer-brand .brand-mark { color: var(--accent); font-size: 1.1rem; }
.footer-brand .brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin: .3rem 0; display: flex; flex-direction: column; }
.footer-tag { color: var(--muted); font-size: .9rem; max-width: 34ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; align-content: start; }
.footer-nav a, .footer-contact a { color: var(--muted); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact p { color: var(--muted); margin: 0 0 .4rem; }
.copyright { text-align: center; color: var(--muted); font-size: .78rem; padding: 1.5rem 0; border-top: 1px solid var(--line); margin: 0; }

/* ==========================================================================
   Scroll-reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .dish:hover, .add:hover { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .wide { grid-column: span 2; aspect-ratio: 3/2; }
}

@media (min-width: 900px) {
  .signature-inner { grid-template-columns: .8fr 1fr; }
  .signature-copy { text-align: left; }
  .signature-copy p:not(.eyebrow):not(.price) { margin-inline: 0; }
  .about-inner { grid-template-columns: 1.2fr .8fr; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Mobile nav (drawer) ---- */
@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: 95;
    width: min(320px, 82vw); flex-direction: column; gap: 0;
    background: var(--bg-2); border-left: 1px solid var(--line);
    padding: 5rem 1.6rem 2rem; transform: translateX(100%);
    transition: transform .35s var(--ease); box-shadow: var(--shadow);
  }
  .nav.open { transform: translateX(0); }
  .nav-link { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-link::after { display: none; }
}
