/* Stylistyka jak na Instagramie @przy.okazji_catering:
   kremowo-szałwiowe tło, oliwkowa zieleń, lawenda, drewno, kapitaliki + pismo odręczne */
:root {
  --bg: #efebe2;
  --bg-alt: #e5e4d6;
  --card: #f8f5ee;
  --text: #3b3a2f;
  --muted: #6a6957;
  --olive: #5a684d;
  --olive-dark: #46523b;
  --sage: #93a084;
  --lavender: #8a76ad;
  --lavender-soft: #e6e0ef;
  --wood: #b5704f;
  --border: #d3d3bd;
  --star: #e2a72e;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3 {
  font-family: "Cinzel", Georgia, serif;
  color: var(--olive);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .4em;
  letter-spacing: .03em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
a { color: var(--olive); }
.script { font-family: "Great Vibes", cursive; color: var(--olive); font-weight: 400; margin: 0; line-height: 1.1; }
.center { text-align: center; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Lawendowa gałązka – ozdobnik pod nagłówkami */
.divider { width: 220px; height: 28px; margin: 4px auto 18px; }
.divider svg { width: 100%; height: 100%; display: block; }
.divider-left { margin-left: 0; }

/* Logo */
.logo-mark { display: inline-block; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-small { width: 46px; height: 46px; }
.logo-hero { width: min(100%, 420px); aspect-ratio: 1; filter: drop-shadow(0 12px 30px rgba(79, 90, 53, .18)); }
.logo-contact { width: 110px; height: 110px; margin-bottom: 8px; }

/* Nagłówek */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(239, 235, 226, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-family: "Cinzel", serif; font-weight: 700; font-size: 1.2rem; color: var(--olive); letter-spacing: .04em; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-family: "Cinzel", serif; font-size: .9rem; letter-spacing: .06em; }
.nav a:hover { color: var(--lavender); }
.nav a.btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--olive); }

/* Przyciski */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--olive); color: #fff; text-decoration: none;
  font-family: "Cinzel", serif; font-weight: 600; font-size: .9rem; letter-spacing: .08em;
  border: 2px solid var(--olive); transition: background .2s, color .2s;
}
.btn:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.btn-small { padding: 8px 18px; }
.btn-ghost { background: transparent; color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: #fff; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-text { text-align: center; }
.hero-script { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.hero-text h1 { text-transform: uppercase; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 48ch; margin: 0 auto; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 28px 0 20px; }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.hero-visual { display: flex; justify-content: center; }
.hero-photo {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 220px 220px 16px 16px;
  background-size: cover; background-position: center;
  border: 6px solid var(--card); box-shadow: 0 14px 40px rgba(79, 90, 53, .2);
}

/* Pasek kontaktu jak na grafikach z Instagrama */
.contact-strip { background: var(--olive); color: #fff; }
.contact-strip-inner {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 40px;
  padding: 14px 16px; font-size: 1.02rem;
}
.contact-strip a { color: #fff; text-decoration: none; }
.contact-strip span { display: inline-flex; align-items: center; gap: 8px; }

/* Sekcje */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { text-transform: uppercase; }
.section-sub { color: var(--muted); max-width: 60ch; margin: 0 auto; }

/* Gwiazdki */
.stars { position: relative; display: inline-block; font-size: 1.15rem; line-height: 1; letter-spacing: 2px; color: #cfcdb8; font-family: sans-serif; }
.stars::before { content: "★★★★★"; }
.stars span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--star); white-space: nowrap; }
.stars span::before { content: "★★★★★"; }

/* Menu */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--sage);
  background: transparent; cursor: pointer; font: inherit; font-size: .95rem; color: var(--olive);
}
.filter:hover { background: var(--card); }
.filter.active { background: var(--lavender); border-color: var(--lavender); color: #fff; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; align-items: start; }
.menu-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 18px rgba(79, 90, 53, .07);
}
.menu-card-img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.placeholder-img {
  background: radial-gradient(circle at 50% 45%, #f6f2e6 0%, #e4e3cf 70%);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-img .logo-mark { width: 42%; aspect-ratio: 1; opacity: .9; }
.menu-card-body { padding: 22px; text-align: center; }
.menu-tag { display: inline-block; font-size: .8rem; color: var(--lavender); background: var(--lavender-soft); padding: 2px 12px; border-radius: 999px; margin-bottom: 10px; }
.menu-card h3 { margin-bottom: 4px; }
.menu-price { font-family: "Great Vibes", cursive; font-size: 1.6rem; color: var(--wood); margin: 0 0 6px; line-height: 1.2; }
.menu-desc { color: var(--muted); margin: 0 0 14px; }
.menu-card details { border-top: 1px dashed var(--sage); padding-top: 12px; text-align: left; }
.menu-card summary { cursor: pointer; text-align: center; font-family: "Cinzel", serif; font-size: .88rem; letter-spacing: .06em; color: var(--olive); list-style: none; }
.menu-card summary::-webkit-details-marker { display: none; }
.menu-card summary::after { content: " ▾"; }
.menu-card details[open] summary::after { content: " ▴"; }
.dishes { list-style: none; padding: 0; margin: 12px 0 0; }
.dishes li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--border); position: relative; }
.dishes li::before { content: "❀"; position: absolute; left: 0; top: 10px; color: var(--lavender); font-size: .9rem; }
.dishes li:last-child { border-bottom: 0; }
.dish-name { font-weight: 600; display: block; }
.dish-ing { font-size: .93rem; color: var(--muted); font-style: italic; }
.empty { color: var(--muted); text-align: center; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--card); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
#gallery-ig { margin-top: 28px; }

/* O mnie */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.about-photo {
  aspect-ratio: 1; border-radius: 50%; background-size: cover; background-position: center;
  max-width: 380px; width: 100%; margin: 0 auto;
  border: 6px solid var(--card); box-shadow: 0 0 0 1px var(--sage), 0 14px 40px rgba(79, 90, 53, .18);
}
.about-photo.placeholder-img .logo-mark { width: 70%; }
.about-script { font-size: 2rem; }
.about h2 { text-transform: uppercase; }
.about-text p { margin: 0 0 1em; }
.highlights { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 24px; }
.highlight strong { display: block; font-family: "Cinzel", serif; font-size: 1.25rem; color: var(--lavender); }
.highlight span { color: var(--muted); font-size: .95rem; }

/* Opinie */
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.rating-big { font-family: "Cinzel", serif; font-size: 3rem; font-weight: 700; color: var(--olive); }
.rating-summary .stars { font-size: 1.6rem; }
.rating-meta { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.google-g { width: 20px; height: 20px; flex-shrink: 0; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-family: "Cinzel", serif; font-weight: 600; flex-shrink: 0; }
.review-author { font-weight: 600; }
.review-date { font-size: .85rem; color: var(--muted); }
.review p { margin: 10px 0 0; font-style: italic; }
.reviews-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

/* Kontakt */
.contact-section { background: var(--card); border-top: 1px solid var(--border); }
.contact { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact h2 { text-transform: uppercase; }
.contact-lead { max-width: 52ch; color: var(--muted); margin: 0 0 24px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; font-size: 1.1rem; }
.contact-list a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--sage); }
.contact-list .label { display: block; font-family: "Cinzel", serif; font-size: .78rem; letter-spacing: .12em; color: var(--lavender); }
.contact-script { font-size: clamp(1.8rem, 4vw, 2.4rem); }

.footer { padding: 24px 0; text-align: center; color: var(--muted); font-size: .9rem; background: var(--bg-alt); }

/* Telefon */
@media (max-width: 800px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; width: 100%; }
  .nav a.btn { width: auto; margin: 8px 16px 16px; text-align: center; }
  .hero { padding: 28px 0 48px; }
  .hero-inner, .about { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .logo-hero { width: 220px; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 16px; }
  .about-photo { max-width: 240px; }
  .about > div:last-child { text-align: center; }
  .divider-left { margin-left: auto; }
  .highlights { justify-content: center; }
  .section { padding: 56px 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .contact-strip-inner { flex-direction: column; align-items: center; gap: 6px; }
}

/* Podgląd oferty na stronie głównej */
.offer-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.offer-tile {
  position: relative; display: block; flex: 0 1 200px; aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; box-shadow: 0 4px 18px rgba(79, 90, 53, .1);
}
.offer-tile-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s; }
.offer-tile:hover .offer-tile-img { transform: scale(1.05); }
.offer-tile-img.placeholder-img .logo-mark { width: 55%; aspect-ratio: 1; }
.offer-tile-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 14px;
  background: linear-gradient(transparent, rgba(46, 52, 35, .85));
  color: #fff; font-family: "Cinzel", serif; font-weight: 600; text-align: center; letter-spacing: .04em;
}
.offer-more { margin-top: 32px; }

/* Podstrona oferty */
.page-hero { padding: 56px 0 8px; text-align: center; }
.page-hero h1 { text-transform: uppercase; margin-bottom: 0; }
.page-hero-script { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.section-tight { padding-top: 32px; }
.nav a.active { color: var(--lavender); }
.menu-card.highlighted { box-shadow: 0 0 0 3px var(--lavender), 0 4px 18px rgba(79, 90, 53, .1); }

@media (max-width: 800px) {
  .offer-tiles { gap: 10px; }
  .offer-tile { flex-basis: calc(50% - 5px); }
  .page-hero { padding: 32px 0 0; }
}
