/* =========================================================
   Pizzeria Orlik – arkusz stylów (mobile-first)
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brown-950: #250a04;
  --brown-900: #2e0d06;
  --brown-800: #3d1209;
  --brown-700: #47160b;
  --red-700: #8a2412;
  --red-600: #9b2b15;
  --red-500: #c4361b;
  --orange-500: #e8562a;
  --orange-400: #f07a3a;
  --yellow-400: #f9b13c;
  --yellow-300: #ffc964;
  --cream-200: #fad9bf;
  --cream-100: #fdeee2;
  --white: #fff;
  --text: #3a1a10;
  --text-muted: #6b4335;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1120px;
  --gutter: 16px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(37, 10, 4, .18);
  --slant: 5vw;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream-200) url("../img/tlo-wzor.webp");
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--yellow-400); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--yellow-400); color: var(--brown-900); padding: .6em 1em; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8em 1.5em;
  font: 700 .95rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--yellow { background: var(--yellow-400); color: var(--brown-900); }
.btn--yellow:hover { background: var(--yellow-300); transform: translateY(-1px); }
.btn--outline { border-color: var(--cream-200); color: var(--cream-100); background: transparent; }
.btn--outline:hover { background: var(--cream-100); color: var(--brown-900); }

.plus-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brown-800); position: relative;
  transition: background-color .2s, transform .2s;
}
.plus-btn::before, .plus-btn::after {
  content: ""; position: absolute; background: var(--white); border-radius: 2px;
}
.plus-btn::before { width: 20px; height: 4px; }
.plus-btn::after { width: 4px; height: 20px; }
a.plus-btn:hover, a:hover > .plus-btn { background: var(--orange-500); transform: rotate(90deg); }

/* ---------- Tytuły sekcji ---------- */
.section { padding-block: clamp(48px, 8vw, 88px); }
.section-title {
  text-align: center; text-transform: uppercase;
  font-size: clamp(1.45rem, 4.2vw, 2.2rem); font-weight: 700; letter-spacing: .01em;
  color: var(--brown-800); margin-bottom: clamp(28px, 5vw, 44px);
}
.section-title span {
  display: block; text-transform: none; font-weight: 500;
  font-size: .82em; color: var(--red-500); margin-top: .2em;
}
.section-title--light { color: var(--yellow-400); }
.section-title--light span { color: var(--orange-500); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
}
.topbar { display: none; }

.navbar {
  background: linear-gradient(180deg, var(--red-700), var(--brown-800));
  box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; }

.nav-toggle {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: transparent; border: 0; color: var(--yellow-400); cursor: pointer; margin-right: -8px;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 26px; height: 3px; border-radius: 2px; background: currentColor;
  transition: transform .25s, opacity .25s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

.nav-list {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--brown-800); border-top: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .35);
  padding: 8px 0 16px;
  display: none;
}
.nav-list.is-open { display: block; }
.nav-list a {
  display: block; padding: 14px var(--gutter);
  color: var(--yellow-400); text-decoration: none; text-transform: uppercase;
  font-weight: 600; font-size: .95rem; letter-spacing: .06em;
}
.nav-list a:hover, .nav-list a:focus-visible { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav-list__spacer { display: none; }

@media (min-width: 960px) {
  :root { --header-h: 46px; }
  .site-header { position: relative; }
  .topbar {
    display: block; height: 72px;
    background: radial-gradient(ellipse 55% 140% at 50% 10%, #df5a2c 0%, #b8391b 45%, var(--red-700) 100%);
    color: var(--cream-100);
  }
  .topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
  .topbar__phone { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: .9rem; }
  .topbar__phone .icon {
    width: 40px; height: 40px; padding: 9px; border-radius: 50%;
    background: var(--cream-200); fill: var(--red-600);
  }
  .topbar__phone small {
    display: block; color: var(--yellow-400); font-weight: 700; text-transform: uppercase;
    font-size: .78rem; letter-spacing: .05em;
  }
  .topbar__social { display: flex; align-items: center; gap: 12px; font-size: .95rem; }

  .navbar { background: var(--brown-800); }
  .navbar__inner { position: static; height: var(--header-h); justify-content: center; }
  .brand {
    position: absolute; left: 50%; top: 4px; transform: translateX(-50%); z-index: 5;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
  }
  .brand img { height: 148px; }
  .nav-toggle { display: none; }
  .nav-list {
    position: static; display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 230px 1fr 1fr 1fr;
    width: 100%; max-width: 980px; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav-list__spacer { display: block; }
  .nav-list a {
    padding: 0 6px; line-height: var(--header-h); text-align: center;
    font-size: .82rem; letter-spacing: .07em;
  }
  .nav-list a:hover { background: none; color: var(--white); }
}

.social-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #3b5998; transition: transform .2s, background-color .2s;
}
.social-btn svg { width: 22px; height: 22px; fill: var(--white); }
.social-btn:hover { transform: translateY(-2px); background: #4a6fbf; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; place-items: center;
  min-height: clamp(360px, 62svh, 560px);
  overflow: hidden; background: var(--brown-900); isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -1; }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__slides img.is-active { opacity: 1; }
.hero__slides::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(37, 10, 4, .15) 0%, rgba(37, 10, 4, .35) 100%);
}
.hero__content { text-align: center; padding-block: 48px 72px; }
.hero__title {
  display: inline-block; text-transform: uppercase;
  background: var(--yellow-400); color: var(--brown-800);
  font-size: clamp(1.25rem, 5vw, 2.5rem); font-weight: 800; letter-spacing: .01em;
  padding: .3em .8em; box-shadow: var(--shadow);
}
.hero__subtitle {
  display: table; margin: 0 auto;
  background: var(--brown-800); color: var(--yellow-400);
  font-size: clamp(1rem, 2.8vw, 1.45rem); font-weight: 500; padding: .35em 1em;
}

@media (min-width: 960px) {
  .hero { min-height: 600px; }
  .hero__content { padding-block: 120px 220px; }
}

/* ---------- Karty: restauracja / lodziarnia / noclegi ---------- */
.features { position: relative; z-index: 2; margin-top: -48px; padding-bottom: clamp(56px, 8vw, 96px); }
.features__grid {
  display: grid; gap: 28px; grid-template-columns: 1fr;
  max-width: 440px;
}
.feature {
  background: var(--white); text-align: center; box-shadow: var(--shadow);
  border-bottom: 6px solid var(--brown-800); padding-bottom: 24px;
  display: flex; flex-direction: column; align-items: center;
}
.feature__title {
  width: 100%; background: var(--brown-800); color: var(--yellow-400);
  text-transform: uppercase; font-size: 1.1rem; font-weight: 700; padding: 16px 12px;
}
.feature img { width: 100%; aspect-ratio: 264 / 173; object-fit: cover; }
.feature p { font-size: .92rem; color: var(--text-muted); padding: 18px 22px 4px; margin: 0 0 12px; flex: 1; }

@media (min-width: 700px) {
  .features__grid { max-width: var(--container); grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 960px) {
  .features { margin-top: -180px; }
  .features__grid { gap: clamp(32px, 7vw, 96px); max-width: 1040px; }
}

/* ---------- Ukośne sekcje ---------- */
.slant { position: relative; z-index: 2; padding-block: calc(var(--slant) + clamp(40px, 7vw, 72px)); }
.slant--dark {
  background: var(--brown-700); color: var(--cream-100);
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}

/* ---------- O nas ---------- */
.about p { font-weight: 500; text-align: left; }
@media (min-width: 700px) { .about p { text-align: justify; hyphens: auto; } }
.about__since {
  text-align: center !important; color: var(--yellow-400); text-transform: uppercase;
  letter-spacing: .9em; font-size: .85rem; margin: 2em 0 0 !important; padding-left: .9em;
}

/* ---------- Banery ze zdjęciem ---------- */
.banner {
  position: relative; display: flex; align-items: center;
  min-height: clamp(260px, 40vw, 440px);
  background-size: cover; background-position: center;
  padding-block: calc(var(--slant) + 40px);
}
.banner--pizza {
  margin-top: calc(var(--slant) * -1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.banner--coffee { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); }
.banner--pizza { background-image: url("../img/pizza-tlo-800.webp"); }
.banner--coffee { background-image: url("../img/kawa-tlo-800.webp"); }
@media (min-width: 800px) {
  .banner--pizza { background-image: url("../img/pizza-tlo-1600.webp"); }
  .banner--coffee { background-image: url("../img/kawa-tlo-1600.webp"); }
}
.banner__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.banner__inner--center { align-items: center; text-align: center; }
.banner__inner--center .btn { margin-top: 24px; }
.tag {
  margin: 0; text-transform: uppercase; font-weight: 800; box-shadow: var(--shadow);
  font-size: clamp(1.15rem, 3.6vw, 2rem); padding: .3em .7em;
}
.tag--yellow { background: var(--yellow-400); color: var(--brown-800); }
.tag--dark {
  background: var(--brown-800); color: var(--yellow-400);
  text-transform: none; font-weight: 500; font-size: clamp(.95rem, 2.4vw, 1.3rem);
}
.banner--pizza .banner__inner { align-items: flex-end; text-align: right; }
@media (max-width: 599px) {
  .banner--pizza .banner__inner { align-items: center; text-align: center; }
}

/* ---------- Menu ---------- */
.menu { padding-top: clamp(40px, 6vw, 64px); }
.menu .container { max-width: 900px; }

.tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px;
}
.tabs__btn {
  min-height: 52px; padding: 8px 6px; border: 0; border-radius: var(--radius); cursor: pointer;
  font: 700 clamp(.78rem, 2.6vw, 1.05rem)/1.2 var(--font); text-transform: uppercase;
  background: var(--brown-800); color: var(--yellow-400);
  transition: background-color .2s, color .2s;
}
.tabs__btn:hover { background: var(--brown-700); }
.tabs__btn[aria-selected="true"] { background: var(--yellow-400); color: var(--brown-800); }

.dishes { display: grid; gap: 12px; grid-template-columns: 1fr; }
.dish {
  display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px;
  background: var(--white); padding: 10px; border-radius: var(--radius);
  border-left: 5px solid var(--brown-800); box-shadow: 0 4px 14px rgba(37, 10, 4, .08);
}
.dish img { width: 96px; height: 96px; object-fit: cover; border-radius: 3px; }
.dish h3 { font-size: 1.05rem; font-weight: 700; color: var(--brown-800); margin-bottom: .2em; }
.dish p { font-size: .88rem; color: var(--text-muted); margin: 0; line-height: 1.45; }
.dish--cta { grid-template-columns: 1fr; padding: 0; border-left-color: var(--yellow-400); }
.dish--cta a {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px;
  align-items: center; padding: 16px; text-decoration: none;
}
.dish--cta .plus-btn { grid-row: span 2; }
.dish--cta strong { color: var(--brown-800); font-size: 1.05rem; }
.dish--cta span:last-child { font-size: .88rem; color: var(--text-muted); }

@media (min-width: 600px) {
  .dishes { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .dish {
    display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0;
    border-left: 0; border-bottom: 22px solid var(--brown-800); border-radius: 0;
  }
  .dish img { width: 100%; height: auto; aspect-ratio: 264 / 173; border-radius: 0; }
  .dish__body { padding: 14px 16px 18px; }
  .dish--cta { border-bottom-color: var(--brown-800); }
  .dish--cta a {
    height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: center;
    gap: 8px; padding: 28px 18px;
  }
}
@media (min-width: 780px) {
  .dishes { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Spacer / mapa ---------- */
.map {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 5; max-height: 560px; width: 100%;
  background: var(--brown-900); box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
@media (min-width: 600px) { .map { aspect-ratio: 16 / 9; } }
.map__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(3px) brightness(.45); transform: scale(1.06);
}
.map__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.map__address { font-size: clamp(1.2rem, 3.5vw, 1.8rem); font-weight: 800; text-transform: uppercase; color: var(--white); }
.map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.map__note { font-size: .8rem; color: rgba(255, 255, 255, .7); margin: 16px 0 0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Wydarzenia ---------- */
.events { padding-top: clamp(40px, 6vw, 64px); }
.events .container { max-width: 900px; }
.events__grid { display: grid; gap: 20px; }
.event {
  display: grid; grid-template-columns: 1fr; background: var(--white);
  box-shadow: var(--shadow); border-bottom: 6px solid var(--brown-800);
}
.event img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.event__body { padding: 18px 20px 8px; }
.event h3 { text-transform: uppercase; font-size: 1.15rem; font-weight: 800; color: var(--brown-800); margin-bottom: .6em; }
.event h3 span { display: block; text-transform: none; font-weight: 600; font-size: .85em; color: var(--red-500); margin-top: .15em; }
.event p { font-size: .93rem; color: var(--text-muted); }
@media (min-width: 600px) {
  .event { grid-template-columns: 220px 1fr; align-items: center; }
  .event img { aspect-ratio: 1; height: 100%; }
  .event__body { padding: 20px 28px; }
}

/* ---------- Opinie ---------- */
.reviews {
  background: var(--red-600) url("../img/tlo-wzor.webp"); background-blend-mode: multiply;
  color: var(--cream-100);
  padding-block: 56px;
}
.reviews__grid { display: grid; gap: 28px; max-width: 980px; }
@media (min-width: 760px) { .reviews__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.review { margin: 0; position: relative; padding-left: 52px; }
.review::before {
  content: "\201E"; position: absolute; left: 0; top: -40px;
  font: 800 5rem/1 Georgia, serif; color: var(--yellow-400);
}
.review blockquote { margin: 0; font-style: italic; font-size: 1.02rem; }
.review figcaption { color: var(--yellow-400); font-weight: 800; font-size: 1.1rem; text-align: right; }

/* ---------- Stopka / kontakt ---------- */
.site-footer {
  background: var(--red-700) url("../img/tlo-wzor.webp"); background-blend-mode: multiply;
  color: var(--cream-100); padding-top: 48px;
}
.footer__grid { display: grid; gap: 40px; }
.footer__brand { display: flex; justify-content: center; }
.footer__brand img { width: 170px; }
.footer__heading {
  color: var(--yellow-400); text-transform: uppercase; font-size: 1.05rem; font-weight: 800;
  letter-spacing: .05em; margin-bottom: 16px;
}
.contact-list { margin: 0; display: grid; gap: 18px; }
.contact-list dt { color: var(--yellow-400); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.contact-list dd { margin: 2px 0 0; }
.contact-list a { text-decoration: none; display: inline-block; padding-block: 3px; }
.contact-list a:hover { color: var(--yellow-400); text-decoration: underline; }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px dotted rgba(253, 238, 226, .35); }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; font-weight: 600; white-space: nowrap; }
.hours tr:nth-child(odd) { color: var(--yellow-400); }

.footer__social { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 36px 28px; }
.footer__bottom {
  background: rgba(37, 10, 4, .45); font-size: .82rem;
  padding-bottom: calc(64px + env(safe-area-inset-bottom)); /* miejsce na pasek szybkiego kontaktu */
}
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; padding-block: 16px; text-align: center;
}
.footer__bottom a { text-decoration: none; color: var(--yellow-400); }
.footer__bottom a:hover { text-decoration: underline; }

@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 200px 1fr 1fr; align-items: start; gap: 48px; }
  .footer__brand { justify-content: flex-start; }
  .footer__bottom-inner { justify-content: space-between; }
}

/* ---------- Pasek szybkiego kontaktu (telefon) ---------- */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--brown-800); border-top: 2px solid var(--yellow-400);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .25);
}
.quickbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 62px; color: var(--cream-100); text-decoration: none;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.quickbar a + a { border-left: 1px solid rgba(255, 255, 255, .1); }
.quickbar .icon { width: 24px; height: 24px; fill: var(--yellow-400); }
.quickbar a:active { background: var(--brown-700); }

@media (min-width: 960px) {
  .footer__bottom { padding-bottom: 0; }
  .quickbar { display: none; }
}
