:root {
  --bg-dark: #1b1512;
  --bg-dark-2: #241b16;
  --orange: #e8791a;
  --orange-light: #ffa94d;
  --cream: #fff6ea;
  --brown: #4a2f1f;
  --text-light: #f5ece1;
  --text-muted: #cbb9a8;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(-45deg, #1b1512, #2a1c13, #3a2418, #241b16, #1b1512);
  background-size: 400% 400%;
  animation: bgFlow 22s ease-in-out infinite;
  color: var(--text-light);
  line-height: 1.6;
}

@keyframes bgFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

h1, h2, h3 {
  font-family: 'Baloo 2', cursive;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 21, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);
  margin-right: auto;
}

.logo-panda {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 2px solid var(--orange);
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--orange-light); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #241b16;
  box-shadow: 0 6px 18px rgba(232, 121, 26, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,0.35);
}

.btn-full { width: 100%; }

.nav-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.05);
}

.hero-tint {
  position: absolute;
  inset: 0;
  background: var(--brown);
  mix-blend-mode: color;
  opacity: 0.65;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,14,10,0.7) 0%, rgba(20,14,10,0.3) 45%, rgba(20,14,10,0.2) 100%),
    linear-gradient(180deg, rgba(20,14,10,0.1) 0%, rgba(20,14,10,0.3) 55%, rgba(20,14,10,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--text-light);
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  letter-spacing: 1px;
  opacity: 0;
  animation: heroPop 0.8s cubic-bezier(.22,1,.36,1) 0.1s both;
}

.hero h1 .churros-word, h1.kontakt-brand-name .churros-word {
  font-family: 'Chewy', cursive;
  color: var(--orange-light);
  letter-spacing: 0;
}

.hero h1 .tm, h1.kontakt-brand-name .tm {
  font-size: 0.35em;
  vertical-align: super;
  color: var(--orange-light);
  margin-left: 4px;
}

.hero-tagline {
  font-size: 1.25rem;
  max-width: 560px;
  color: var(--cream);
  opacity: 0;
  animation: heroPop 0.8s cubic-bezier(.22,1,.36,1) 0.32s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  opacity: 0;
  animation: heroPop 0.8s cubic-bezier(.22,1,.36,1) 0.5s both;
}

@keyframes heroPop {
  0% { opacity: 0; transform: scale(0.82) translateY(18px); }
  65% { opacity: 1; transform: scale(1.05) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-tagline, .hero-buttons { animation: none; opacity: 1; }
}

/* Scroll-triggered reveal for section text */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.hero-panda {
  position: absolute;
  right: 4%;
  bottom: -20px;
  width: 220px;
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5));
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--bg-dark-2);
}

.eyebrow {
  display: inline-block;
  color: var(--orange-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.eyebrow.center, h2.center, p.center { text-align: center; }
.center { display: block; margin-left: auto; margin-right: auto; }

.lead {
  max-width: 620px;
  font-size: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse .split-media { order: -1; }

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.split.reverse .split-media {
  overflow: hidden;
  border-radius: var(--radius);
}

.split.reverse .split-media img {
  height: 100%;
  min-height: 380px;
  object-position: 50% 50%;
  border-radius: 0;
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--text-light); }

/* Menu */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.menu-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
}

.menu-card h3 {
  color: var(--orange-light);
  font-size: 1.4rem;
}

.menu-card-subheading { margin-top: 24px; }

.price-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  color: var(--text-light);
  font-weight: 600;
}

.price-list li:last-child { border-bottom: none; }

.price { color: var(--orange-light); font-weight: 800; }

.menu-note {
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 12px;
}

/* References */
.reference-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reference-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reference-list li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  color: var(--text-light);
}

.reference-list li:last-child { border-bottom: none; }

.reference-note {
  margin-top: 32px;
  color: var(--text-muted);
  font-style: italic;
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.check-list li {
  color: var(--text-light);
  font-weight: 700;
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "🌟";
  position: absolute;
  left: 0;
}

/* Booking form */
.booking-form-wrap {
  margin-top: 60px;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.booking-form-wrap h3 {
  color: var(--text-light);
  font-size: 1.6rem;
}

.form-intro { margin-bottom: 24px; }

.form-row { margin-bottom: 18px; }

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-light);
  font-size: 0.92rem;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
}

textarea { resize: vertical; }

/* Kontakt full-width text */
.kontakt-text {
  max-width: 560px;
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  flex: 1;
  min-width: 120px;
  justify-content: center;
  margin-bottom: 0;
}

.radio-label input[type="radio"] {
  display: none;
  width: auto;
  padding: 0;
}

.radio-label:has(input:checked) {
  border-color: var(--orange);
  color: var(--orange-light);
  background: rgba(232, 121, 26, 0.1);
}

.radio-label:hover {
  border-color: rgba(255,165,77,0.5);
  color: var(--text-light);
}

/* Gallery */
.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
  cursor: zoom-in;
}

.gallery-grid img:hover { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 6, 4, 0.88);
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  animation: lightbox-fade 0.2s ease;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: lightbox-pop 0.22s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-light);
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

@keyframes lightbox-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lightbox-pop {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 480px) {
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.6rem; }
}

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-list a:hover { color: var(--orange-light); }

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-light);
  transition: background 0.2s, transform 0.2s;
}

.social-icon svg { width: 20px; height: 20px; }

.social-icon:hover {
  background: var(--orange);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: var(--bg-dark-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-panda {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}

/* Responsive */
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .reference-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-panda { width: 150px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }

  .header-inner.open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .form-row-split { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-panda { display: none; }
  .radio-group { flex-direction: column; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .booking-form-wrap { padding: 24px; }
}

/* Kontakt footer info */
.kontakt-footer-info {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.kontakt-logo {
  width: 180px;
  height: auto;
  border-radius: 12px;
}

.kontakt-company-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kontakt-company-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}


.kontakt-brand-name {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--text-light);
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  letter-spacing: 1px;
  margin: 0;
  animation: none;
  opacity: 1;
}
