/* Panshi Restaurant — Kaynaaan Digital one-page build
   Brand colours taken from the client's signage (red + gold) and menu boards (leaf green + paper). */
:root {
  --brand-900: #4A070C;
  --brand-800: #7E0E16;
  --brand-700: #A3131D;
  --brand-600: #C8202A;
  --brand-100: #F8DCD6;
  --brand-50:  #FFF7EC;
  --accent:    #F5B301;
  --accent-700:#C98F00;
  --leaf:      #0E4D2E;
  --leaf-50:   #EAF2EC;
  --wa:        #1FA855;
  --wa-700:    #178443;
  --ink:       #231512;
  --body:      #4B3A34;
  --muted:     #7A6860;
  --line:      #EADCC8;
  --paper:     #FFFBF4;
  --white:     #FFFFFF;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(74 7 12 / .08);
  --shadow-md: 0 8px 24px -10px rgb(74 7 12 / .25);
  --shadow-lg: 0 24px 48px -20px rgb(74 7 12 / .35);
  --wrap: 1180px;

  --f-display: "Rozha One", Georgia, "Times New Roman", serif;
  --f-body: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* 1.25 type scale */
  --t-sm: .875rem;
  --t-base: 1rem;
  --t-md: clamp(1.1rem, 1.05rem + .25vw, 1.25rem);
  --t-lg: clamp(1.25rem, 1.15rem + .5vw, 1.563rem);
  --t-xl: clamp(1.563rem, 1.35rem + 1vw, 1.953rem);
  --t-2xl: clamp(1.953rem, 1.6rem + 1.8vw, 2.441rem);
  --t-3xl: clamp(2.441rem, 1.8rem + 3.4vw, 4.2rem);

  --section: 66px;
  --header-h: 68px;
}
@media (min-width: 768px) { :root { --section: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--f-body); font-size: var(--t-base); line-height: 1.6; color: var(--body); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; color: var(--ink); line-height: 1.12; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: var(--radius-sm); text-decoration: none; }
.skip:focus { inset-block-start: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
.section { padding-block: var(--section); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: var(--t-base); line-height: 1.1; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, transform .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 54px; padding: 14px 24px; font-size: var(--t-md); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-700); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .7); }
.btn-ghost:hover { background: rgb(255 255 255 / .12); }
.btn:active { transform: translateY(1px); }

/* Header */
.site-header { position: sticky; inset-block-start: 0; z-index: 50; background: var(--paper); border-block-end: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-size: 1.6rem; color: var(--brand-800); }
.brand-sub { font-size: .8rem; color: var(--muted); margin-block-start: 2px; }
.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle-bars::before { inset-block-start: -6px; }
.nav-toggle-bars::after { inset-block-start: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { position: absolute; inset-inline: 0; inset-block-start: 100%; display: none; flex-direction: column; gap: 4px; padding: 12px 20px 20px; background: var(--paper); border-block-end: 1px solid var(--line); box-shadow: var(--shadow-md); }
.site-nav.is-open { display: flex; }
.site-nav a:not(.btn) { padding: 12px 4px; text-decoration: none; font-weight: 500; color: var(--ink); border-block-end: 1px solid var(--line); }
.site-nav a[aria-current="true"] { color: var(--brand-700); }
.nav-cta { margin-block-start: 12px; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav a:not(.btn) { padding: 6px 0; border: 0; border-block-end: 2px solid transparent; }
  .site-nav a:not(.btn):hover, .site-nav a[aria-current="true"] { border-block-end-color: var(--brand-700); }
  .nav-cta { margin: 0; min-height: 44px; }
}

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(88svh, 780px); display: flex; align-items: flex-end; overflow: hidden; background: var(--brand-900); }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-img { object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgb(40 4 7 / .96) 0%, rgb(52 5 9 / .86) 45%, rgb(52 5 9 / .72) 75%, rgb(52 5 9 / .6) 100%); }
@media (min-width: 768px) {
  .hero-shade { background:
    linear-gradient(90deg, rgb(40 4 7 / .94) 0%, rgb(48 5 8 / .82) 38%, rgb(48 5 8 / .25) 68%, rgb(0 0 0 / 0) 85%),
    linear-gradient(to top, rgb(40 4 7 / .6) 0%, rgb(0 0 0 / 0) 40%); }
}
.hero-inner { padding-block: 120px 48px; color: var(--white); }
.hero-bn { font-size: var(--t-lg); font-weight: 600; color: var(--accent); margin-block-end: 8px; }
.hero h1 { color: var(--white); font-size: var(--t-3xl); max-width: 14ch; letter-spacing: -.005em; text-shadow: 0 2px 20px rgb(0 0 0 / .35); }
.hero-sub { font-size: var(--t-md); max-width: 44ch; margin-block-start: 16px; color: rgb(255 255 255 / .92); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 24px; }
.pills li { padding: 6px 14px; border-radius: 999px; background: rgb(245 179 1 / .16); border: 1px solid rgb(245 179 1 / .55); color: #FFE7A6; font-size: var(--t-sm); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }
@media (min-width: 768px) { .hero-inner { padding-block: 160px 72px; } }

/* Band: hours / delivery / plans */
.band { background: var(--brand-800); color: rgb(255 255 255 / .88); padding-block: 40px; }
.band-grid { display: grid; gap: 28px; }
.band-grid li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; }
.band-grid svg { grid-row: span 2; width: 44px; height: 44px; padding: 9px; color: var(--brand-900); background: var(--accent); border-radius: 50%; }
.band-grid h3 { color: var(--white); font-size: var(--t-lg); }
.band-grid p { font-size: var(--t-base); }
@media (min-width: 768px) { .band { padding-block: 48px; } .band-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Section heads */
.section-head { max-width: 640px; margin-block-end: 40px; }
.section-head h2 { font-size: var(--t-2xl); color: var(--brand-800); }
.lede { margin-block-start: 12px; font-size: var(--t-md); }

/* Menu */
.menu { background:
  radial-gradient(circle at 100% 0, var(--leaf-50) 0, transparent 40%),
  var(--brand-50); border-block: 1px solid var(--line); }
.menu-group-title { font-size: var(--t-xl); color: var(--leaf); padding-block-end: 10px; margin-block-end: 16px; border-block-end: 3px double var(--accent); }
.specials { margin-block-end: 48px; }
.special-list { display: grid; gap: 12px; }
.special { display: grid; grid-template-columns: 108px 1fr auto; align-items: center; gap: 16px; padding: 8px; padding-inline-end: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.special img { width: 108px; height: 76px; object-fit: cover; border-radius: 10px; }
.special div { display: flex; flex-direction: column; }
.special .dish, .price-list .dish { font-size: var(--t-md); font-weight: 600; color: var(--ink); line-height: 1.3; }
@media (min-width: 640px) { .special-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .special-list { grid-template-columns: repeat(3, 1fr); } }

.price { font-family: var(--f-display); font-size: var(--t-md); color: var(--white); background: var(--brand-700); padding: 4px 12px 2px; border-radius: 6px 14px 6px 14px; white-space: nowrap; line-height: 1.3; }
.price.ask { background: transparent; color: var(--brand-700); border: 1.5px dashed var(--brand-600); font-family: var(--f-body); font-weight: 600; font-size: var(--t-sm); padding: 4px 10px; }

.menu-cols { display: grid; gap: 24px; }
.menu-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px 20px 20px; box-shadow: var(--shadow-md); overflow: hidden; }
.menu-card-img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 4px solid var(--white); box-shadow: var(--shadow-md); position: absolute; inset-block-start: 14px; inset-inline-end: 14px; }
.menu-card .menu-group-title { padding-inline-end: 130px; min-height: 104px; display: flex; align-items: flex-end; }
.price-list li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "dish dots price"; column-gap: 12px; align-items: center; padding-block: 12px; border-block-end: 1px solid var(--line); }
.price-list li:last-child { border-block-end: 0; }
.price-list .dish { grid-area: dish; }
.price-list .dots { grid-area: dots; border-block-start: 2px dotted #D9C6AE; min-width: 12px; }
.price-list .price { grid-area: price; }
@media (min-width: 640px) { .menu-card { padding: 32px 32px 24px; } .menu-card-img { width: 140px; height: 140px; inset-inline-end: 24px; } .menu-card .menu-group-title { padding-inline-end: 160px; min-height: 120px; } }
@media (min-width: 1000px) { .menu-cols { grid-template-columns: 1fr 1fr; align-items: start; gap: 32px; } }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-block-start: 40px; padding: 20px 24px; background: var(--leaf); color: var(--white); border-radius: var(--radius); }
.menu-foot p { font-size: var(--t-lg); font-weight: 600; color: #FFE7A6; }

/* Inside gallery */
.gallery { display: grid; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--brand-100); box-shadow: var(--shadow-md); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { position: absolute; inset-inline-start: 12px; inset-block-end: 12px; padding: 4px 12px; border-radius: 999px; background: rgb(35 21 18 / .72); color: var(--white); font-size: var(--t-sm); font-weight: 500; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
  .g-a { grid-row: span 2; }
  .g-a img { aspect-ratio: auto; min-height: 100%; }
}

/* Contact */
.contact { background: var(--brand-50); border-block-start: 1px solid var(--line); }
.contact-grid { display: grid; gap: 16px; }
.contact-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
a.contact-card:hover { border-color: var(--brand-600); box-shadow: var(--shadow-md); }
.contact-card svg { grid-row: span 2; width: 52px; height: 52px; padding: 12px; border-radius: 50%; color: var(--white); background: var(--brand-700); }
.cc-wa svg { background: var(--wa); }
.cc-hours svg { background: var(--leaf); }
.cc-label { font-size: var(--t-sm); color: var(--muted); }
.cc-value { font-size: var(--t-lg); font-weight: 700; color: var(--ink); line-height: 1.2; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

/* Footer */
.site-footer { background: var(--brand-900); color: rgb(255 255 255 / .78); padding-block: 48px 104px; }
.footer-row { display: grid; gap: 28px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-name { font-family: var(--f-display); font-size: var(--t-lg); color: var(--white); }
.footer-alt { font-size: var(--t-sm); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-block-start: 32px; padding-block-start: 20px; border-block-start: 1px solid rgb(255 255 255 / .15); font-size: var(--t-sm); }
.footer-base a { color: var(--accent); }
@media (min-width: 768px) { .footer-row { grid-template-columns: 1fr auto; align-items: center; } .site-footer { padding-block-end: 48px; } }

/* Sticky mobile contact bar */
.mobile-bar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgb(255 251 244 / .96); border-block-start: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgb(74 7 12 / .35); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; font-weight: 700; text-decoration: none; color: var(--white); }
.mobile-bar svg { width: 22px; height: 22px; }
.mb-wa { background: var(--wa); }
.mb-call { background: var(--brand-700); }
@media (min-width: 768px) { .mobile-bar { display: none; } }
