/* Dalma House — classic restaurant landing
   Banana-leaf green, turmeric and a leaf-tinted white. Rozha One (ITF)
   and Mukta (Ek Type) are both Indian typefaces. */
:root {
  --brand: #2E6A2E;
  --brand-deep: #1E4C1F;
  --brand-soft: #E2EDD9;
  --brand-ink: #FFFFFF;

  --bg: #F6F8F2;
  --ink: #172015;
  --muted: #59634F;
  --line: #D8E0CF;
  --turmeric: #E1A21B;
  --nonveg: #7B3F10;

  --display: 'Rozha One', Georgia, serif;
  --body: 'Mukta', system-ui, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.05rem; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
h1, h2, h3, .logo { font-family: var(--display); font-weight: 400; line-height: 1.08; }

.topbar { background: var(--brand-deep); color: #EAF2E2; text-align: center; font-size: .86rem; padding: 7px 16px; }
.topbar a { color: #fff; font-weight: 700; }

/* ---------- header ---------- */
.header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { font-size: 1.7rem; text-decoration: none; color: var(--brand-deep); }
.nav { display: flex; gap: 30px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--brand); }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 26px; font-weight: 700; text-decoration: none; border: 2px solid var(--brand); cursor: pointer; transition: background .2s, color .2s; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-line { background: transparent; color: var(--brand-deep); }
.btn-line:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn-wide { width: 100%; }
.link-btn { background: none; border: 0; color: var(--brand); text-decoration: underline; cursor: pointer; font-weight: 500; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center; }
.eyebrow { font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow-light { color: #CFE3BF; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); color: var(--brand-deep); margin-bottom: 20px; }
.lede { color: var(--muted); font-size: 1.14rem; max-width: 44ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.leaf-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 30px rgba(23, 32, 21, .18)); }
.leaf-art figcaption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 6px; }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--brand-soft); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts p { padding: 22px 24px; color: var(--muted); border-left: 1px solid var(--line); }
.facts p:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; color: var(--ink); font-size: 1.08rem; }

/* ---------- menu ---------- */
.menu { padding: 80px 0; }
.menu-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.menu h2, .book h2, .visit h2, .thali h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--brand-deep); }
.legend { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.legend .nonveg { margin-left: 14px; }
/* FSSAI food marks: green square + dot for veg, brown square + triangle for non-veg */
.mark { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1.8px solid; border-radius: 2px; flex: 0 0 auto; }
.mark::after { content: ""; }
.mark.veg { border-color: #1E8A3A; }
.mark.veg::after { width: 8px; height: 8px; border-radius: 50%; background: #1E8A3A; }
.mark.nonveg { border-color: var(--nonveg); }
.mark.nonveg::after { width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 8px solid var(--nonveg); }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tabs button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.dishes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 56px; }
.dish { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.dish-top { display: flex; align-items: baseline; gap: 10px; }
.dish-top .mark { transform: translateY(2px); }
.dish h3 { font-family: var(--body); font-weight: 700; font-size: 1.08rem; }
.dish-top .dots { flex: 1; border-bottom: 2px dotted #B7C2AC; transform: translateY(-4px); min-width: 20px; }
.dish-top .price { font-weight: 700; }
.dish p { color: var(--muted); font-size: .95rem; margin-left: 26px; }

/* ---------- sunday thali ---------- */
.thali { padding: 80px 0; background: var(--brand-deep); color: #EAF2E2; }
.thali-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.thali h2 { color: #fff; }
.thali-price { font-family: var(--display); font-size: 2.6rem; color: var(--turmeric); margin: 10px 0 22px; }
.thali-price span { display: block; font-family: var(--body); font-size: 1rem; color: #CFE3BF; }
.thali-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.thali-list li { padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(255, 255, 255, .16); position: relative; }
.thali-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: var(--turmeric); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.thali-list em { font-style: normal; color: #CFE3BF; }

/* ---------- booking ---------- */
.book { padding: 80px 0; }
.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.book-intro p { color: var(--muted); margin-top: 12px; }
.book-form, .booked { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.book-form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.book-form input, .book-form select { height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); font-weight: 400; }
.book-form input:focus, .book-form select:focus { outline: none; border-color: var(--brand); }
.slots { border: 0; margin-bottom: 16px; }
.slots legend { font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.slot-row { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-row label { position: relative; }
.slot-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot-row span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); font-weight: 500; }
.slot-row small { display: block; font-size: .72rem; color: #9A5A12; line-height: 1; }
.slot-row input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.slot-row input:checked + span small { color: #E7F3DC; }
.slot-row input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form-error { min-height: 1.4em; color: #A33A1E; font-weight: 500; margin-bottom: 8px; }
.booked h3 { font-size: 2rem; color: var(--brand-deep); margin-bottom: 8px; }
.booked p { margin-bottom: 14px; }

/* ---------- visit ---------- */
.visit { padding: 72px 0 88px; border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.address { font-size: 1.3rem; font-weight: 500; margin: 12px 0 8px; }
.hours { border-collapse: collapse; width: 100%; }
.hours caption { text-align: left; font-family: var(--display); font-size: 1.5rem; color: var(--brand-deep); margin-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 700; padding-right: 16px; }
.footer { background: var(--ink); color: #C9D2BF; padding: 26px 0 90px; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer .logo { color: #fff; font-size: 1.3rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .thali-grid, .book-grid, .visit-grid { grid-template-columns: 1fr; }
  .dishes { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .header .btn { padding: 9px 16px; font-size: .9rem; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts p, .facts p:first-child { border-left: 0; padding: 14px 0; border-top: 1px solid var(--line); }
  .facts p:first-child { border-top: 0; }
  .thali-list, .row { grid-template-columns: 1fr; }
  .menu, .thali, .book { padding: 60px 0; }
  .topbar { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
