/* Hriday Cafe public website — hridaycafe.in
   Brand: the logo's near-black, metallic gold and deep red on warm cream. */

:root {
  --ink: #15110f;
  --ink-2: #211915;
  --ink-3: #2c221c;
  --cream: #fbf7f1;
  --paper: #ffffff;
  --line: #ece4da;
  --text: #1e1a17;
  --muted: #6b625a;
  --faint: #9a9088;
  --red: #b3202e;
  --red-dark: #8e1824;
  --gold: #c99a3c;
  --gold-light: #e8c989;
  --veg: #1e8e4e;
  --nonveg: #b3261e;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(43, 26, 18, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Devanagari', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
p {
  margin: 0;
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- top bar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(21, 17, 15, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(201, 154, 60, 0.18);
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.brand img {
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: #e9e1d6;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav a[aria-current='page'] {
  color: var(--gold-light);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn--red {
  background: var(--red);
  color: #fff !important;
}

.btn--red:hover {
  background: var(--red-dark);
}

.btn--gold {
  background: var(--gold);
  color: var(--ink) !important;
}

.btn--ghost {
  border-color: rgba(232, 201, 137, 0.55);
  color: var(--gold-light);
}

.btn--outline {
  border-color: var(--red);
  color: var(--red);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.actions--center {
  justify-content: center;
}

/* ---- hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(60% 70% at 15% 20%, rgba(179, 32, 46, 0.35), transparent 70%),
    radial-gradient(50% 60% at 95% 90%, rgba(201, 154, 60, 0.22), transparent 70%), var(--ink);
  color: #f3eee9;
}

.hero__in {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 44px;
}

.hero__logo {
  width: 168px;
  height: 168px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 14px;
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status--open {
  background: rgba(30, 142, 78, 0.16);
  color: #6fe0a0;
}

.status--open .dot {
  background: #3ccf7f;
  box-shadow: 0 0 0 4px rgba(60, 207, 127, 0.18);
}

.status--closed {
  background: rgba(179, 32, 46, 0.18);
  color: #ff9aa4;
}

.status--closed .dot {
  background: #ff6b78;
}

.menu-head .status--open {
  color: var(--veg);
  background: rgba(30, 142, 78, 0.1);
}

.menu-head .status--closed {
  color: var(--red);
  background: rgba(179, 32, 46, 0.08);
}

.eyebrow {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
}

.hero h1 {
  font-size: clamp(34px, 8vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-top: 4px;
}

.hero h1 span {
  color: var(--gold-light);
}

.tagline {
  margin-top: 10px;
  font-size: clamp(20px, 4.6vw, 28px);
  color: var(--gold-light);
  font-weight: 600;
}

.lead {
  margin-top: 8px;
  color: #cfc5b9;
  font-size: 16.5px;
  max-width: 560px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.facts li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 137, 0.28);
  color: #e9dcc7;
  font-size: 13.5px;
}

/* ---- sections ---- */
.section {
  padding: 56px 0;
}

.section--dark {
  background: var(--ink-2);
  color: #f3eee9;
}

.section--cream {
  background: var(--cream);
}

.kicker {
  color: var(--red);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section--dark .kicker {
  color: var(--gold);
}

.section h2 {
  font-size: clamp(26px, 5.5vw, 36px);
  line-height: 1.2;
  margin-top: 6px;
}

.sub {
  margin-top: 8px;
  color: var(--muted);
  max-width: 640px;
}

.section--dark .sub {
  color: #b9ad9f;
}

.center {
  text-align: center;
  margin-top: 28px;
}

/* most loved */
.dishes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.dish {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dish__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dish--text {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold);
}

.dish__rank {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
}

.dish--text .dish__rank {
  position: static;
  align-self: flex-start;
  margin: 14px 14px 0;
}

.dish__body {
  padding: 12px 14px 14px;
}

.dish--text .dish__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dish--text .dish__price {
  margin-top: auto;
  padding-top: 8px;
}

.dish__name {
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.dish__hi {
  color: var(--muted);
  font-size: 13.5px;
}

.dish__price {
  margin-top: 6px;
  font-weight: 700;
  color: var(--red);
}

/* veg mark */
.mark {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  border: 1.5px solid;
  border-radius: 3px;
  display: inline-grid;
  place-items: center;
}

.mark::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.mark--veg {
  color: var(--veg);
}

.mark--nonveg {
  color: var(--nonveg);
}

.mark--egg {
  color: #d4a017;
}

/* table ordering steps */
.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 18px 18px 18px 66px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 201, 137, 0.16);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.steps strong {
  display: block;
  font-size: 17px;
}

.steps span {
  color: #c4b8aa;
  font-size: 14.5px;
}

/* categories */
.intro {
  margin-top: 14px;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.menu-sec__more {
  margin: -4px 0 10px;
  font-size: 14px;
}

.menu-sec__more a {
  color: var(--red);
  font-weight: 500;
  text-decoration: none;
}

.menu-sec__more a:hover {
  text-decoration: underline;
}

.more-cats {
  margin-top: 40px;
}

.more-cats h2 {
  font-size: 22px;
}

.section--offers {
  padding: 40px 0;
  background: linear-gradient(135deg, #fff6e6 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
}

.offers {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.offer strong {
  font-size: 18px;
  line-height: 1.3;
}

.offer > span:last-child {
  color: var(--muted);
  font-size: 14.5px;
}

.offer__tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.offer--live {
  border-color: var(--gold);
}

.offer--live .offer__tag {
  background: var(--red);
  color: #fff;
}

.cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.cats a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  background: var(--paper);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cats a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.cats strong {
  font-size: 16.5px;
}

.cats span {
  color: var(--muted);
  font-size: 14px;
}

.cats em {
  margin-top: auto;
  padding-top: 6px;
  font-style: normal;
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
}

/* visit */
.visit {
  display: grid;
  gap: 26px;
}

.info {
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
}

.info dt {
  font-size: 13px;
  color: var(--faint);
  font-weight: 500;
}

.info dd {
  margin: 2px 0 0;
  font-size: 16.5px;
  font-weight: 500;
}

.info a {
  color: var(--red);
  text-decoration: none;
}

/* The map's frame shows a quiet placeholder until Google Maps paints. */
.map {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: repeating-linear-gradient(45deg, #f1ebe3 0 12px, #f6f1ea 12px 24px);
}

.map::before {
  content: 'Google Maps';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--faint);
  font-weight: 500;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* reviews */
.love {
  text-align: center;
}

.love .sub {
  margin-left: auto;
  margin-right: auto;
}

/* faq */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  margin-top: 12px;
}

.faq details:first-of-type {
  margin-top: 24px;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  float: right;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  padding: 0 0 16px;
  color: var(--muted);
}

/* ---- menu page ---- */
.menu-head {
  padding: 34px 0 20px;
  background: var(--cream);
}

.crumbs {
  font-size: 13.5px;
  color: var(--faint);
  margin-bottom: 14px;
}

.crumbs a {
  color: var(--muted);
}

.menu-head h1 {
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.1;
}

.menu-head .lead {
  color: var(--muted);
}

.note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--faint);
}

.menu-nav {
  position: sticky;
  top: 60px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.menu-nav__in {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.menu-nav__in::-webkit-scrollbar {
  display: none;
}

.menu-nav a {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f3eee8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.menu-sec {
  padding-top: 30px;
}

.menu-sec h2 {
  font-size: 22px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.menu-sec h2 span {
  color: var(--muted);
  font-weight: 500;
  font-size: 17px;
}

.menu-sec ul {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.item__name {
  display: flex;
  gap: 8px;
  font-weight: 600;
  line-height: 1.35;
}

.item__label small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
}

.item__desc {
  margin: 4px 0 0 23px;
  color: var(--muted);
  font-size: 14px;
}

.item__price {
  font-weight: 700;
  white-space: nowrap;
}

.table-cta {
  margin: 40px 0 56px;
  padding: 28px 22px;
  border-radius: var(--radius);
  text-align: center;
  background: var(--ink-2);
  color: #f3eee9;
}

.table-cta h2 {
  font-size: 24px;
}

.table-cta p {
  margin-top: 6px;
  color: #c4b8aa;
}

/* ---- footer ---- */
.footer {
  background: var(--ink);
  color: #cfc5b9;
  padding: 40px 0 26px;
  font-size: 14.5px;
}

.footer__grid {
  display: grid;
  gap: 22px;
}

.footer__name {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
}

.footer a {
  color: #e9e1d6;
  text-decoration: none;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer__staff {
  color: #8a7f75 !important;
}

.footer__small {
  margin-top: 26px;
  font-size: 12.5px;
  color: #8a7f75;
}

/* ---- larger screens ---- */
@media (min-width: 760px) {
  .offers {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__in {
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 44px;
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .hero__logo {
    width: 300px;
    height: 300px;
  }

  .dishes {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .cats {
    grid-template-columns: repeat(4, 1fr);
  }

  .visit {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }

  .map {
    min-height: 380px;
  }

  .footer__grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .section {
    padding: 80px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .cats a {
    transition: none;
  }
}
