/* Kebab Hut - custom styles (Tailwind handles most of the layout) */

.font-heading { font-family: 'Oswald', 'Arial Narrow', sans-serif; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background: #1F1A17;
  color: #FFF8EE;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* Visible focus for keyboard users */
a:focus-visible,
button:focus-visible,
iframe:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #F2A900;
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

/* Hero background: charcoal with warm grill glow */
.hero {
  background-color: #1F1A17;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(179, 38, 30, 0.55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(242, 169, 0, 0.22), transparent 40%),
    linear-gradient(135deg, #1F1A17 0%, #2b211c 60%, #3a1d18 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 248, 238, 0.035) 0 2px,
    transparent 2px 22px
  );
  pointer-events: none;
}

/* Navigation */
.nav-link {
  font-weight: 600;
  color: #1F1A17;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link:hover { color: #B3261E; }

.mobile-link {
  display: block;
  padding: 0.75rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1F1A17;
  text-decoration: none;
}
.mobile-link:hover { background: rgba(179, 38, 30, 0.08); color: #B3261E; }

/* Section headings */
.section-eyebrow {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #B3261E;
}
.section-title {
  margin-top: 0.5rem;
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: #1F1A17;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}

/* Food cards */
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(31, 26, 23, 0.1);
  border-radius: 1rem;
  background: #FFF8EE;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -12px rgba(31, 26, 23, 0.25);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  background: #B3261E;
  color: #FFF8EE;
}
.card-title {
  margin-top: 1.25rem;
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.card-text {
  margin-top: 0.5rem;
  line-height: 1.65;
  color: rgba(31, 26, 23, 0.85);
}

/* Key facts */
.fact {
  border-top: 3px solid #F2A900;
  background: rgba(255, 248, 238, 0.05);
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 1.5rem;
}
.fact-label {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F2A900;
}
.fact-value {
  margin-top: 0.5rem;
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  color: #FFF8EE;
}
.fact-text {
  margin-top: 0.5rem;
  line-height: 1.6;
  color: rgba(255, 248, 238, 0.8);
}

/* Footer */
.footer-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: rgba(255, 248, 238, 0.85);
  text-decoration: none;
  cursor: pointer;
}
.footer-link:hover { color: #F2A900; text-decoration: underline; }

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #B3261E;
  text-decoration: underline;
  cursor: pointer;
}
.link-button:hover { color: #8E1D17; }

/* Legal dialogs */
.legal-dialog {
  width: min(44rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: #FFF8EE;
  color: #1F1A17;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
}
.legal-dialog::backdrop { background: rgba(31, 26, 23, 0.7); }
.legal-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
}
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(31, 26, 23, 0.12);
}
.dialog-close {
  display: inline-flex;
  padding: 0.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #1F1A17;
  cursor: pointer;
}
.dialog-close:hover { background: rgba(31, 26, 23, 0.08); }
.legal-body {
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1.75rem;
  line-height: 1.65;
}
.legal-body h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
}
.legal-body p + p { margin-top: 0.75rem; }
.legal-body ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.legal-body li + li { margin-top: 0.4rem; }
body.dialog-open { overflow: hidden; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }
}
