/* ═══════════════════════════════════════════════════════
   Pielmieni BAR — shared site styles
   Light "Herb & Parchment" identity. Used by all pages.
   ═══════════════════════════════════════════════════════ */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: #F6F3EC;
  color: #1A1710;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay — subtle paper texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ticker */
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: 80s; }
}

/* Fade-up entrance */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.32s; }
.d4 { animation-delay: 0.44s; }
.d5 { animation-delay: 0.56s; }
.d6 { animation-delay: 0.68s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; opacity: 1; }
}

/* Focus ring */
:focus-visible {
  outline: 2px solid #2E5540;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Layered green-tinted shadow system */
.shadow-card {
  box-shadow:
    0 1px 2px rgba(46,85,64,0.05),
    0 4px 14px rgba(46,85,64,0.09);
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #2E5540;
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.15s cubic-bezier(0.22,1,0.36,1), box-shadow 0.18s ease;
}
.btn-primary:hover {
  background-color: #3A6B51;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,85,64,0.28);
}
.btn-primary:active { transform: translateY(0); }

/* Outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #B8B2A6;
  color: #1A1710;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s cubic-bezier(0.22,1,0.36,1);
}
.btn-outline:hover {
  background-color: #2E5540;
  color: #fff;
  border-color: #2E5540;
  transform: translateY(-1px);
}
.btn-outline:active { transform: translateY(0); }

/* Action tile */
.action-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  text-decoration: none;
  border-radius: 16px;
  padding: 1.15rem 0.75rem;
  transition: transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s ease;
}
.action-tile svg { width: 28px; height: 28px; }
.action-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(46,85,64,0.15); }
.action-tile:active { transform: translateY(0); }

/* Menu row */
.menu-row {
  border-radius: 12px;
  padding: 14px 16px;
  transition: background-color 0.15s ease;
}
.menu-row:hover { background-color: rgba(237,232,218,0.8); }

/* Signature italic inline in hero heading */
.hero-h em {
  font-style: italic;
  font-weight: 400;
  color: #2E5540;
}

/* Green hairline rule (signature decorative element) */
.g-rule {
  display: block;
  width: 44px;
  height: 2px;
  background: #2E5540;
  border-radius: 1px;
  margin: 1.4rem 0;
}

/* › item mark — references the fold of a dumpling */
.mark {
  color: #2E5540;
  opacity: 0.45;
  font-family: 'Fraunces', serif;
  margin-right: 6px;
  font-size: 1em;
  line-height: 1;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 3px;
}

/* Category dots */
.dot-meat  { background: #8B5D3B; }
.dot-veg   { background: #2E5540; }
.dot-fish  { background: #4A8FB5; }
.dot { width:9px; height:9px; border-radius:50%; display:inline-block; flex-shrink:0; }

/* Hero image column — constrained on mobile, full width in the 2-col grid on desktop */
.hero-img-col { display: block; max-width: 340px; margin: 4px auto 0; }
@media (min-width: 768px) { .hero-img-col { max-width: none; margin: 0; } }

/* Hero 2-col grid */
.hero-section { padding: 56px 20px 88px; }
@media (max-width: 860px) { .hero-section { padding-top: 24px; } }
#hero-grid { display: grid; align-items: center; gap: 40px; }
@media (min-width: 768px) { #hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }

/* Action grid (3 icon tiles: Call, Map, Instagram) */
#action-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.action-tile { min-width: 0; }
@media (max-width: 440px) {
  .action-tile { padding: 0.95rem 0.45rem; min-height: 78px; }
}

/* Footer grid */
#footer-grid { display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 640px) { #footer-grid { grid-template-columns: 1fr 1fr; } }

/* Footer social link */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.social-link:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  transform: translateY(-2px);
}
.social-link:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   HEADER + NAV + LANGUAGE SWITCHER (shared across pages)
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,243,236,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184,178,166,0.3);
}
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Brand / logo */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 8px;
}
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #1A1710;
  line-height: 1.1;
}
.brand-tagline {
  font-size: 0.72rem;
  color: #6E6758;
  margin-top: 1px;
  letter-spacing: 0.005em;
}
/* Owner-supplied logo image (dark plate) used in the header */
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(26,23,16,0.18);
}
@media (max-width: 600px) { .brand-logo { height: 38px; border-radius: 8px; } }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6E6758;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 100px;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover { color: #1A1710; background: rgba(46,85,64,0.07); }
.nav-link.active { color: #2E5540; font-weight: 700; background: rgba(46,85,64,0.1); }

/* Right cluster: switcher + call */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Language switcher segmented control */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(46,85,64,0.08);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: #6E6758;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-btn:hover { color: #1A1710; }
.lang-btn.active {
  background: #2E5540;
  color: #fff;
}

/* Header call button hides its label on narrow screens */
@media (max-width: 600px) {
  .call-label { display: none; }
}

/* On small screens the nav drops to its own full-width row: a single,
   compact, horizontally-scrollable line so it stays out of the way. */
@media (max-width: 860px) {
  .site-header-inner { padding: 10px 16px; gap: 10px; }
  .site-nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 2px;
    border-top: 1px solid rgba(184,178,166,0.3);
    padding-top: 8px;
    margin-top: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .nav-link { padding: 5px 11px; font-size: 0.82rem; white-space: nowrap; }
  .brand-tagline { display: none; }
}

/* ═══════════════════════════════════════════════════════
   GENERIC PAGE / SECTION HELPERS
   ═══════════════════════════════════════════════════════ */
.section { padding: 64px 20px; }
.container { max-width: 1024px; margin: 0 auto; }
.container-narrow { max-width: 720px; margin: 0 auto; }

.h-section {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1A1710;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2E5540;
}

/* Feature cards (why-choose-us) */
#feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { #feature-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.feature-card {
  background: #fff;
  border: 1px solid rgba(184,178,166,0.3);
  border-radius: 18px;
  padding: 26px 24px;
}
.feature-num {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  color: #2E5540;
  line-height: 1;
}

/* Reviews carousel (home) */
.rev-carousel { position: relative; }
.rev-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline: 2px solid #2E5540; outline-offset: 4px; border-radius: 18px; }
.rev-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(184,178,166,0.3);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 760px) { .rev-card { flex-basis: 340px; } }
.rev-quotemark { font-family: 'Fraunces', Georgia, serif; font-size: 2.6rem; line-height: 0.3; height: 18px; color: #2E5540; }
.rev-stars { color: #A86C2A; letter-spacing: 3px; font-size: 0.9rem; }
.rev-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #1A1710;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
.rev-by { margin-top: auto; padding-top: 6px; }
.rev-name { display: block; font-size: 0.875rem; font-weight: 700; color: #1A1710; }
.rev-sub { display: block; font-size: 0.78rem; color: #6E6758; margin-top: 2px; }
.rev-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 100px;
  border: 1px solid rgba(46,85,64,0.25);
  background: #F6F3EC;
  color: #2E5540;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(46,85,64,0.14);
  transition: background-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}
.rev-arrow:hover { background: #fff; }
.rev-arrow:active { transform: translateY(-50%) scale(0.94); }
.rev-arrow:focus-visible { outline: 2px solid #2E5540; outline-offset: 2px; }
.rev-arrow--prev { left: -10px; }
.rev-arrow--next { right: -10px; }
.rev-arrow[disabled] { opacity: 0.3; cursor: default; box-shadow: none; }
@media (max-width: 700px) { .rev-arrow { display: none; } }

/* Menu page: filling description row */
.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 14px;
  transition: background-color 0.15s ease;
}
.menu-item:hover { background: rgba(237,232,218,0.7); }
.menu-item-name {
  font-weight: 700;
  font-size: 1.02rem;
  color: #1A1710;
}
.menu-item-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6E6758;
  margin-top: 4px;
  max-width: 60ch;
}
.tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 100px;
  vertical-align: middle;
}
.tag-meat { background: rgba(139,93,59,0.12); color: #8B5D3B; }
.tag-veg  { background: rgba(46,85,64,0.12); color: #2E5540; }
.tag-fish { background: rgba(74,143,181,0.14); color: #3E7A9E; }

/* FAQ accordion (native <details>) */
.faq-item {
  background: #fff;
  border: 1px solid rgba(184,178,166,0.35);
  border-radius: 14px;
  padding: 4px 20px;
  transition: box-shadow 0.18s ease;
}
.faq-item[open] { box-shadow: 0 4px 16px rgba(46,85,64,0.08); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1A1710;
  padding: 16px 28px 16px 0;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #2E5540;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { color: #2E5540; }
.faq-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6E6758;
  padding: 0 0 18px;
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item { transition: none; }
}
