/* =====================================================================
   A.S.B Caterers — design tokens
   Palette drawn from the subject itself: turmeric, banana-leaf, brass,
   kumkum — not a generic cream+terracotta template.
   ===================================================================== */
:root {
  --ivory:        #FBF6EA;   /* base background — rice / banana leaf backdrop */
  --maroon:       #7A1F2B;   /* kumkum red — headers, primary CTA */
  --maroon-dark:  #5C1620;
  --turmeric:     #D9A441;   /* brass / turmeric gold — accents, dividers */
  --leaf-green:   #4C6444;   /* banana leaf — veg badge */
  --chilli-red:   #B23A2E;   /* non-veg badge */
  --ink:          #241C15;   /* body text */
  --ink-soft:     #5A4F42;
  --card:         #FFFFFF;
  --shadow:       0 6px 24px rgba(122, 31, 43, 0.10);
  --radius:       14px;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Kannada:wght@500;700&family=Noto+Sans+Kannada:wght@400;600&family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Inter:wght@400;500;600&display=swap');

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Inter', 'Noto Sans Kannada', sans-serif;
  line-height: 1.55;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', 'Noto Serif Kannada', serif;
  color: var(--maroon-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(217,164,65,0.18), transparent 45%),
    linear-gradient(180deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #FBF6EA;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  border-bottom: 6px solid var(--turmeric);
}

.hero h1 {
  color: #FBF6EA;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 0.6rem;
}

.hero .tagline {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #F1E3C6;
}

.hero .address {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: #E7CFA0;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  font-size: 0.98rem;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--turmeric);
  color: var(--maroon-dark);
}
.btn-gold:hover { box-shadow: 0 6px 18px rgba(217,164,65,0.4); }

.btn-outline {
  background: transparent;
  color: #FBF6EA;
  border-color: rgba(251,246,234,0.55);
}
.btn-outline:hover { border-color: #FBF6EA; }

.btn-maroon {
  background: var(--maroon);
  color: #fff;
  width: 100%;
  border: none;
  padding: 0.9rem;
  font-size: 1.02rem;
  border-radius: 10px;
}
.btn-maroon:hover { background: var(--maroon-dark); }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  background: var(--maroon-dark);
  color: #F1E3C6;
  padding: 1.6rem 1.5rem;
}
.stat-item {
  text-align: center;
  min-width: 110px;
}
.stat-item strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  color: var(--turmeric);
}
.stat-item span {
  font-size: 0.78rem;
  color: #E7CFA0;
}

/* ---------- Event types grid ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.9rem;
}
.event-card {
  background: var(--card);
  border: 1.5px solid #EEDFC2;
  border-radius: var(--radius);
  padding: 1.1rem 0.8rem;
  text-align: center;
  font-weight: 600;
  color: var(--maroon-dark);
  box-shadow: var(--shadow);
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}
.why-card {
  text-align: center;
  padding: 1rem;
}
.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Section shell ---------- */
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.2rem;
}
.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.4rem;
}
.section-heading .rule {
  width: 64px;
  height: 3px;
  background: var(--turmeric);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* ---------- Menu grid ---------- */
.menu-category {
  margin-bottom: 2.4rem;
}
.menu-category h3 {
  font-size: 1.2rem;
  border-bottom: 2px dashed rgba(122,31,43,0.25);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.menu-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.menu-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(122, 31, 43, 0.16);
}

.menu-item-photo {
  height: 130px;
  background-size: cover;
  background-position: center;
  background-color: #F3E3C8;
  position: relative;
}
.menu-item-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FBE6B8, #F3C97A);
}
.photo-placeholder-icon { font-size: 1.8rem; opacity: 0.55; }

.menu-item-photo .badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: rgba(255,255,255,0.9);
  margin: 0;
}

.menu-item-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
}

.menu-item .name { font-weight: 600; }
.menu-item .price {
  color: var(--maroon);
  font-weight: 700;
  white-space: nowrap;
}
.menu-item .price small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.badge {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid;
  border-radius: 3px;
  margin-right: 0.4rem;
  position: relative;
  top: 2px;
}
.badge.veg { border-color: var(--leaf-green); }
.badge.veg::after {
  content: '';
  position: absolute; inset: 2px;
  background: var(--leaf-green);
  border-radius: 50%;
}
.badge.nonveg { border-color: var(--chilli-red); }
.badge.nonveg::after {
  content: '';
  position: absolute; inset: 2px;
  background: var(--chilli-red);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* ---------- Enquiry form ---------- */
.enquiry-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 620px;
  margin: 0 auto;
  border-top: 5px solid var(--turmeric);
}

.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #E4D8C3;
  border-radius: 9px;
  font-size: 0.98rem;
  font-family: inherit;
  background: #FEFCF7;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--turmeric);
  box-shadow: 0 0 0 3px rgba(217,164,65,0.25);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

.alert {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.alert-success { background: #E7EFE2; color: var(--leaf-green); border: 1px solid #C6D9BB; }
.alert-error   { background: #F7E5E1; color: var(--chilli-red); border: 1px solid #E8C3BA; }

/* ---------- Footer ---------- */
footer {
  background: var(--maroon-dark);
  color: #E7CFA0;
  text-align: center;
  padding: 1.6rem 1rem;
  font-size: 0.85rem;
}

:focus-visible {
  outline: 3px solid var(--turmeric);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
