/* Da Matteo — pizzeria · demo (folder = przyszła subdomena) */
:root {
  --brown: #221612; --brown-2: #2c1d17; --tomato: #e2492f; --cream: #f6ead8;
  --basil: #8fae5d; --line: rgba(246, 234, 216, .16); --muted: #b9a48f;
  --display: "Bricolage Grotesque", sans-serif; --body: "Work Sans", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--brown); color: var(--cream); line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(46rem 30rem at 90% -10%, rgba(226, 73, 47, .16), transparent 60%),
              radial-gradient(40rem 28rem at -10% 80%, rgba(143, 174, 93, .1), transparent 60%); }
::selection { background: var(--tomato); color: #fff; }
a { color: inherit; }
.wrap { width: min(1080px, 100% - 2.4rem); margin-inline: auto; }

header { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; background: rgba(34, 22, 18, .92); backdrop-filter: blur(8px); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.brand span { color: var(--tomato); }
.bar nav { display: flex; gap: 1.3rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.bar nav a { text-decoration: none; color: var(--muted); transition: color .3s; position: relative; padding: .2rem 0; }
.bar nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%; background: var(--tomato); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.bar nav a:hover, .bar nav a.active { color: var(--cream); }
.bar nav a:hover::after, .bar nav a.active::after { transform: scaleX(1); }
.demo-tag { font-family: monospace; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--basil); border: 1px solid rgba(143,174,93,.4); padding: .3rem .7rem; border-radius: 99px; }

.hero { display: grid; gap: 2.5rem; padding: 4.5rem 0 3.5rem; }
.hero__kicker { color: var(--tomato); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .75rem; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: .96; letter-spacing: -.02em; margin: .8rem 0 1rem; }
h1 em { font-style: normal; color: var(--tomato); }
.hero p { color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.7rem; }
.btn { font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: .9rem 1.5rem; border: 1px solid var(--line); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; display: inline-block; }
.btn:hover { transform: translateY(-3px); }
.btn--hot { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.btn--hot:hover { background: #f0593f; }
.btn--line:hover { border-color: var(--cream); }

.info-card { background: var(--brown-2); border: 1px solid var(--line); padding: 1.6rem; align-self: center; }
.info-card h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: .9rem; }
.info-card p { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.info-card p:last-child { border: none; }
.info-card b { color: var(--basil); font-weight: 500; }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: .7rem 0; background: var(--brown-2); }
.marquee div { display: flex; gap: 2.2rem; width: max-content; white-space: nowrap; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--muted); animation: mq 24s linear infinite; }
.marquee b { color: var(--tomato); }
.marquee:hover div { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

section { padding: 4.5rem 0; }
.sec-head { margin-bottom: 2.2rem; }
.sec-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.sec-head h2 span { color: var(--tomato); }
.sec-head p { color: var(--muted); margin-top: .4rem; }
.breadcrumb { font-family: monospace; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.breadcrumb a { color: var(--basil); text-decoration: none; }

/* Hero podstron */
.page-hero { padding: 7.5rem 0 2.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }

/* Menu */
.menu { display: grid; gap: 0 3rem; }
.pie { display: flex; align-items: baseline; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease), background .3s; }
.pie:hover { padding-left: .8rem; background: rgba(226, 73, 47, .06); }
.pie b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.pie small { color: var(--muted); font-size: .82rem; }
.pie i { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.pie strong { color: var(--tomato); font-family: var(--display); }
.menu-cat { margin-bottom: 2.8rem; }
.menu-cat h3 { font-family: var(--display); font-size: 1.3rem; color: var(--basil); margin-bottom: 1rem; display: flex; align-items: center; gap: .8rem; }
.menu-cat h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Kontakt */
.contact-grid { display: grid; gap: 2rem; }
.map { height: 340px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.25); transition: filter .6s; }
.map:hover iframe { filter: none; }

footer { border-top: 1px solid var(--line); padding: 1.8rem 0; font-size: .78rem; color: var(--muted); }
footer a { color: var(--basil); text-decoration: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.back-hub {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem .85rem 1.1rem; border-radius: 99px;
  background: var(--tomato); color: #fff; text-decoration: none;
  font-family: var(--body); font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  animation: hubPulse 2.6s var(--ease) infinite;
  transition: transform .3s var(--ease), background .3s;
}
.back-hub::after { content: "hub"; }
.back-hub:hover { transform: translateX(-5px) scale(1.05); background: #f0593f; animation-play-state: paused; }
.back-hub svg { width: 18px; height: 18px; }
@keyframes hubPulse {
  0%   { box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 0 0 rgba(226,73,47,.55); }
  70%  { box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 0 15px rgba(226,73,47,0); }
  100% { box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 0 0 rgba(226,73,47,0); }
}
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.2fr .8fr; align-items: center; }
  .menu { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms!important; transition-duration: .01ms!important; } .reveal { opacity: 1; transform: none; } }
