/* =========================================================
   Po prostu Pizza — Jantar, ul. Morska 4
   Pizzeria z piecem opalanym drewnem
   ========================================================= */

:root {
  /* Brand palette */
  --cream:        #FBF4E9;
  --cream-soft:   #F6EAD6;
  --cream-deep:   #EFDFC6;
  --terracotta:   #B5481F;
  --terracotta-d: #8E3315;
  --olive:        #6F7B3A;
  --olive-d:      #56602C;
  --gold:         #C8941C;
  --gold-d:       #A87811;
  --charcoal:     #211C18;
  --charcoal-2:   #2C2620;
  --ink:          #2E2823;
  --ink-soft:     #5A4F45;
  --line:         #E2D3BB;
  --white:        #ffffff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script:  "Dancing Script", "Brush Script MT", cursive;
  --font-body:    "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(33, 28, 24, .45);
  --shadow-lg: 0 30px 60px -30px rgba(33, 28, 24, .55);

  --z-nav: 50;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--terracotta); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; color: var(--charcoal); margin: 0 0 .5em; }
p { margin: 0 0 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(44px, 6vw, 80px) 0; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--terracotta);
  margin: 0 0 .9rem;
}
.section-head { max-width: 640px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.script { font-family: var(--font-script); font-weight: 700; color: var(--terracotta); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .18s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  line-height: 1; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: 0 12px 26px -14px rgba(181,72,31,.9); }
.btn--primary:hover { background: var(--terracotta-d); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #2a1d05; }
.btn--gold:hover { background: var(--gold-d); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: #fff; transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--charcoal); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(251,244,233,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.nav.is-stuck { box-shadow: 0 10px 30px -22px rgba(33,28,24,.6); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; line-height: 1; }
.brand__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; }
.brand__text b { font-family: var(--font-script); font-size: 1.05rem; color: var(--terracotta); font-weight: 700; margin-bottom: -4px; }
.brand__text span { font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; font-size: 1.02rem; color: var(--charcoal); }
.nav__menu { display: flex; align-items: center; gap: 1.7rem; }
.nav__menu > .btn { display: none; } /* CTA telefon tylko w rozwijanym menu mobilnym */
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: .98rem; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--terracotta); transition: width .22s ease; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--charcoal); }
.nav__toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0; background: var(--cream);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; padding: 14px 22px 24px; gap: .2rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__menu a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .nav__menu a::after { display: none; }
  .nav__menu > .btn { display: inline-flex; margin-top: 14px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,15,12,.45) 0%, rgba(20,15,12,.30) 35%, rgba(20,15,12,.78) 100%),
    radial-gradient(120% 80% at 15% 20%, rgba(20,15,12,.45), transparent 60%);
}
.hero__inner { min-height: min(92vh, 820px); display: flex; flex-direction: column; justify-content: center; padding-block: 120px 90px; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
  padding: .45rem 1rem; border-radius: 999px; font-weight: 700; font-size: .85rem;
  letter-spacing: .04em; backdrop-filter: blur(4px); margin-bottom: 1.4rem;
}
.hero__badge .stars { color: var(--gold); letter-spacing: .08em; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.5vw, 4.7rem); margin-bottom: .35em; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.hero h1 .script { color: #ffd9a0; display: block; font-size: 1.05em; line-height: 1; }
.hero__sub { font-size: clamp(1.08rem, 2.4vw, 1.4rem); color: rgba(255,255,255,.92); max-width: 600px; margin-bottom: 2rem; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero__sub b { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; font-weight: 600; font-size: .98rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.95); }
.hero__meta svg { width: 1.25em; height: 1.25em; color: #ffd9a0; }

/* ---------- Trust strip ---------- */
.trust { background: var(--charcoal); color: var(--cream); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.trust__item { background: var(--charcoal); padding: 1.7rem 1.4rem; text-align: center; }
.trust__item b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); margin-bottom: .2rem; }
.trust__item span { font-size: .95rem; color: rgba(255,255,255,.82); }
@media (max-width: 760px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- About / oven ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; }
.about__media .tag {
  position: absolute; bottom: -18px; right: -10px; background: var(--white);
  border-radius: var(--radius-sm); padding: .9rem 1.2rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .7rem; max-width: 230px;
}
.about__media .tag svg { width: 30px; height: 30px; color: var(--terracotta); flex: 0 0 auto; }
.about__media .tag b { display: block; font-family: var(--font-display); color: var(--charcoal); }
.about__media .tag span { font-size: .85rem; color: var(--ink-soft); line-height: 1.3; }
.about h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.about__lead { font-size: 1.15rem; color: var(--ink); }
.about ul.features { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.about ul.features li { display: flex; gap: .8rem; align-items: flex-start; }
.about ul.features svg { width: 24px; height: 24px; color: var(--olive); flex: 0 0 auto; margin-top: 3px; }
.about ul.features b { color: var(--charcoal); }
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 460px; margin-inline: auto; }
  .about__media img { aspect-ratio: 4/3; }
}

/* ---------- Menu ---------- */
.menu { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%); }
.menu__cats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 48px); }
.menu__group { break-inside: avoid; }
.menu__group + .menu__group { margin-top: 2.4rem; }
.menu__group h3 {
  font-size: 1.5rem; color: var(--terracotta); display: flex; align-items: center; gap: .7rem;
  padding-bottom: .7rem; border-bottom: 2px solid var(--line); margin-bottom: 1.1rem;
}
.menu__group h3 svg { width: 26px; height: 26px; color: var(--olive); }
.menu__item { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.menu__item:last-child { border-bottom: 0; }
.menu__item .name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--charcoal); }
.menu__item .price { font-family: var(--font-display); font-weight: 700; color: var(--gold-d); font-size: 1.08rem; white-space: nowrap; }
.menu__item .desc { grid-column: 1 / -1; font-size: .94rem; color: var(--ink-soft); }
.menu__note {
  grid-column: 1 / -1; margin-top: 2.2rem; text-align: center; background: var(--white);
  border: 1px dashed var(--terracotta); border-radius: var(--radius-sm); padding: 1rem 1.4rem;
  font-weight: 600; color: var(--charcoal);
}
.menu__note .script { font-size: 1.4rem; }
@media (max-width: 820px) { .menu__cats { grid-template-columns: 1fr; } }

/* Drinks — dark panel echoing original menu */
.drinks { background: var(--charcoal); color: var(--cream); border-radius: var(--radius); margin-top: clamp(34px, 5vw, 56px); padding: clamp(30px, 5vw, 54px); box-shadow: var(--shadow-lg); }
.drinks .section-head h2, .drinks .menu__group h3 { color: #fff; }
.drinks .menu__group h3 { border-color: rgba(255,255,255,.18); }
.drinks .menu__item { border-color: rgba(255,255,255,.12); }
.drinks .menu__item .name { color: #fff; }
.drinks .menu__item .price { color: var(--gold); }
.drinks .menu__item .desc { color: rgba(255,255,255,.7); }
.drinks__head { text-align: center; margin-bottom: 2.2rem; }
.drinks__head .eyebrow { color: var(--gold); }
.drinks__head h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.drinks__head p { color: rgba(255,255,255,.75); }
.drinks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 46px); }
.price3 { display: grid; grid-template-columns: 1fr auto; gap: .15rem .8rem; }
.price3 .cols { display: flex; gap: .9rem; }
.price3 .cols span { font-family: var(--font-display); color: var(--gold); font-weight: 700; min-width: 52px; text-align: right; }
.drinks__legend { font-size: .82rem; color: rgba(255,255,255,.55); margin: -.4rem 0 1rem; letter-spacing: .03em; }
@media (max-width: 760px) { .drinks__grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery__grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__grid figure:hover img { transform: scale(1.06); }
.gallery__grid figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__grid figure:nth-child(4) { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery__grid figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery__grid figure:nth-child(4) { grid-column: span 2; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--cream-soft); }
.reviews__rating { text-align: center; margin-bottom: 2.6rem; }
.reviews__rating .score { font-family: var(--font-display); font-size: 3.4rem; color: var(--charcoal); line-height: 1; }
.reviews__rating .stars { color: var(--gold); font-size: 1.5rem; letter-spacing: .12em; display: block; margin: .3rem 0; }
.reviews__rating .src { color: var(--ink-soft); font-weight: 600; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1rem; border-top: 4px solid var(--gold);
}
.review .stars { color: var(--gold); letter-spacing: .1em; }
.review p { font-size: 1rem; color: var(--ink); margin: 0; }
.review__who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review__av { width: 44px; height: 44px; border-radius: 50%; background: var(--terracotta); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: 0 0 auto; }
.review__who b { display: block; color: var(--charcoal); line-height: 1.2; }
.review__who span { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Location / contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.contact__card { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow); }
.contact__card h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.contact__list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__list svg { width: 24px; height: 24px; color: var(--terracotta); flex: 0 0 auto; margin-top: 2px; }
.contact__list b { color: var(--charcoal); display: block; }
.contact__list a { font-weight: 700; }
.hours { display: grid; gap: .15rem; margin-top: .35rem; max-width: 260px; }
.hours > span { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; color: var(--ink); }
.hours > span > span:first-child { color: var(--ink-soft); text-transform: capitalize; }
.hours > span > span:last-child { font-weight: 600; color: var(--charcoal); }
.hours > span > span.closed { color: var(--terracotta); font-weight: 600; }
.contact__perks { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.9rem; }
.contact__perks span { background: var(--cream-deep); color: var(--charcoal); font-weight: 600; font-size: .85rem; padding: .4rem .85rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .4rem; }
.contact__perks svg { width: 16px; height: 16px; color: var(--olive); }
.contact__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 880px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: rgba(255,255,255,.78); padding: 56px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.4rem; }
.footer .brand__text b { color: #ffd9a0; }
.footer .brand__text span { color: #fff; }
.footer p { color: rgba(255,255,255,.65); }
.footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: #ffd9a0; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; color: rgba(255,255,255,.55); }
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
