/* Dave's Hot Chicken — menu site (design: dark + flame red, hero from provided WebP) */

:root {
  --bg: #0c0c0e;
  --bg-elevated: #141418;
  --surface: #1a1a20;
  --border: #2a2a32;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #e11d2e;
  --accent-hover: #ff3b4d;
  --accent-dim: rgba(225, 29, 46, 0.15);
  --font-display: "Bebas Neue", "Impact", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-hover);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #7f0f18);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-dim);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav-main a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-dim);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff;
}

.hero {
  position: relative;
  min-height: clamp(420px, 72vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #1a0508;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(12, 12, 14, 0.92) 35%,
    rgba(12, 12, 14, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-hover);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.layout-narrow {
  max-width: 820px;
}

.page-head {
  margin-bottom: 2rem;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}

.page-head p {
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card a.more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent-hover);
  text-decoration: none;
}

.card a.more:hover {
  color: #fff;
}

.menu-section {
  margin-bottom: 3rem;
  scroll-margin-top: 5rem;
}

.menu-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.25rem;
}

.menu-section .section-sub {
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 65ch;
}

.menu-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

table.menu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.menu-table th,
table.menu-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.menu-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(225, 29, 46, 0.08);
}

table.menu-table tr:last-child td {
  border-bottom: none;
}

table.menu-table td.price {
  font-weight: 700;
  color: var(--accent-hover);
  white-space: nowrap;
}

table.menu-table td.cal {
  color: var(--muted);
  font-size: 0.9rem;
}

.item-note {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.spice-ladder {
  display: grid;
  gap: 1rem;
}

.spice-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.spice-step .num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
}

.spice-step h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.spice-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.5rem 0;
}

.faq-list p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem 1.5rem;
}

.locations-grid a {
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.locations-grid a:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem;
  background: #080809;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 75ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #fff;
}

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-top: 2rem;
  letter-spacing: 0.03em;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.prose ul {
  padding-left: 1.25rem;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.35rem;
}

.callout {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid rgba(225, 29, 46, 0.35);
  margin: 1.5rem 0;
}

.callout strong {
  color: #fff;
}

.decor-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.decor-row img.svg-deco {
  width: 72px;
  height: 72px;
  opacity: 0.9;
}

/* ----- Menu cards (full menu page) ----- */

.menu-page .menu-section-cards {
  margin-bottom: 3rem;
}

.menu-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.menu-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  overflow: hidden;
}

.menu-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-card-body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
}

.menu-card-price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-hover);
}

.menu-card-cal {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.menu-card-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.45);
  border-color: rgba(225, 29, 46, 0.45);
}

.menu-card:hover .menu-card-media img {
  transform: scale(1.06);
}

.menu-card--inview {
  border-color: rgba(225, 29, 46, 0.25);
}

@keyframes menuCardEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-card-animate {
  animation: menuCardEnter 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(min(var(--card-index, 0), 28) * 42ms);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .menu-card {
    transition: none;
  }

  .menu-card:hover {
    transform: none;
  }

  .menu-card:hover .menu-card-media img {
    transform: none;
  }

  .menu-card-animate {
    animation: none;
    opacity: 1;
  }
}
