/* ----------------------------------------------------------
   Color palette — change any of these and the whole site updates.
   Dark, moody, and gold — inspired by the reference site, kept
   Thai with the flowing logo font and a chili-red accent.
---------------------------------------------------------- */
:root {
  --bg: #0f0d0b;            /* page background — near-black warm charcoal */
  --panel: #1a1613;         /* card / panel background */
  --panel-line: rgba(217,164,65,0.22); /* faint gold border used on panels & dividers */
  --gold: #d9a441;          /* saffron gold — the one accent color */
  --gold-bright: #f0c877;   /* lighter gold for glows / hover */
  --gold-dark: #a97c2c;     /* darker gold for gradients */
  --chili: #e2683f;         /* chili red — used sparingly (the notice) */
  --text: #f4ecdf;          /* main text on dark background */
  --text-muted: #b6a892;    /* secondary / description text */
}

/* ---------- Basic page setup ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Sarabun", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

section, footer {
  padding: 64px 20px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

/* thin gold-tinted line between sections instead of a hard edge */
section + section {
  border-top: 1px solid var(--panel-line);
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Prompt", "Sarabun", sans-serif;
}

/* small tracked-out label above each section heading, editorial style */
.eyebrow {
  text-align: center;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

h2 {
  color: var(--text);
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 36px;
}

/* ---------- Soft glow shapes (the "smoky/atmospheric" feel) ---------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.glow-a {
  top: -80px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: rgba(217,164,65,0.30);
}

.glow-b {
  top: 120px;
  right: -140px;
  width: 380px;
  height: 380px;
  background: rgba(226,104,63,0.16);
}

/* ---------- Header / hero ---------- */
.site-header {
  position: relative;
  background: radial-gradient(ellipse at top, #1c1712 0%, #100e0b 60%);
  overflow: hidden;
}

.site-nav {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-mark {
  font-family: "Charmonman", cursive;
  font-size: 1.4rem;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 70px 20px 90px;
  max-width: 720px;
  margin: 0 auto;
}

.flourish {
  color: var(--gold);
  font-size: 1.3rem;
  opacity: 0.85;
  margin-bottom: 10px;
}

.site-header h1 {
  font-family: "Charmonman", cursive;
  font-weight: 700;
  font-size: 5rem;
  line-height: 1.05;
  color: var(--gold-bright);
  text-shadow: 0 0 40px rgba(217,164,65,0.35);
  margin-bottom: 14px;
}

.tagline {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0 0 34px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Gold button (used for the hero CTA) ---------- */
.btn-gold {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dark));
  color: #211705;
  text-decoration: none;
  font-family: "Prompt", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(217,164,65,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217,164,65,0.4);
}

/* ---------- Hours ---------- */
.hours-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hours-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  padding: 22px;
  flex: 1;
  min-width: 140px;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.hours-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.hours-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  margin-bottom: 8px;
}

.hours-card h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.hours-card p {
  margin: 0;
  color: var(--text-muted);
}

.notice {
  margin-top: 22px;
  text-align: center;
  font-style: italic;
  color: var(--chili);
  font-size: 0.92rem;
}

/* ---------- Menu ---------- */
.menu-grid {
  position: relative;
  z-index: 1;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--panel-line);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-info h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}

.menu-item-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 46ch;
}

.menu-item-price {
  font-weight: 600;
  white-space: nowrap;
  color: var(--gold);
  font-size: 1rem;
  font-family: "Prompt", sans-serif;
}

.menu-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item-controls input[type="number"] {
  width: 48px;
  padding: 6px;
  border: 1px solid var(--panel-line);
  border-radius: 4px;
  text-align: center;
  background: var(--panel);
  color: var(--text);
}

.menu-item-controls button {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}

.menu-item-controls button:hover {
  background: var(--gold);
  color: #211705;
}

/* ---------- Order form ---------- */
.order-summary {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.order-summary .empty-msg {
  color: var(--text-muted);
  margin: 0;
}

.order-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--panel-line);
  color: var(--text);
}

.order-line:last-child {
  border-bottom: none;
}

.total-line {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--gold);
  text-align: center;
}

form label {
  display: block;
  margin-top: 14px;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--panel-line);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--panel);
  color: var(--text);
}

form input::placeholder,
form textarea::placeholder {
  color: #6f6455;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,164,65,0.2);
}

#submit-btn {
  margin-top: 26px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dark));
  color: #211705;
  border: none;
  padding: 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: "Prompt", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(217,164,65,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#submit-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217,164,65,0.4);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.payment-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  max-width: 100%;
  padding: 30px 20px;
  letter-spacing: 0.5px;
}
