/* =========================
   PODSTAWY
========================= */

:root {
  --cream: #faf7f0;
  --sand: #eee3d1;
  --navy: #173448;
  --navy-dark: #102838;
  --teal-light: #e0eeea;
  --text: #34434a;
  --muted: #677176;
  --line: rgba(23, 52, 72, 0.18);

  --serif: 'Playfair Display', Georgia, serif;
  --script: 'Caveat', cursive;
  --sans: 'Montserrat', Arial, sans-serif;

  --page-padding: clamp(22px, 5vw, 88px);
  --section-space: clamp(60px, 7vw, 112px);
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1,
h2 {
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.08;
}

h2 em {
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

address {
  font-style: normal;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 5px;
}

.container {
  width: 100%;
  max-width: 1510px;
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.section {
  padding-block: var(--section-space);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.handwritten {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(25px, 2.7vw, 36px);
  font-style: italic;
  line-height: 1.3;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  transform: translateY(-180%);
  background: var(--navy);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================
   PRZYCISKI
========================= */

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button-primary {
  background: var(--navy);
  color: white;
}

.button-primary:hover {
  background: var(--navy-dark);
  box-shadow: 0 5px 14px rgba(23, 52, 72, 0.12);
}

.button-outline {
  background: transparent;
  color: var(--navy);
}

.button-outline:hover {
  background: var(--navy);
  color: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.5;
}

.text-link:hover {
  color: #36756d;
}

/* =========================
   NAWIGACJA
========================= */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.header.scrolled,
.header.menu-open {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 240, 0.98);
  box-shadow: 0 3px 20px rgba(23, 52, 72, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  height: 100%;
}

.logo {
  display: inline-flex;
  flex-shrink: 0;
  flex-direction: column;
  width: fit-content;
  color: var(--navy);
  line-height: 1;
}

.logo-name {
  font-family: var(--serif);
  font-size: 33px;
  letter-spacing: -1.8px;
}

.logo-sub {
  padding-top: 4px;
  padding-left: 39px;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 30px);
}

.navigation a {
  position: relative;
  padding-block: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}

.navigation a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--navy);
  content: "";
  transition: transform 180ms ease;
}

.navigation a:hover::after,
.navigation a[aria-current="location"]::after {
  transform: scaleX(1);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* =========================
   HERO
========================= */

.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: 640px;
  padding-top: var(--header-height);
}

.hero-copy {
  align-self: center;
  min-width: 0;
  padding: 65px 40px 65px
    max(var(--page-padding), calc((100vw - 1510px) / 2 + var(--page-padding)));
}

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(54px, 5.8vw, 88px);
  line-height: 1.01;
}

.hero-description {
  max-width: 430px;
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-address {
  display: block;
  width: fit-content;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.hero-copy > .handwritten {
  margin-top: 24px;
}

.hero-photo {
  position: relative;
  align-self: stretch;
  min-width: 0;
  background: var(--sand);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: 780px;
  object-fit: cover;
  object-position: center;
}

.photo-caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: fit-content;
  padding: 8px 13px;
  background: rgba(250, 247, 240, 0.93);
  color: var(--navy);
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* =========================
   LUNCH
========================= */

.lunch {
  background: var(--sand);
}

.lunch-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding-block: 28px;
}

.lunch h2 {
  font-size: clamp(25px, 2.8vw, 38px);
  letter-spacing: -0.035em;
}

.lunch p {
  font-size: 13px;
  line-height: 1.6;
}

.lunch p span {
  display: block;
  margin-top: 3px;
  font-weight: 600;
}

.lunch strong {
  padding-left: 30px;
  border-left: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.lunch strong span {
  font-size: 27px;
}

/* =========================
   RESTAURACJA I ZDJĘCIA
========================= */

.restaurant-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr 1fr;
  align-items: center;
  gap: 27px;
}

.section-copy {
  min-width: 0;
}

.section-copy h2 {
  margin-bottom: 26px;
}

.section-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin-bottom: 21px;
  font-size: 17px;
  line-height: 1.8;
}

.section-copy .button,
.section-copy .text-link {
  margin-top: 9px;
}

.food-card {
  align-self: start;
  min-width: 0;
}

.food-image {
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--sand);
}

.food-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.food-card figcaption {
  margin-top: 16px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
}

/* =========================
   MENU
========================= */

.menu-section {
  padding-top: 20px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  margin-bottom: 13px;
}

.menu-currency {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 7vw, 105px);
}

.menu-column {
  min-width: 0;
}

.menu-column h3 {
  margin-bottom: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--navy);
  font-size: 30px;
  line-height: 1.3;
}

.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.menu-list li > div {
  min-width: 0;
}

.menu-list h4 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
}

.menu-list p {
  max-width: 390px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.price {
  flex-shrink: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.menu-column .menu-second-heading {
  margin-top: 38px;
}

.menu-note {
  margin-top: 35px;
  padding: 26px;
  background: var(--sand);
}

.menu-note p {
  margin-top: 12px;
  font-size: 14px;
}

/* =========================
   CERAMIKA I WYDARZENIA
========================= */

.ceramics {
  padding-block: clamp(40px, 5vw, 75px);
  background: var(--teal-light);
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(35px, 6vw, 90px);
}

.feature-photo {
  min-width: 0;
  aspect-ratio: 1.12;
  background: var(--sand);
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ceramics-copy {
  padding-block: 15px;
}

.events .feature-photo {
  aspect-ratio: 1.25;
}

/* =========================
   KONTAKT
========================= */

.contact {
  padding-top: 65px;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}

.contact h2 {
  margin-bottom: 30px;
}

.contact-phone {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.2;
}

.contact address {
  margin-bottom: 28px;
  font-size: 17px;
}

.contact-details {
  padding: clamp(25px, 3vw, 45px);
  background: var(--sand);
}

.contact-details > p {
  margin-top: 20px;
  font-size: 16px;
}

.social-links {
  margin-top: 28px;
}

.social-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 23px;
}

.social-links small {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 12px;
  overflow-wrap: anywhere;
}

/* =========================
   STOPKA
========================= */

.footer {
  padding-block: 60px 25px;
  background: var(--navy);
  color: var(--cream);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 45px;
}

.footer .logo {
  color: var(--cream);
}

.footer-brand > p {
  max-width: 260px;
  margin-top: 25px;
  color: #d2dcdf;
  font-size: 14px;
  line-height: 1.8;
}

.footer-column {
  min-width: 0;
}

.footer-column h2 {
  margin-bottom: 20px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.footer-column a,
.footer-column address {
  display: block;
  width: fit-content;
  margin-bottom: 11px;
  color: #d2dcdf;
  font-size: 13px;
  line-height: 1.7;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 25px;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 247, 240, 0.25);
  color: #d2dcdf;
  font-size: 12px;
}

.footer a:focus-visible {
  outline-color: white;
}

/* =========================
   TABLETY / MAŁE LAPTOP Y
========================= */

@media (max-width: 1100px) {
  .nav-contact {
    display: none;
  }

  .hero {
    grid-template-columns: 49% 51%;
  }

  .hero-copy {
    padding: 45px 30px 45px var(--page-padding);
  }

  .hero h1 {
    font-size: clamp(49px, 6.2vw, 68px);
  }

  .hero-description {
    font-size: 16px;
  }

  .restaurant-grid {
    grid-template-columns: 1fr 1fr;
  }

  .restaurant-grid > .section-copy {
    grid-column: 1 / -1;
    max-width: 620px;
  }

  .restaurant-grid > .section-copy h2 br {
    display: none;
  }

  .restaurant-grid .section-copy > p:not(.eyebrow) {
    max-width: 590px;
  }

  .lunch-inner {
    grid-template-columns: 1fr auto;
    gap: 12px 25px;
  }

  .lunch-inner h2 {
    grid-column: 1;
  }

  .lunch-inner p {
    grid-column: 1;
  }

  .lunch-inner strong {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   TELEFONY / TABLETY PIONOWO
========================= */

@media (max-width: 768px) {
  :root {
    --header-height: 76px;
    --section-space: 62px;
  }

  .header {
    background: rgba(250, 247, 240, 0.98);
  }

  .logo-name {
    font-size: 29px;
  }

  .logo-sub {
    padding-left: 33px;
    font-size: 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .navigation {
    display: none;
    position: absolute;
    inset: var(--header-height) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    max-height: calc(100svh - var(--header-height));
    padding: 15px var(--page-padding) 25px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 12px 20px rgba(23, 52, 72, 0.05);
  }

  .navigation.is-open {
    display: flex;
  }

  .navigation a {
    padding: 12px 0;
    font-size: 18px;
  }

  .navigation a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 45px var(--page-padding) 40px;
  }

  .hero h1 {
    font-size: clamp(49px, 10vw, 76px);
  }

  .hero-description {
    max-width: 470px;
    font-size: 17px;
  }

  .hero-photo {
    aspect-ratio: 1.35;
  }

  .hero-photo img {
    position: absolute;
    inset: 0;
    max-height: none;
  }

  .lunch-inner {
    padding-block: 24px;
  }

  .lunch h2 {
    font-size: 27px;
  }

  .lunch strong {
    padding-left: 20px;
    font-size: 39px;
  }

  .lunch strong span {
    font-size: 22px;
  }

  .food-image {
    aspect-ratio: 1;
  }

  .food-card figcaption {
    font-size: 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }

  .menu-section {
    padding-top: 10px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .menu-column h3 {
    font-size: 28px;
  }

  .menu-list h4 {
    font-size: 20px;
  }

  .split-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-layout {
    gap: 35px;
  }

  .ceramics .feature-photo {
    aspect-ratio: 1.3;
  }

  .ceramics-copy {
    padding-block: 0;
  }

  .section-copy > p:not(.eyebrow) {
    max-width: none;
    font-size: 16px;
  }

  .events .feature-photo {
    aspect-ratio: 1.3;
  }

  .contact {
    padding-top: 50px;
  }

  .contact-grid {
    gap: 35px;
  }

  .contact-details {
    padding: 28px;
  }

  .footer {
    padding-top: 45px;
  }

  .footer-top {
    gap: 32px 25px;
  }
}

@media (max-width: 480px) {
  .restaurant-grid {
    gap: 30px 16px;
  }

  .restaurant-grid > .food-card {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: clamp(45px, 11vw, 56px);
  }

  .hero .button-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .eyebrow {
    letter-spacing: 2px;
  }

  .lunch-inner {
    gap: 12px 16px;
  }

  .lunch h2 {
    font-size: 24px;
  }

  .lunch p {
    font-size: 12px;
  }

  .lunch strong {
    padding-left: 14px;
    font-size: 35px;
  }

  .menu-list li {
    gap: 14px;
  }

  .contact .button-row {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 359px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* Animacje są uruchamiane przez app.js.
   Brak JS nie ukrywa żadnej treści. */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
/* =========================
   OPINIE & MAPA
========================= */

.reviews {
  background-color: var(--teal-light);
}

.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: var(--sans);
}

.reviewer-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
}

.review-stars {
  color: #FABB05;
  font-size: 18px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================
   NOWY WYGLĄD HERO & PREGO CAFFE VIBE
========================= */

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(860px, calc(100svh - 54px));
  min-height: 620px;
  padding: 0;
  display: block;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.hero-bg picture, .hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 25%, rgba(250,247,240,0.85) 45%, transparent 65%);
}

.hero-content {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-text-block {
  width: 55%;
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero-heading {
  font-size: clamp(42px, min(5.5vw, 9svh), 78px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--navy);
  max-width: 500px;
  margin-bottom: 28px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
  border-left: 2px solid var(--line);
  padding-left: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-dark);
  font: 16px/1.5 var(--sans);
  font-weight: 500;
}

.hero-separator {
  width: 180px;
  height: 1px;
  background: var(--line);
  margin-bottom: 20px;
}

.hero-script-wrapper {
  display: inline-block;
  padding: 0 0 4px 8px;
  transform: rotate(-4deg);
}

.hero-script {
  font-family: var(--script);
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--navy);
}

/* Pasek (Divider) */
.divider-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  padding: 18px var(--page-padding);
  background: var(--navy);
  color: var(--cream);
  font: 15px/1.4 var(--sans);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.divider-bar::before, .divider-bar::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-inline: 18px;
}

.dot {
  font-size: 10px;
  opacity: 0.7;
}

/* Updates for button row */
.hero-buttons {
  margin-bottom: 30px;
  display: flex;
  gap: 16px;
}

/* Mobile Adjustments for Hero */
@media (max-width: 768px) {
  .hero-text-block {
    width: 100%;
    padding: 20px;
    background: rgba(250,247,240,0.85); /* fallback if gradient doesn't cover */
    border-radius: 12px;
  }
  .hero-fade {
    background: linear-gradient(0deg, var(--cream) 0%, rgba(250,247,240,0.9) 50%, transparent 100%);
  }
  .hero-content {
    align-items: flex-end;
    padding-bottom: 40px;
  }
}

/* Override old hero-copy paddings explicitly */
.hero-copy {
  padding: 0 !important;
  align-self: auto !important;
}
@media (max-width: 768px) {
  .hero-copy {
    padding: 30px !important;
  }
  .hero {
    height: auto !important;
    min-height: 80svh !important;
  }
}

/* =========================
   MENU & INNE ULEPSZENIA
========================= */

/* Typography */
h1, h2, h3, h4, .handwritten {
  font-family: var(--serif) !important;
  color: var(--navy-dark) !important;
}

body {
  font-family: var(--sans) !important;
  color: #382725 !important;
  background-color: #fdfbf8 !important;
}

/* Sections */
.section {
  padding-block: 80px !important;
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 64px) !important;
}

/* Menu Overhaul */
.menu-section {
  background-color: var(--cream) !important;
  border-top: 1px solid rgba(23,52,72,0.1);
}

.menu-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px !important;
  border-bottom: 1px dotted rgba(23,52,72,0.2) !important;
  padding-bottom: 15px !important;
}

.menu-list li div {
  flex: 1;
  padding-right: 20px;
}

.menu-list h4 {
  font-size: 20px !important;
  margin-bottom: 4px !important;
  font-weight: 600 !important;
}

.menu-list p {
  font-size: 14px !important;
  color: #6a5854 !important;
  font-family: var(--sans);
  line-height: 1.5;
}

.menu-list .price {
  font-size: 20px !important;
  font-weight: bold;
  font-family: var(--serif);
  color: var(--navy-dark);
  margin-top: 2px;
}

/* Review Section updates */
.reviews {
  background-color: #f8f2e7 !important; /* warm pinkish cream */
  border-top: 1px solid rgba(23,52,72,0.1);
}

.review-card {
  border: 1px solid rgba(23,52,72,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
}

.reviewer-avatar {
  background: var(--navy-dark) !important;
  font-family: var(--serif) !important;
}

.review-stars {
  color: #fbbc04 !important; /* Google yellow */
}

/* Footer updates */
.footer {
  background-color: var(--navy-dark) !important;
  color: var(--cream) !important;
}
.footer h2 {
  color: var(--cream) !important;
}
.footer a {
  color: rgba(255,255,255,0.7) !important;
}
.footer a:hover {
  color: white !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* Button Refinement */
.button-primary, .btn-dark {
  background: var(--navy-dark) !important;
  color: var(--cream) !important;
  border: 1px solid var(--navy-dark) !important;
  border-radius: 4px;
  font-family: var(--serif) !important;
  font-size: 16px !important;
  padding: 14px 28px !important;
  transition: all 0.3s ease !important;
}

.button-primary:hover, .btn-dark:hover {
  background: transparent !important;
  color: var(--navy-dark) !important;
}

.button-outline, .btn-outline {
  border: 1px solid var(--navy-dark) !important;
  color: var(--navy-dark) !important;
  border-radius: 4px;
  font-family: var(--serif) !important;
  font-size: 16px !important;
  padding: 14px 28px !important;
  transition: all 0.3s ease !important;
}

.button-outline:hover, .btn-outline:hover {
  background: var(--navy-dark) !important;
  color: var(--cream) !important;
}

/* Image styling */
.feature-photo img, .food-image img {
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* =========================
   POPRAWKA GAPU W HERO & NOWE OPINIE SLIDER
========================= */

/* Fix old .hero-photo restrictions */
.hero-photo {
  align-self: auto !important;
  background: transparent !important;
  aspect-ratio: auto !important;
}
.hero-photo img, .hero-bg img {
  max-height: none !important;
  position: static !important;
  height: 100% !important;
}

/* Reviews slider (Prego Caffe style) */
.reviews {
  background: #fdfbf8 !important;
  border-top: 1px solid rgba(23, 52, 72, 0.1);
  padding-block: 100px !important;
  overflow: hidden;
}

.reviews-slider-container {
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.reviews-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  padding-inline: var(--page-padding);
  -ms-overflow-style: none; 
  scrollbar-width: none; 
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: #fff;
  padding: 40px !important;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(23, 52, 72, 0.05) !important;
  position: relative;
  border: 1px solid rgba(23, 52, 72, 0.05);
  min-width: 340px;
  max-width: 360px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer-avatar {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  font-size: 22px !important;
  font-weight: bold;
}

.reviewer-name {
  font-family: var(--serif);
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--navy-dark);
}

.review-text {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #4a3834 !important;
  font-style: italic;
  flex-grow: 1;
}

.review-stars {
  font-size: 16px !important;
  letter-spacing: 2px !important;
}

/* =========================
   KOMPLEKSOWA RESPONSYWNOŚĆ HERO (MOBILE)
========================= */

@media (max-width: 820px) {
  .hero {
    height: auto !important;
    min-height: 100svh !important;
    display: flex !important;
    flex-direction: column;
  }
  
  .hero-content {
    align-items: flex-end !important;
    padding: 120px 20px 40px 20px !important; 
    flex-grow: 1;
  }

  .hero-text-block, .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 30px 25px !important;
    background: rgba(250, 247, 240, 0.92) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center !important;
  }

  .hero-heading {
    font-size: clamp(38px, 9vw, 52px) !important;
    margin-bottom: 15px !important;
  }
  
  .hero-sub {
    font-size: 15px !important;
    margin: 0 auto 25px auto !important;
  }

  .hero-features {
    justify-content: center !important;
    border-left: none !important;
    border-top: 1px solid rgba(23, 52, 72, 0.15) !important;
    padding-left: 0 !important;
    padding-top: 25px !important;
    margin-bottom: 25px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .feature-item {
    font-size: 15px !important;
  }

  .hero-buttons {
    justify-content: center !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  
  .hero-buttons .button, .hero-buttons .btn {
    width: 100% !important;
    text-align: center !important;
    padding: 16px 20px !important;
  }

  .hero-separator {
    margin: 25px auto 15px auto !important;
  }
  
  .hero-script-wrapper {
    margin-top: 5px !important;
  }
  
  .hero-bg img {
    object-position: 60% 30% !important; 
  }

  .divider-bar {
    flex-wrap: wrap !important;
    padding: 15px !important;
    font-size: 13px !important;
    gap: 12px !important;
  }
  
  .divider-bar::before, .divider-bar::after {
    display: none !important;
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .hero-content {
    padding: 100px 15px 30px 15px !important;
  }
  .hero-text-block, .hero-copy {
    padding: 25px 20px !important;
  }
  .hero-heading {
    font-size: 34px !important;
  }
}

/* =========================
   POPRAWKI: HERO FADE, OPINIE, KONTAKT
========================= */

/* Smoother Hero Fade */
.hero-fade {
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 40%, rgba(250,247,240,0.85) 55%, transparent 75%, transparent 100%) !important;
}
@media (max-width: 820px) {
  .hero-fade {
    background: linear-gradient(0deg, var(--cream) 0%, var(--cream) 20%, rgba(250,247,240,0.8) 45%, transparent 70%) !important;
  }
}

/* Navbar visibility */
.nav-links a {
  color: var(--navy-dark) !important;
  font-weight: 500;
}
.logo-name {
  color: var(--navy-dark) !important;
}

/* Reviews Section details */
.reviews-section {
  background: #fdfbf8 !important;
  border-top: 1px solid rgba(23, 52, 72, 0.05);
  padding-block: 80px 100px !important;
}
.reviews-header {
  margin-bottom: 50px;
}
.reviews-heading {
  font-size: clamp(34px, 5vw, 54px) !important;
  color: var(--navy-dark) !important;
  margin-bottom: 15px;
}
.reviews-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  color: #57433d;
  font-family: var(--sans);
}
.review-nav {
  background: #fff;
  border: 1px solid rgba(23, 52, 72, 0.1);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy-dark);
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s;
  flex-shrink: 0;
  z-index: 2;
}
.review-nav:hover {
  background: var(--navy-dark);
  color: #fff;
  border-color: var(--navy-dark);
}
.review-nav:active {
  transform: scale(0.95);
}
.reviews-action {
  text-align: center;
  margin-top: 50px;
}
.review-icon {
  position: absolute;
  top: 35px;
  right: 35px;
  opacity: 0.9;
}
.author-avatar {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px !important;
  font-weight: bold;
  font-family: var(--sans);
}
.author-name {
  font-family: var(--serif);
  font-size: 18px !important;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 2px;
}
.review-card {
  padding: 35px !important;
  box-shadow: 0 10px 30px rgba(23, 52, 72, 0.04) !important;
}

/* Contact / CTA Section */
.cta-section {
  background: var(--navy-dark) !important;
  color: var(--cream) !important;
  padding-block: 100px !important;
}
.cta-inner {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-heading {
  color: var(--cream) !important;
  font-size: clamp(40px, 5vw, 64px) !important;
  margin-bottom: 25px !important;
  line-height: 1.1 !important;
}
.cta-address {
  font-size: 20px;
  font-family: var(--serif);
  margin-bottom: 20px;
  color: var(--sand);
  line-height: 1.5;
}
.cta-desc {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 450px;
}
.cta-btn-outline {
  border-color: var(--sand) !important;
  color: var(--sand) !important;
  background: transparent !important;
}
.cta-btn-outline:hover {
  background: var(--sand) !important;
  color: var(--navy-dark) !important;
}
.cta-socials {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}
.cta-socials a {
  color: var(--sand) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cta-socials a:hover {
  color: white !important;
}
@media (max-width: 820px) {
  .cta-inner {
    grid-template-columns: 1fr;
  }
}

/* Update header contact link */
.nav-contact {
  color: var(--navy-dark) !important;
  border: 1px solid var(--navy-dark) !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  transition: all 0.3s;
}
.nav-contact:hover {
  background: var(--navy-dark) !important;
  color: var(--cream) !important;
}

@media (max-width: 768px) {
  .review-nav {
    display: none !important;
  }
}

/* Fix animation flickering */
html.js-ready [data-reveal] {
  opacity: 0;
}
html.js-ready .hero-copy > * {
  opacity: 0;
}
html.js-ready .hero-photo {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  html.js-ready [data-reveal],
  html.js-ready .hero-copy > *,
  html.js-ready .hero-photo {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Equal height for review cards */
.reviews-slider {
  align-items: stretch !important;
}
.review-card {
  height: auto !important;
  align-self: stretch !important;
}

/* Stars color inside cards */
.author-stars {
  color: var(--navy-dark) !important;
  font-size: 15px !important;
  letter-spacing: 1px !important;
}

/* Author layout adjustment */
.review-author {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-bottom: 5px !important;
}

/* Fix for slider jumping: disable CSS snap when using JS smooth scroll */
.reviews-slider {
  scroll-snap-type: none !important;
}
.review-card {
  scroll-snap-align: none !important;
}

/* Fix reviews slider alignment */
.reviews-slider {
  padding-inline: 0 !important;
  justify-content: flex-start !important;
}

.reviews-slider-container {
  gap: 20px !important;
  justify-content: center !important;
}
.reviews-slider {
  flex-grow: 1;
}

/* Perfect centering for desktop */
.reviews-slider {
  max-width: 1140px !important;
  margin: 0 auto !important;
}

.review-card {
  width: 360px !important;
  flex: 0 0 360px !important;
}
@media (max-width: 768px) {
  .review-card {
    width: 320px !important;
    flex: 0 0 320px !important;
  }
}

/* Separating footer from CTA section */
.footer {
  background-color: #0d2130 !important; /* Slightly darker than navy-dark (#173448) */
  border-top: 1px solid rgba(250, 247, 240, 0.1) !important;
  padding-top: 60px !important;
}
.footer {
  background-color: #09151e !important;
}
