/*
Theme Name: Die Kuiergat
Theme URI: https://example.com
Author: Die Kuiergat
Description: Custom theme scaffold for the Die Kuiergat website migration.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.1
Text Domain: die-kuiergat
*/

:root {
  --flame: #e8420a;
  --ember: #c73009;
  --smoke: #1a1208;
  --cream: #faf3e8;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--smoke);
  color: var(--cream);
}

.site-wrap {
  min-height: 100dvh;
}

.site-header,
.site-footer {
  padding: 1rem 1.25rem;
  background: #120c05;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
}

.site-main {
  padding: 1.5rem 1.25rem;
}

.content-panel {
  max-width: 1100px;
  margin: 0 auto;
  background: #24180c;
  border: 1px solid #3a2818;
  border-radius: 10px;
  padding: 1.5rem;
}

.hero-panel {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-panel.has-hero-image {
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 10, 4, 0.18), rgba(17, 10, 4, 0.76));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
}

.hero-panel.has-hero-image .hero-title,
.hero-panel.has-hero-image .hero-subtitle {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

.hero-subtitle {
  margin: 0.7rem 0 0;
  opacity: 0.9;
}

.ticker-wrap {
  background: var(--flame);
  overflow: hidden;
  padding: 0.9rem 0;
  position: relative;
  margin: 1rem 0;
}

.ticker {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
  will-change: transform;
}

.ticker span {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--ticker-distance, -50%)); }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.9rem;
}

.menu-card {
  border: 1px solid #4a321d;
  border-radius: 10px;
  padding: 0.9rem;
  background: #2b1d11;
}

.menu-card h4 {
  margin: 0 0 0.45rem;
}

.menu-card p {
  margin: 0.35rem 0;
}

.price {
  color: #ffb867;
  font-weight: 700;
}

.badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.5rem;
  background: #4f1f10;
  border: 1px solid #7d351f;
  border-radius: 999px;
  font-size: 0.82rem;
}

.is-unavailable {
  opacity: 0.75;
}

.unavailable-label {
  color: #f3c6b6;
  font-size: 0.85rem;
}

a {
  color: #ff9a38;
}
