:root {
  --green: #69b208;
  --green-dark: #4f8a06;
  --glovo-orange: #ec9f04;
  --glovo-orange-dark: #c68401;
  --blue: #027bd1;
  --blue-dark: #015a9a;
  --ink: #1a2420;
  --muted: #5c6b64;
  --cream: #faf8f4;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(26, 36, 32, 0.08);
  --radius: 14px;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "kern" 1, "liga" 1;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-dark);
}

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(2, 123, 209, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--green-dark);
}

.main-nav a.is-active {
  color: var(--blue);
  font-weight: 600;
}

.nav-social {
  display: flex;
  gap: 0.5rem;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-social a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-toggle-bar {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  background-clip: padding-box;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

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

.btn-primary {
  background-color: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--green-dark);
  color: var(--white);
}

.btn-glovo {
 background-color: var(--glovo-orange);
 color: var(--white)
}

.btn-glovo:hover {
  background-color: var(--glovo-orange-dark);
  color: var(--white);
}

.btn-ghost {
  background-color: var(--white);
  color: var(--blue);
  border: 2px solid rgba(2, 123, 209, 0.3);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26, 36, 32, 0.82) 0%, rgba(26, 36, 32, 0.55) 60%, rgba(26, 36, 32, 0.3) 100%),
    url("../img/hero.webp") center / cover no-repeat;
  z-index: -1;
}

.catering-hero .hero-bg {
    background:
    linear-gradient(to right, rgba(26, 36, 32, 0.82) 0%, rgba(26, 36, 32, 0.55) 60%, rgba(26, 36, 32, 0.3) 100%),
    url("../img/catering-hero.webp") center / cover no-repeat;
}

.hero-content {
  max-width: 38rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.hero h1,
.page-hero h1 {
  color: var(--white);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-actions .btn-ghost {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 600px) {
  .hero-bg {
    background:
      linear-gradient(to bottom, rgba(26, 36, 32, 0.7) 0%, rgba(26, 36, 32, 0.5) 50%, rgba(26, 36, 32, 0.75) 100%),
      url("../img/hero.webp") center / cover no-repeat;
  }
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-copy p:last-of-type {
  margin-bottom: 1.5rem;
}

.about-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.about-highlights li {
  padding-left: 1.5rem;
  position: relative;
}

.about-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.about-visual {
  position: relative;
  min-height: 280px;
}

.about-card {
  position: absolute;
  width: 55%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: var(--shadow);
}

.about-card--green {
  top: 0;
  left: 0;
  background: linear-gradient(160deg, var(--green), var(--green-dark));
}

.about-card--blue {
  bottom: 0;
  right: 0;
  background: linear-gradient(160deg, var(--blue), var(--blue-dark));
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 220px;
  }
}

/* Menu */
.menu {
  background: var(--white);
}

.menu-date {
  font-weight: 500;
  color: var(--green-dark);
}

.menu-block {
  margin-bottom: 2.5rem;
}

.menu-block:last-child {
  margin-bottom: 0;
}

.menu-block-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.menu-block-desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.menu-block--today {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(26, 36, 32, 0.08);
}

.menu-status {
  text-align: center;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.menu-status:empty {
  display: none;
}

.menu-status--loading {
  background: rgba(2, 123, 209, 0.06);
  color: var(--blue);
}

.menu-status--empty {
  background: rgba(105, 178, 8, 0.08);
  color: var(--green-dark);
}

.menu-status--error {
  background: #fef2f2;
  color: #991b1b;
}

.menu-gallery {
  display: grid;
  gap: 1rem;
}

.menu-gallery[hidden] {
  display: none;
}

/* Menu na dziś — często zdjęcia tablicy (poziome), może być kilka */
.menu-gallery--today {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.menu-gallery--today .menu-item img {
  aspect-ratio: 4 / 3;
}

/* Przykładowe potrawy — pionowe kadry dań */
.menu-gallery--samples {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.menu-gallery--samples .menu-item img {
  aspect-ratio: 3 / 4;
}

.menu-item {
  position: relative;
  margin: 0;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(26, 36, 32, 0.12);
}

.menu-item:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.menu-item-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-item img {
  width: 100%;
  object-fit: cover;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-lead {
  color: var(--muted);
  max-width: 36rem;
}

.contact-list {
  margin: 1.5rem 0 0;
}

.contact-list div {
  margin-bottom: 1.25rem;
}

.contact-list dt {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.contact-list dd {
  margin: 0;
}

.link-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  padding: 0.15rem;
  vertical-align: middle;
  color: var(--blue);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}

.link-external:hover {
  color: var(--blue-dark);
  background: rgba(2, 123, 209, 0.1);
}

.icon-external {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.contact-card {
  background: linear-gradient(145deg, rgba(105, 178, 8, 0.1), rgba(2, 123, 209, 0.08));
  border: 1px solid rgba(2, 123, 209, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-card h3 {
  font-size: 1.5rem;
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Podstrony */
.page-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0;
  overflow: hidden;
}

.page-hero-content {
  max-width: 40rem;
}

.catering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.catering-block h2 {
  font-size: 1.75rem;
}

.catering-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.catering-list li {
  padding-left: 1.5rem;
  position: relative;
}

.catering-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.catering-block--accent {
  background: linear-gradient(145deg, rgba(105, 178, 8, 0.1), rgba(2, 123, 209, 0.08));
  border: 1px solid rgba(2, 123, 209, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.catering-steps {
  background: var(--white);
}

.catering-steps .section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
  margin-inline: auto;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.steps-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  background: var(--green);
  color: var(--white);
}

.steps-list h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.steps-list p {
  margin: 0;
  color: var(--muted);
}

.catering-cta {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.catering-cta-inner {
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
}

.catering-cta-inner p {
  color: var(--muted);
}

.catering-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .catering-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(26, 36, 32, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-top {
  display: flex;
  justify-content: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  text-decoration: none;
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--green-dark);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(26, 36, 32, 0.06);
  color: var(--muted);
  transition: background-color 0.15s, color 0.15s;
}

.footer-social a:hover {
  background: var(--green);
  color: var(--white);
}

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  margin: auto;
  max-width: min(95vw, 960px);
  width: 100%;
  background: transparent;
  overflow: visible;
}

.lightbox:not([open]) {
  display: none;
  pointer-events: none;
}

.lightbox::backdrop {
  background: rgba(26, 36, 32, 0.88);
}

.lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox img {
  flex: 1;
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, opacity 0.15s;
}

.lightbox-nav:hover:not(:disabled) {
  background: var(--cream);
}

.lightbox-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.lightbox-counter {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

@media (max-width: 600px) {
  .lightbox {
    max-width: 100vw;
    max-height: 100dvh;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .lightbox-inner {
    flex-direction: column;
    gap: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .lightbox img {
    max-height: 70dvh;
    max-width: 100vw;
    border-radius: 0;
  }

  .lightbox-nav {
    position: absolute;
    bottom: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    z-index: 2;
  }

  .lightbox-prev {
    left: 1.5rem;
  }

  .lightbox-next {
    right: 1.5rem;
  }

  .lightbox-counter {
    margin-top: 0.5rem;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }
}
