:root {
  --ink: #efe6da;
  --graphite: #1e1816;
  --wine: #7a2230;
  --wine-dark: #3e141b;
  --cream: #1b1411;
  --paper: #221a17;
  --beige: #d5b98f;
  --clay: #8f5a3f;
  --brown: #140f0d;
  --light: #fffaf1;
  --muted: rgba(239, 230, 218, 0.72);
  --line: rgba(255, 250, 241, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --container: 1160px;
  --font-heading: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --font-ui: "Nunito Sans", "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(143, 90, 63, 0.22), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(122, 34, 48, 0.2), transparent 42%),
    linear-gradient(180deg, #140f0d, #1f1714 52%, #120d0b);
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 88svh;
  padding: 22px 28px 64px;
  color: var(--light);
  background:
    linear-gradient(90deg, rgba(8, 6, 6, 0.92), rgba(47, 22, 18, 0.68), rgba(12, 9, 8, 0.2)),
    linear-gradient(180deg, rgba(12, 10, 10, 0.1), rgba(10, 7, 6, 0.82)),
    url("images/przyjecia/przyjecie-klimat.jpg") center / cover;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(224, 150, 88, 0.26), transparent 28%),
    linear-gradient(180deg, transparent 72%, rgba(245, 234, 215, 0.1));
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.48rem;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-name {
  display: grid;
  gap: 1px;
  line-height: 1.02;
}

.brand-name span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 250, 241, 0.78);
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.12);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 250, 241, 0.88);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.12);
  color: var(--light);
  font-family: var(--font-ui);
  font-weight: 700;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 118px auto 0;
  width: 100%;
}

.eyebrow {
  margin: 0 0 16px;
  color: #e7c7ad;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: 6.1rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-title {
  display: grid;
  gap: 6px;
}

.hero-title span:last-child {
  color: #ead0ba;
  font-size: 0.56em;
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: 3.5rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.78rem;
  line-height: 1.16;
}

.hero-content p:not(.eyebrow),
.section-heading p,
.section-copy p,
.mood-copy p,
.event-card p,
.feature-card p,
.contact-panel p,
.footer p {
  line-height: 1.75;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 250, 241, 0.92);
  font-size: 1.16rem;
  font-weight: 400;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid var(--wine);
  background: var(--wine);
  color: #fff;
}

.button-light {
  border: 1px solid rgba(255, 250, 241, 0.42);
  background: rgba(255, 250, 241, 0.13);
  color: var(--light);
}

.button-quiet {
  border: 1px solid rgba(255, 250, 241, 0.24);
  color: var(--light);
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 28px;
}

.section {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 15, 13, 0.82), rgba(20, 15, 13, 0.98));
}

#restauracja::before {
  background:
    linear-gradient(90deg, rgba(12, 9, 8, 0.86), rgba(12, 9, 8, 0.96)),
    url("images/web/wnetrze-bar.jpg") center / cover;
}

#kuchnia::before {
  background:
    linear-gradient(90deg, rgba(12, 9, 8, 0.9), rgba(12, 9, 8, 0.98)),
    url("images/potrawy-bazowe/okon-morski.jpg") center / cover;
}

#wydarzenia::before {
  background:
    linear-gradient(90deg, rgba(10, 8, 8, 0.88), rgba(10, 8, 8, 0.98)),
    url("images/wydarzenia/grazyna-lobaszewska.jpg") center / cover;
}

#historia::before {
  background:
    linear-gradient(90deg, rgba(12, 9, 8, 0.88), rgba(12, 9, 8, 0.98)),
    url("images/wydarzenia/hard-times-trio.jpg") center / cover;
}

#galerie::before {
  background: linear-gradient(180deg, rgba(18, 13, 11, 0.95), rgba(18, 13, 11, 0.98));
}

#kontakt::before {
  background:
    linear-gradient(90deg, rgba(10, 7, 6, 0.94), rgba(10, 7, 6, 0.98)),
    url("images/przyjecia/przyjecie-sala-2.jpg") center / cover;
}

#dojazd::before {
  background:
    linear-gradient(90deg, rgba(10, 7, 6, 0.94), rgba(10, 7, 6, 0.98)),
    url("images/web/wnetrze-klimat.jpg") center / cover;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 48px;
  align-items: center;
}

.section-copy p:not(.eyebrow),
.section-heading p,
.feature-card p,
.event-card p,
.contact-panel p {
  color: var(--muted);
}

.section-copy p:not(.eyebrow),
.section-heading p {
  max-width: 740px;
  margin: 20px 0 0;
  font-size: 1.08rem;
  font-weight: 400;
}

.split-image,
.feature-card,
.event-card,
.contact-panel {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.split-image {
  background: var(--brown);
}

.split-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cuisine {
  padding-top: 76px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.feature-card {
  background: rgba(18, 12, 10, 0.72);
  border: 1px solid rgba(255, 250, 241, 0.08);
}

.feature-card img {
  height: clamp(300px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4 / 3;
  background: var(--brown);
}

.feature-card div {
  padding: 26px;
}

.feature-card p {
  margin: 12px 0 0;
}

.feature-card,
.split-image,
.gallery img,
.event-card,
.contact-panel,
.location-panel {
  outline: 1px solid rgba(255, 250, 241, 0.34);
  outline-offset: -8px;
}

.menu-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  margin-top: 28px;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(71, 20, 28, 0.9), rgba(24, 16, 13, 0.96)),
    rgba(16, 12, 10, 0.92);
  color: var(--light);
  box-shadow: var(--shadow);
}

.menu-preview p {
  margin: 12px 0 0;
  color: rgba(255, 250, 241, 0.74);
  line-height: 1.7;
}

.menu-preview ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-preview li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 250, 241, 0.18);
}

.menu-preview strong {
  color: #e7c7ad;
}

.menu-button {
  margin-top: 18px;
  width: fit-content;
}

.mood-section {
  min-height: 540px;
  display: grid;
  align-items: center;
  padding: 140px 28px;
  color: var(--light);
  background:
    linear-gradient(90deg, rgba(20, 12, 10, 0.92), rgba(57, 30, 24, 0.52)),
    url("images/przyjecia/przyjecie-stol.jpg") center / cover fixed;
}

.mood-copy {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.mood-copy h2 {
  max-width: 720px;
}

.mood-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.86);
}

.event-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.events,
.event-archive {
  position: relative;
}

.events::before,
.event-archive::before {
  content: "";
  position: absolute;
  inset: 36px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 34, 48, 0.22), transparent);
}

.event-card {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(20, 15, 13, 0.92), rgba(20, 13, 11, 0.98)),
    var(--graphite);
  color: var(--light);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.event-card:hover,
.event-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 28px 84px rgba(29, 17, 12, 0.32);
  outline: none;
}

.event-card img {
  height: 230px;
  object-fit: cover;
}

.event-card div {
  padding: 24px;
}

.event-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 8px;
  color: #e7c7ad;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.event-card p {
  margin: 14px 0 0;
  color: rgba(255, 250, 241, 0.76);
}

.gallery-heading {
  margin-top: 78px;
  padding-top: 52px;
  border-top: 1px solid rgba(52, 35, 28, 0.16);
}

.gallery {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.gallery.interiors {
  grid-template-columns: 1.1fr 0.9fr 1fr;
}

.gallery.food {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery img {
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.gallery img:hover,
.gallery img:focus-visible {
  transform: translateY(-3px) scale(1.015);
  filter: brightness(1.04);
}

.gallery.interiors img:first-child,
.gallery.food img:first-child {
  height: 520px;
}

.gallery.food img:nth-child(3n + 2) {
  margin-top: 42px;
}

.event-archive {
  padding-top: 48px;
  padding-bottom: 86px;
}

.archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.archive-grid img {
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.galleries {
  position: relative;
}

.galleries::before {
  content: "";
  position: absolute;
  inset: 32px 28px auto;
  height: calc(100% - 64px);
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 16, 14, 0.92), rgba(12, 9, 8, 0.98));
}

.contact {
  padding-bottom: 62px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(25, 18, 16, 0.96), rgba(71, 20, 28, 0.82)),
    rgba(18, 12, 10, 0.96);
  color: var(--light);
}

.contact-panel p {
  color: rgba(255, 250, 241, 0.78);
}

.contact-details {
  display: grid;
  align-content: start;
  gap: 12px;
}

.contact-details a,
.footer a {
  color: inherit;
  text-underline-offset: 4px;
}

.location {
  padding-top: 0;
}

.location-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 14, 12, 0.98), rgba(71, 20, 28, 0.82)),
    rgba(18, 12, 10, 0.96);
  color: var(--light);
  box-shadow: var(--shadow);
  padding: 18px;
}

.location-copy {
  padding: 28px 20px 28px 22px;
}

.location-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 250, 241, 0.78);
  line-height: 1.75;
}

.location-address {
  display: inline-flex;
  margin-top: 14px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 8px;
  color: #f0d4bd;
  font-family: var(--font-ui);
  font-weight: 800;
}

.location-copy .button {
  margin-top: 26px;
}

.location-map-card {
  min-height: 360px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(19, 13, 10, 0.18), rgba(19, 13, 10, 0.92)),
    url("images/web/wnetrze-klimat.jpg") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 241, 0.18);
}

.location-map-card p {
  margin: 0;
  color: #f1d7c0;
  font-family: var(--font-heading);
  font-size: 2.3rem;
  line-height: 1;
}

.location-map-card strong,
.location-map-card span {
  display: block;
  font-family: var(--font-ui);
}

.location-map-card strong {
  font-size: 1.1rem;
}

.location-map-card span {
  color: rgba(255, 250, 241, 0.8);
}

.location-map-card a {
  width: fit-content;
  margin-top: 14px;
  color: var(--light);
  font-family: var(--font-ui);
  font-weight: 800;
  text-underline-offset: 5px;
}

.lightbox,
.event-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(18, 12, 10, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox.is-open,
.event-modal.is-open {
  display: flex;
}

.lightbox figure {
  width: min(1080px, 92vw);
  margin: 0;
}

.lightbox img {
  max-height: 82vh;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.45);
  background: rgba(255, 250, 241, 0.06);
  animation: imageBloom 0.24s ease both;
}

.lightbox figcaption {
  margin-top: 14px;
  color: rgba(255, 250, 241, 0.84);
  text-align: center;
  line-height: 1.5;
}

.modal-close,
.modal-nav {
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.12);
  color: var(--light);
  cursor: pointer;
  font-family: var(--font-ui);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.modal-close:hover,
.modal-close:focus-visible,
.modal-nav:hover,
.modal-nav:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 250, 241, 0.2);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 58px;
  font-size: 2.4rem;
  line-height: 1;
}

.modal-prev {
  left: 22px;
}

.modal-next {
  right: 22px;
}

.event-modal-card {
  position: relative;
  width: min(980px, 94vw);
  max-height: 90vh;
  overflow: auto;
  padding: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 235, 0.98), rgba(245, 234, 215, 0.98)),
    var(--paper);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.45);
}

.event-modal-card .modal-close {
  color: var(--ink);
  border-color: rgba(23, 19, 19, 0.16);
  background: rgba(23, 19, 19, 0.06);
}

.event-modal-card h2 {
  max-width: 760px;
}

.event-modal-card > p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.event-modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.event-modal-gallery img {
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(29, 17, 12, 0.18);
  cursor: zoom-in;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 24px;
  padding: 28px;
  color: rgba(255, 250, 241, 0.82);
  background: #0f0b0a;
}

@keyframes imageBloom {
  from {
    opacity: 0;
    transform: scale(0.965);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.footer p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid rgba(255, 250, 241, 0.16);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 250, 241, 0.16);
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .site-nav {
    position: fixed;
    inset: 76px 18px auto;
    z-index: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 8px;
    background: rgba(25, 22, 21, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .intro,
  .menu-preview,
  .location-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .event-list,
  .gallery.interiors,
  .gallery.food,
  .archive-grid,
  .event-modal-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 84svh;
    padding: 18px 18px 46px;
  }

  .hero-content {
    margin-top: 84px;
  }

  h1 {
    font-size: 3rem;
  }

  .brand {
    max-width: 230px;
  }

  h2 {
    font-size: 2.08rem;
  }

  .section {
    padding: 88px 18px;
  }

  .feature-grid,
  .event-list,
  .gallery.interiors,
  .gallery.food,
  .archive-grid,
  .event-modal-gallery {
    grid-template-columns: 1fr;
  }

  .gallery.food img:nth-child(3n + 2) {
    margin-top: 0;
  }

  .gallery img,
  .gallery.interiors img:first-child,
  .gallery.food img:first-child,
  .feature-card img {
    height: 320px;
  }

  .event-modal-card {
    padding: 28px 18px;
  }

  .event-modal-gallery img {
    height: 240px;
  }

  .lightbox,
  .event-modal {
    padding: 18px;
  }

  .modal-nav {
    top: auto;
    bottom: 20px;
    width: 48px;
    height: 48px;
    font-size: 2rem;
  }

  .mood-section {
    background-attachment: scroll;
    padding: 74px 18px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .button {
    width: 100%;
  }
}
