/* ===================================================================
   MANNAT CATERERS — stylesheet
   One shared, cached file for every page. Kept deliberately light:
   no framework, no icon font, no raster images — just CSS + a
   handful of inline SVGs, so the browser has almost nothing to fetch
   and the server has almost nothing to serve beyond flat text.
   =================================================================== */

:root{
  /* Colour: named feast palette, not a generic template default */
  --maroon:        #4B1113;   /* curtain / dark section bg   */
  --maroon-deep:   #350C0D;   /* darker shade for depth       */
  --gold:          #F8B800;   /* marigold — primary accent, sampled from the brand logo */
  --gold-soft:     #FAD159;   /* light gold — text on dark backgrounds  */
  --gold-ink:      #886500;   /* deep gold — text on light backgrounds, meets AA contrast */
  --green:         #2F4B3C;   /* cardamom — secondary accent  */
  --ivory:         #FBF6EC;   /* light section bg             */
  --ivory-dim:     #F1E9D8;
  --ink:           #241512;   /* body text on light bg        */
  --cream-text:    #F6ECD9;   /* body text on dark bg         */

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', -apple-system, Segoe UI, Roboto, sans-serif;

  --max-w: 1120px;
  --radius: 2px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}
body{
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0 0 0.5em; font-weight:600; line-height:1.15; }
p{ margin:0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }

.container{ max-width:var(--max-w); margin:0 auto; padding:0 1.5rem; }
.eyebrow{
  display:inline-block; font-family:var(--font-body); font-size:0.78rem;
  letter-spacing:0.22em; text-transform:uppercase; color:var(--gold-ink);
  margin-bottom:0.75rem; font-weight:500;
}
.hero .eyebrow, .section-dark .eyebrow, .section-green .eyebrow{ color:var(--gold-soft); }

/* ---------- decorative dot-divider (pure CSS, no image request) ---------- */
.divider{
  height:14px;
  background-image: radial-gradient(circle, var(--gold) 2.5px, transparent 2.6px);
  background-size: 22px 14px;
  background-repeat: repeat-x;
  background-position: center;
  opacity:0.9;
}
.divider--on-dark{ background-image: radial-gradient(circle, var(--gold-soft) 2.5px, transparent 2.6px); }

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--maroon);
  border-bottom:1px solid rgba(217,164,65,0.35);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:0.85rem 1.5rem; max-width:var(--max-w); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:0.6rem; color:var(--cream-text); }
.brand svg, .brand img{ width:auto; height:38px; flex-shrink:0; display:block; }
.brand-text{ font-family:var(--font-display); font-size:1.5rem; font-weight:600; letter-spacing:0.02em; }
.brand-text em{ color:var(--gold); font-style:normal; }

.hero-logo{ max-width:min(280px, 55vw); width:100%; height:auto; margin:0 auto 1.1rem; display:block; }
.hero-wordmark{
  font-family:var(--font-display); font-size:clamp(1.8rem,4.2vw,2.6rem); font-weight:600;
  color:var(--cream-text); margin:0 0 0.9rem;
}
.hero-wordmark em{ color:var(--gold); font-style:normal; }
.footer-logo{ height:34px; width:auto; display:block; margin-bottom:0.85rem; }
.brand-seal{ max-width:min(200px, 60vw); width:100%; height:auto; margin:0 auto 0.9rem; display:block; }
.brand-seal-wordmark{
  font-family:var(--font-display); font-size:clamp(1.9rem,4.4vw,2.7rem); font-weight:600;
  color:var(--ink); margin:0 0 0.4rem;
}
.brand-seal-wordmark em{ color:var(--gold-ink); font-style:normal; }
.brand-seal-tagline{ font-family:var(--font-body); font-size:0.95rem; letter-spacing:0.06em; color:var(--gold-ink); margin:0; }

.nav-links{ display:flex; gap:2rem; }
.nav-links a{
  color:var(--cream-text); font-size:0.92rem; letter-spacing:0.04em;
  text-transform:uppercase; padding:0.4rem 0; position:relative;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:1px;
  background:var(--gold); transition:width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ width:100%; }
.nav-links a[aria-current="page"]{ color:var(--gold); }

.nav-toggle{
  display:none; background:none; border:1px solid var(--gold); border-radius:var(--radius);
  width:42px; height:38px; cursor:pointer; padding:0; position:relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; position:absolute; left:9px; right:9px; height:2px; background:var(--gold);
}
.nav-toggle span{ top:18px; }
.nav-toggle span::before{ top:-7px; }
.nav-toggle span::after{ top:7px; }

@media (max-width:820px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0; background:var(--maroon);
    flex-direction:column; gap:0; padding:0.5rem 1.5rem 1rem;
    border-bottom:1px solid rgba(217,164,65,0.35);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:0.7rem 0; }
  .nav-toggle{ display:block; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:0.5rem;
  font-family:var(--font-body); font-size:0.85rem; letter-spacing:0.06em;
  text-transform:uppercase; padding:0.85rem 1.6rem; border-radius:var(--radius);
  border:1px solid transparent; cursor:pointer; transition:transform 0.2s ease, background 0.2s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-gold{ background:var(--gold); color:var(--maroon-deep); font-weight:600; }
.btn-gold:hover{ background:var(--gold-soft); }
.btn-outline{ border-color:var(--gold-soft); color:var(--cream-text); }
.btn-outline:hover{ background:rgba(217,164,65,0.12); }
.btn-outline-dark{ border-color:var(--maroon); color:var(--maroon); }
.btn-outline-dark:hover{ background:rgba(75,17,19,0.08); }

/* ---------- sections ---------- */
.section{ padding:clamp(3rem,7vw,5.5rem) 0; }
.section-dark{ background:var(--maroon); color:var(--cream-text); }
.section-dark h2{ color:var(--cream-text); }
.section-green{ background:var(--green); color:var(--cream-text); }
.section-green h2{ color:var(--cream-text); }
.section-ivory{ background:var(--ivory); }
.section-ivory-dim{ background:var(--ivory-dim); }

/* ---------- hero ---------- */
.hero{
  background:radial-gradient(ellipse at 50% -10%, #611A1C 0%, var(--maroon) 55%, var(--maroon-deep) 100%);
  color:var(--cream-text); text-align:center; padding:clamp(3.5rem,9vw,6rem) 1.5rem;
}
.hero h1{ font-size:clamp(1.9rem,4.6vw,3.1rem); max-width:22em; margin:0 auto 0.6em; }
.hero h1 em{ color:var(--gold); font-style:italic; }
.hero p.lede{ font-size:1.15rem; max-width:36em; margin:0 auto 2rem; color:var(--gold-soft); }
.hero-actions{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ---------- grids / cards ---------- */
.grid{ display:grid; gap:var(--gap); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--ivory); border:1px solid rgba(75,17,19,0.1);
  border-radius:var(--radius); padding:1.75rem;
}
.section-dark .card, .section-green .card{
  background:rgba(251,246,236,0.06); border-color:rgba(217,164,65,0.3);
}
.card .icon{ width:40px; height:40px; color:var(--gold); margin-bottom:0.9rem; }
.card h3{ font-size:1.35rem; }

/* thali badge used on menu category headers */
.thali{
  width:64px; height:64px; border-radius:50%; border:2px solid var(--gold);
  display:flex; align-items:center; justify-content:center; margin:0 auto 0.75rem;
  background:radial-gradient(circle, rgba(217,164,65,0.15) 0%, transparent 70%);
}
.thali svg{ width:30px; height:30px; color:var(--gold); }

/* ---------- menu page ---------- */
.menu-category{ margin-bottom:3.5rem; }
.menu-category-head{ text-align:center; margin-bottom:2rem; }
.menu-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:0.5rem 2.5rem; }
@media (max-width:700px){ .menu-list{ grid-template-columns:1fr; } }
.menu-item{
  display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
  padding:0.85rem 0; border-bottom:1px dotted rgba(75,17,19,0.25);
}
.menu-item .name{ font-weight:500; }
.menu-item .name .veg{ display:inline-block; width:10px; height:10px; border:1.5px solid #2F6B3A; margin-right:0.5em; position:relative; top:-1px; }
.menu-item .name .veg::after{ content:""; position:absolute; inset:2px; background:#2F6B3A; border-radius:1px; }
.menu-item .name .nonveg{ border-color:#8B2E2E; }
.menu-item .name .nonveg::after{ background:#8B2E2E; }
.menu-item .desc{ font-size:0.85rem; opacity:0.7; display:block; margin-top:0.15rem; }
.menu-note{
  text-align:center; max-width:40em; margin:0 auto 3rem; padding:1rem 1.5rem;
  border:1px solid var(--gold); border-radius:var(--radius); font-size:0.92rem;
}

/* ---------- gallery placeholders (SVG/CSS only — no photo weight yet) ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
@media (max-width:800px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .gallery-grid{ grid-template-columns:1fr; } }
.gallery-grid img{
  width:100%; height:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius);
  display:block; transition:transform 0.35s ease;
}
.gallery-grid > div{ overflow:hidden; border-radius:var(--radius); }
.gallery-grid img:hover{ transform:scale(1.035); }
.gallery-tile{
  aspect-ratio:4/3; border:1.5px dashed rgba(75,17,19,0.35); border-radius:var(--radius);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0.5rem;
  color:rgba(36,21,18,0.55); background:var(--ivory-dim); text-align:center; padding:1rem;
}
.gallery-tile svg{ width:32px; height:32px; color:var(--gold); }
.gallery-tile span{ font-size:0.8rem; letter-spacing:0.04em; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:3rem; align-items:start; }
@media (max-width:800px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-row{ display:flex; gap:1rem; align-items:flex-start; padding:1rem 0; border-bottom:1px solid rgba(75,17,19,0.12); }
.contact-row svg{ width:24px; height:24px; color:var(--gold); flex-shrink:0; margin-top:2px; }
.contact-row a:hover{ text-decoration:underline; }
.map-wrap{ border:1px solid rgba(75,17,19,0.15); border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; }
.map-wrap iframe{ width:100%; height:100%; border:0; }

/* ---------- footer ---------- */
.site-footer{ background:var(--maroon-deep); color:var(--cream-text); padding:3rem 0 1.5rem; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:2.5rem; margin-bottom:2rem; }
@media (max-width:700px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ color:var(--gold); font-family:var(--font-body); font-size:0.85rem; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:1rem; }
.footer-grid li{ margin-bottom:0.55rem; opacity:0.9; }
.footer-grid a:hover{ color:var(--gold-soft); }
.footer-bottom{
  border-top:1px solid rgba(217,164,65,0.25); padding-top:1.25rem; text-align:center;
  font-size:0.8rem; opacity:0.7;
}

/* ---------- scroll reveal (progressive enhancement; content visible without JS) ---------- */
.reveal{ opacity:1; transform:none; }
.js .reveal{ opacity:0; transform:translateY(16px); transition:opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible{ opacity:1; transform:none; }

/* ---------- about page ---------- */
.about-hero{ text-align:center; }
.values-grid{ }
.timeline{ max-width:44em; margin:0 auto; }
.timeline-row{ display:grid; grid-template-columns:110px 1fr; gap:1.5rem; padding:1.25rem 0; border-bottom:1px dotted rgba(75,17,19,0.2); }
.timeline-row .step{ font-family:var(--font-display); font-size:1.1rem; color:var(--gold-ink); }

/* ---------- utility ---------- */
.text-center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }
.max-prose{ max-width:42em; }
.mt-lg{ margin-top:3rem; }
