/* Kolory wzięte z menu restauracji: szałwiowa zieleń + piaskowy beż */
:root {
  --green: #7f9f6c;
  --green-dark: #5b7748;
  --green-pale: #eef3e8;
  --sand: #e9d8a6;
  --cream: #fbf8f2;
  --cream-deep: #f3ecdf;
  --ink: #2e2a22;
  --ink-soft: #625c4d;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 42, 34, 0.07);
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* Płynne pojawianie się elementów przy scrollu (CSS ukrywa od razu, bez migania) */
.hero-text, .hero-photo, .section-head, .about-text, .about-photo,
.dish, .bf-item, .offer-card, .occasion-card, .catering-notes,
.contact-list, .social-row, .map-wrap {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.revealed { opacity: 1 !important; transform: translateY(0) !important; }

/* Przeglądarki ze wsparciem dla scroll-driven animations (Chrome, Safari 18.2+):
   ruch jest napięty wprost do pozycji przewijania — zawsze płynny i zawsze
   widoczny, niezależnie od tempa przewijania. JS (script.js) wykrywa to wsparcie
   i NIE uruchamia wtedy swojego mechanizmu (IntersectionObserver), żeby oba
   systemy się nie gryzły. */
@supports (animation-timeline: view()) {
  .hero-text, .hero-photo, .section-head, .about-text, .about-photo,
  .dish, .bf-item, .offer-card, .occasion-card, .catering-notes,
  .contact-list, .social-row, .map-wrap {
    opacity: 0;
    transform: translateY(70px);
    transition: none;
    animation: scroll-reveal linear both;
    animation-timeline: view();
    animation-range: entry;
  }
}
@keyframes scroll-reveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-text, .hero-photo, .section-head, .about-text, .about-photo,
  .dish, .bf-item, .offer-card, .occasion-card, .catering-notes,
  .contact-list, .social-row, .map-wrap {
    transition: none; animation: none; opacity: 1; transform: none;
  }
}

body {
  margin: 0;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h3 { font-weight: 600; margin: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.8em;
}

.icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon-brand { stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--green); color: var(--green-dark); }
.btn-outline:hover { background: var(--green-pale); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(127, 159, 108, 0.2);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand img { height: 44px; width: auto; }

.nav-links { display: flex; gap: 30px; font-size: 0.95rem; font-weight: 500; }
.nav-links a { color: var(--ink-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--green-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 2.2rem; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: 3rem; }
.hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 500px; margin: 0 0 30px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 2px solid var(--sand);
  font-size: 0.9rem;
}
.hero-facts strong { display: block; font-weight: 600; }
.hero-facts span { color: var(--ink-soft); }

.hero-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About ---------- */
.about .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { font-size: 2.2rem; }
.about-text p { color: var(--ink-soft); }

.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-facts li {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.about-facts strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--green-dark);
}
.about-facts span { font-size: 0.88rem; color: var(--ink-soft); }

.about-photo { display: flex; flex-direction: column; gap: 10px; }
.about-photo-label {
  font-family: "Alex Brush", cursive;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--green-dark);
  text-align: center;
}
.about-photo-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f9f6c' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v7a2 2 0 0 0 2 2v9M11 3v7a2 2 0 0 1-2 2M9 3v5M17 21V3c-2 1.5-3 4-3 7v3h3'/%3E%3C/svg%3E")
      center / 56px no-repeat,
    var(--green-pale);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ---------- Danie dnia ---------- */
.daily-dish-photo {
  flex: 0 0 220px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f9f6c' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v7a2 2 0 0 0 2 2v9M11 3v7a2 2 0 0 1-2 2M9 3v5M17 21V3c-2 1.5-3 4-3 7v3h3'/%3E%3C/svg%3E")
      center / 48px no-repeat,
    var(--green-pale);
}
.daily-dish-photo img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); }

.menu-callout strong.menu-callout-title { display: block; text-align: center; font-family: "Alex Brush", cursive; font-weight: 400; font-size: 4.2rem; }
.daily-menu-row { display: flex; align-items: flex-start; gap: 20px; margin-top: 18px; }
.daily-menu-col { flex: 1 1 0; min-width: 0; }
.daily-menu-col--photo { display: flex; justify-content: flex-end; }
.daily-menu-label {
  display: block;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-family: "Playfair Display", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.daily-menu-item {
  margin: 0 0 40px;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--green-dark);
  font-size: 1.15rem;
}
.daily-menu-item:last-child { margin-bottom: 0; }
.daily-menu-item::before { content: "• "; color: var(--green); }

/* ---------- Menu ---------- */
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.menu-tab {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(127, 159, 108, 0.4);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: 0.15s ease;
}
.menu-tab:hover { border-color: var(--green); color: var(--green-dark); }
.menu-tab.active { background: var(--green); border-color: var(--green); color: var(--white); }

.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Dania główne — kafelki z miejscem na zdjęcie */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.dish {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dish:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.dish-photo { position: relative; aspect-ratio: 4 / 3; background: var(--cream-deep); overflow: hidden; }
.dish-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish-photo .dish-photo-img--low { object-fit: contain; }

/* Dopóki nie ma zdjęcia: spokojny kafelek z ikoną noża i widelca */
.dish-photo:empty {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f9f6c' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v7a2 2 0 0 0 2 2v9M11 3v7a2 2 0 0 1-2 2M9 3v5M17 21V3c-2 1.5-3 4-3 7v3h3'/%3E%3C/svg%3E")
      center / 44px no-repeat,
    var(--green-pale);
}

.dish-body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px 18px;
}
.dish-body h3 { font-size: 1rem; font-weight: 500; line-height: 1.35; }
.price { font-weight: 600; color: var(--green-dark); white-space: nowrap; }

/* Kafelek „zupy” domyka ostatni rząd siatki (13 dań + kafelek na 3 kolumny = pełne rzędy) */
.menu-callout {
  grid-column: span 3;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--green-pale);
  border: 2px solid var(--green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.menu-callout--featured { width: 100%; margin: 0 0 36px; justify-content: flex-start; padding-top: 10px; padding-bottom: 10px; }
.daily-dish-photo--featured { flex-basis: 450px; margin-top: -32px; }
.menu-callout strong {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  color: var(--green-dark);
}
.menu-callout span { color: var(--ink-soft); }
.menu-callout a { color: var(--green-dark); text-decoration: underline; }
.dodatki-note { margin: 20px 0 0; text-align: center; color: var(--ink-soft); font-size: 0.92rem; }

/* Pozostałe kategorie — prosta lista z cenami */
.panel-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 22px;
}
.panel-title small {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.price-subtitle {
  max-width: 720px;
  margin: 0 auto 10px;
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.price-subtitle:not(:first-of-type) { margin-top: 28px; }
.price-list { max-width: 720px; margin: 0 auto; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(46, 42, 34, 0.15);
}

.menu-footnote {
  margin: 36px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Breakfast ---------- */
.breakfast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 48px;
}
.bf-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--cream-deep); }
.bf-photo {
  flex: 0 0 96px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f9f6c' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v7a2 2 0 0 0 2 2v9M11 3v7a2 2 0 0 1-2 2M9 3v5M17 21V3c-2 1.5-3 4-3 7v3h3'/%3E%3C/svg%3E")
      center / 32px no-repeat,
    var(--green-pale);
}
.bf-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.bf-body { flex: 1; min-width: 0; }
.bf-item .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bf-item h3 { font-size: 1.05rem; }
.bf-item p { margin: 6px 0 0; font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Catering ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
}
.offer-card--link { display: block; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.offer-card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.offer-card .icon { width: 36px; height: 36px; color: var(--green-dark); margin: 0 auto 14px; display: block; }
.offer-card .icon-img { object-fit: contain; }
.offer-card .icon-logo { width: auto; height: 32px; max-width: 140px; }
.offer-card .icon-logo--pyszne { height: 40px; max-width: 170px; }
.offer-card h3 { font-size: 1rem; }

.catering-notes { margin-top: 40px; text-align: center; color: var(--ink-soft); }
.catering-notes p { margin: 0 0 6px; }
.catering-notes strong { color: var(--ink); }
.catering-notes .btn { margin-top: 20px; }

/* ---------- Menu okolicznościowe ---------- */
.occasion-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
}
.occasion-head h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--sand);
}
.occasion-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--cream-deep);
  opacity: 0.8;
}
.occasion-list {
  margin: 28px auto 0;
  max-width: 420px;
  text-align: left;
}
.occasion-list li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(251, 248, 242, 0.15);
  font-size: 0.95rem;
}
.occasion-list li:last-child { border-bottom: none; }
.occasion-footer { margin-top: 32px; }
.occasion-price { display: flex; flex-direction: column; gap: 2px; }
.occasion-price span {
  font-size: 0.85rem;
  color: var(--cream-deep);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.occasion-price strong { font-family: "Playfair Display", Georgia, serif; font-size: 2.4rem; color: var(--sand); }
.occasion-note { margin: 10px 0 20px; font-size: 0.85rem; color: var(--cream-deep); opacity: 0.85; }

/* ---------- Contact ---------- */
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}
.contact h2 { font-size: 2.2rem; }
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-deep);
}
.contact-list .icon { color: var(--green-dark); margin-top: 2px; }
.contact-list strong { display: block; font-size: 0.95rem; }
.contact-list a, .contact-list span { color: var(--ink-soft); }
.contact-list a:hover { color: var(--green-dark); }
.hours { flex: 1; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours div span:last-child { color: var(--ink); font-weight: 500; }
.hours .muted span, .hours .muted span:last-child { color: var(--ink-soft); font-weight: 400; font-size: 0.9rem; }

.social-row { display: flex; gap: 12px; margin-top: 26px; }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.88rem;
}
.social-pill:hover { background: var(--sand); }
.social-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.7);
  padding: 52px 0 32px;
  text-align: center;
  font-size: 0.9rem;
}
.footer-logo { height: 54px; width: auto; margin: 0 auto 18px; }
.site-footer p { margin: 0 0 10px; }
.site-footer a:hover { color: var(--cream); }
.site-footer small { font-size: 0.78rem; opacity: 0.7; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .dish-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-callout { grid-column: span 2; }
}

@media (max-width: 960px) {
  .nav-links { gap: 20px; }
  .hero .container, .about .container, .contact .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; aspect-ratio: 16 / 10; }
  .hero h1 { font-size: 2.4rem; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .daily-menu-row { flex-direction: column; }
  .daily-menu-col { text-align: center; }
  .daily-menu-col--photo { order: -1; width: 100%; }
  .daily-dish-photo, .daily-dish-photo--featured {
    width: 100%;
    flex: 1 1 auto;
    flex-basis: auto;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .site-header .container { min-height: 66px; }
  .brand img { height: 36px; }
  .nav-links, .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    padding: 20px 24px 28px;
    background: var(--cream);
    border-bottom: 1px solid rgba(127, 159, 108, 0.2);
  }
  .hero { padding: 32px 0 64px; }
  .hero h1, .section-head h2, .about-text h2, .contact h2 { font-size: 1.9rem; }
  .breakfast-grid { grid-template-columns: 1fr; gap: 0; }

  /* Na telefonie dania jako poziome karty: miniatura po lewej */
  .dish-grid { grid-template-columns: 1fr; gap: 12px; }
  .menu-callout { grid-column: auto; padding: 22px; }
  .menu-callout strong { font-size: 1.25rem; }
  .dish { flex-direction: row; }
  .dish-photo { flex: 0 0 104px; aspect-ratio: 1; }
  .dish-photo:empty { background-size: 30px, auto; }
  .dish-body { align-items: center; padding: 12px 16px; }
  .occasion-card { padding: 32px 22px; }
  .occasion-price strong { font-size: 2rem; }
}

@media (max-width: 420px) {
  .offer-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .offer-card { padding: 22px 12px; }
  .offer-card h3 { font-size: 0.9rem; }
}
