/* ===========================
   LOS GORDITOS – style.css
   =========================== */

:root {
  --orange: #F5820A;
  --orange-dark: #d06b00;
  --black: #0d0d0d;
  --dark: #111111;
  --dark2: #1a1a1a;
  --white: #ffffff;
  --gray: #888888;
  --light-bg: #f7f4ef;
  --text: #222222;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --nav-h: 110px;
  --topbar-h: 40px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 7px);
}

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 7px);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--orange);
  color: var(--black);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-full { width: 100%; text-align: center; }

/* ---- TOP BAR ---- */
.topbar {
  background: var(--black);
  color: #f0f0f0;
  font-size: clamp(0.75rem, 0.45rem + 1.2vw, 1.2rem);
  min-height: var(--topbar-h);
  padding: 6px 0;
  display: flex;
  align-items: center;
}
.topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}
.topbar-inner span { display: flex; align-items: center; gap: 6px; }
.topbar-social { margin-left: auto; display: flex; gap: 12px; }
.topbar-social a { color: var(--gray); transition: color 0.2s; }
.topbar-social a:hover { color: var(--orange); }

.topbar-lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 4px 8px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange) !important;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.topbar-lang-switch:hover {
  background: var(--orange);
  color: var(--black) !important;
}

.topbar-lang-switch .fi {
  margin-left: 6px;
  font-size: 0.8rem;
  line-height: 1;
}

.topbar-hide-location {
  white-space: nowrap;
}

.topbar-hide-location a {
  white-space: nowrap;
}

@media (max-width: 1300px) {
  .topbar-inner .topbar-hide-location {
    display: none;
  }
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.nav-logo img {
  height: 86px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}
.logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--orange);
  color: var(--black);
  width: 60px;
  height: 86px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  justify-content: center;
  gap: 0;
  line-height: 1;
}
.logo-gorditos { font-size: 0.7rem; letter-spacing: 0.05em; }

.nav-breakfast-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.nav-breakfast {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 4px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.nav-breakfast:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

.nav-breakfast-badge {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #c91111 !important;
  text-transform: uppercase;
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.navbar .nav-breakfast-wrap .nav-breakfast-badge {
  color: #c91111 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links li a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links li a:hover { color: var(--orange); }
.nav-links li a.btn-menu {
  background: var(--orange);
  color: var(--black);
  padding: 10px 18px;
  margin-left: 8px;
}
.nav-links li a.btn-menu:hover { background: var(--orange-dark); }

.mobile-quick-menu {
  display: none;
  background: var(--orange);
  color: var(--black);
  border: 2px solid var(--orange);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.mobile-quick-menu:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  background: var(--black);
  color: var(--white);
  min-height: calc((100vh - var(--nav-h) - var(--topbar-h)) / 2);
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px 60px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease both;
}
.hero-desc {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
  animation: fadeUp 0.7s 0.15s ease both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-img { animation: fadeIn 1s 0.2s ease both; }
.hero-img-frame {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--dark2);
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-frame.img-placeholder::after {
  content: '🌮';
  font-size: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-stripe {
  height: 8px;
  background: var(--orange);
}

/* ---- ABOUT ---- */
.about {
  background: var(--white);
  padding: 100px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img.img-placeholder::after {
  content: '🍱';
  font-size: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 300px;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.about-text p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}
.about-text .btn { margin-top: 8px; }

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 12px;
}
.section-header p { font-size: 1rem; color: var(--gray); }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: #aaa; }

.menu-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 6px auto 0;
  padding: 8px 14px;
  border: 1px solid #2f2f2f;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d8d8d8;
  font-size: 0.94rem;
  line-height: 1.3;
}

.menu-subtitle a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.menu-subtitle a:hover {
  color: #ffad4f;
}

/* ---- OFFER ---- */
.offer {
  background: var(--light-bg);
  padding: 100px 0;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.offer-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 4px solid transparent;
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-top-color: var(--orange);
}
.offer-icon { font-size: 2.5rem; margin-bottom: 16px; }
.offer-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  color: var(--black);
}
.offer-card p { font-size: 0.9rem; color: #666; line-height: 1.6; }
.offer-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}

/* ---- MENU SECTION ---- */
.menu-section {
  background: var(--black);
  padding: 100px 0;
  color: var(--white);
}
.menu-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}
.tab {
  background: transparent;
  border: 2px solid #333;
  color: #aaa;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tab:hover { border-color: var(--orange); color: var(--orange); }
.tab.active { background: var(--orange); border-color: var(--orange); color: var(--black); }

.menu-content { display: none; }
.menu-content.active { display: block; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  width: min(100%, 960px);
  margin: 0 auto;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--dark2);
  transition: background 0.2s;
  gap: 16px;
}
.menu-item:hover { background: #222; }
.menu-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}
.menu-item p { font-size: 0.82rem; color: var(--gray); }
.menu-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--orange);
  white-space: nowrap;
}

/* ---- DELIVERY ---- */
.delivery {
  background: var(--light-bg);
  padding: 100px 0;
}
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.delivery-text h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 20px;
}
.delivery-text p { font-size: 0.97rem; color: #555; line-height: 1.7; margin-bottom: 32px; }
.delivery-apps { display: flex; gap: 12px; flex-wrap: wrap; }
.delivery-app {
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.delivery-app:hover { background: var(--orange); }
/* ---- DELIVERY INFO ---- */
.delivery-info {
  display: flex;
  justify-content: center; /* wyśrodkowanie poziome wszystkich kafelków */
  align-items: flex-start; /* wyrównanie kafelków do góry */
  gap: 16px;               /* odstęp między kafelkami */
  flex-wrap: nowrap;        /* na szerokich ekranach nie zawijamy */
  width: 100%;             /* zajmuje całą szerokość container */
  max-width: 1160px;       /* dopasowanie do głównego container */
  margin: 0 auto;          /* centrowanie container w body */
}

/* Kafelki */
.info-card {
  display: flex;
  flex-direction: column;  /* logo nad nazwą */
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 28px 16px;
  border-bottom: 4px solid var(--orange);
  flex: 0 1 240px;         /* szersze kafelki dla większych logotypow */
}
.delivery-info .info-card img {
  width: auto;
  height: clamp(88px, 11vw, 130px);
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0;
}
.info-icon { font-size: 2rem; margin-bottom: 8px; }
.delivery-info .info-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 0;
  margin-top: 8px;
}
.info-card p { font-size: 0.8rem; color: var(--gray); }

/* ---- CATERING ---- */
.catering {
  background: var(--black);
  padding: 100px 0;
  color: var(--white);
}
.catering-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  justify-content: center;
  gap: 28px;
  margin: 0 auto 48px;
}
.catering-card {
  background: var(--dark2);
  border-radius: 12px;
  padding: 36px 28px;
  border-left: 4px solid var(--orange);
  transition: transform 0.25s;
}
.catering-card:hover { transform: translateY(-4px); }
.catering-card h3 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--white);
}
.catering-card p { font-size: 0.9rem; color: #aaa; line-height: 1.65; }
.catering-card.catering-card-center {
  text-align: center;
}
.catering-card.catering-card-center p {
  text-align: left;
}
.catering-cta { text-align: center; }

/* ---- GALLERY ---- */
.gallery {
  background: var(--white);
  padding: 100px 0;
}
/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolumny */
  grid-template-rows: repeat(2, auto); /* 2 rzędy */
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  background: #e5e0d8;
  cursor: pointer;
  aspect-ratio: 9 / 16; /* podłużny format */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);

}
.gallery-item.g-tall { grid-row: 1 / 3; }
.gallery-item.g-wide { grid-column: 2 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.img-ph::after {
  content: '📸';
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #aaa;
}

/* ---- RESERVATION ---- */
.reservation {
  background: var(--dark);
  padding: 100px 0;
  color: var(--white);
}
.res-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--dark2);
  padding: 48px;
  border-radius: 16px;
  border-top: 4px solid var(--orange);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-group:last-child { margin-bottom: 0; }
.form-group + .form-group { margin-bottom: 0; }
.res-form > .form-group { margin-bottom: 20px; }
label { font-size: 0.82rem; font-weight: 700; color: #ccc; letter-spacing: 0.05em; text-transform: uppercase; }
input, select, textarea {
  background: #2a2a2a;
  border: 1.5px solid #333;
  color: var(--white);
  padding: 12px 16px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
}
select option { background: #1a1a1a; }
textarea { resize: vertical; }
.res-form .btn { margin-top: 8px; }
.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px;
  background: rgba(245,130,10,0.15);
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  text-align: center;
  color: var(--orange);
  font-weight: 600;
}

/* ---- CONTACT ---- */
.contact {
  background: var(--light-bg);
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: stretch;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 36px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 4px; }
.contact-item p { font-size: 0.95rem; color: #444; line-height: 1.6; }
.contact-item a { color: #444; }
.contact-item a:hover { color: var(--orange); }
.contact-social { display: flex; gap: 12px; margin-top: 8px; }
.social-btn {
  background: var(--black);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--orange); }
.contact-map {
  border: 4px solid #FF8C00; /* pomarańczowa obramówka */
  border-radius: 8px; /* opcjonalnie, zaokrąglone rogi */  
  overflow: hidden;
  min-height: 400px;
}
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 400px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 0;
}
.footer p,
.footer a,
.footer strong,
.footer h4 {
  color: var(--white);
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
  justify-items: center;
  text-align: center;
}
.footer-logo .logo-fallback {
  background: var(--orange);
  color: var(--black);
  width: 56px;
  height: 48px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.footer-logo p { font-size: 0.82rem; color: var(--white); }
.footer-logo p.footer-muted { color: var(--gray); }
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-logo img {
  height: 64px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-links a { font-size: 0.85rem; color: var(--gray); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-copy {
  text-align: center;
  margin-top: 20px;
}
.footer-copy p { font-size: 0.78rem; color: var(--white); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 40px; }
  .hero-text { order: -1; }
  .hero-img { order: 0; max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-btns { justify-content: center; }
  .about-text .btn {
    display: block;
    width: fit-content;
    margin: 8px auto 0;
  }
  .about-grid, .delivery-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .offer-grid, .catering-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-info { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .contact-map { min-height: 300px; }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .menu-grid {
    width: calc(100% - 56px);
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .topbar-inner .topbar-hide-mobile {
    display: none;
  }

  .mobile-quick-menu {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
  }

  .nav-breakfast {
    font-size: 0.78rem;
    padding: 8px 10px;
    letter-spacing: 0.04em;
  }

  .nav-breakfast-badge {
    font-size: 0.86rem;
    letter-spacing: 0.1em;
  }

  .hamburger { display: flex; }
  .hamburger { margin-left: 10px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(var(--nav-h) + 12px);
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px 32px;
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
    gap: 4px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .nav-links li a { font-size: 1rem; }
  .nav-links li a.btn-menu { display: none; }
  .nav-links li a.btn-menu { border-bottom: none; border-radius: 4px; margin-top: 8px; text-align: center; }
  .offer-grid { grid-template-columns: 1fr; }
  .catering-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item.g-tall { grid-row: auto; }
  .gallery-item.g-wide { grid-column: auto; }
  .res-form { padding: 28px 20px; }
  .delivery-info { grid-template-columns: 1fr; }
}

.nav-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 1240px) and (min-width: 1041px) {
  .nav-inner {
    gap: 18px;
    padding: 0 18px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links li a {
    font-size: 1.2rem;
    padding: 8px 8px;
  }

  .nav-links li a.btn-menu {
    padding: 9px 14px;
    margin-left: 4px;
  }

  .nav-breakfast {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

@media (max-width: 1040px) {
  :root {
    --nav-h: 86px;
  }

  .nav-logo img {
    height: 64px;
  }

  .logo-fallback {
    height: 64px;
  }

  .mobile-quick-menu {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    font-size: 1rem;
    padding: 11px 16px;
  }

  .nav-breakfast {
    font-size: 0.78rem;
    padding: 8px 10px;
    letter-spacing: 0.04em;
  }

  .nav-breakfast-badge {
    font-size: 0.86rem;
    letter-spacing: 0.1em;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: calc(var(--nav-h) + 12px);
    left: 0;
    width: 100%;
    padding: 10px 0 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    align-items: center; /* <-- wyśrodkowanie linków */
    text-align: center;  /* <-- opcjonalnie dla tekstu linków */
  }

  .menu-grid {
    width: calc(100% - 24px);
    margin: 0 auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: auto; /* nie zajmują całej szerokości */
    margin-bottom: 6px; /* odstęp między linkami */
  }

  .nav-links li:last-child {
    margin-bottom: 0;
  }

  .nav-links li a {
    display: inline-block;
    width: auto; /* dopasowuje się do tekstu */
    padding: 8px 0;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    margin-left: 10px;
  }

  .nav-links li a.btn-menu {
    display: none;
  }

    .delivery-info {
    flex-direction: column;  /* jeden pod drugim */
    align-items: center;     /* wyśrodkowanie całego wiersza */
  }

  .info-card {
    width: 80%;             /* zmniejszamy szerokość kafelka na mobile */
    max-width: none;
    margin-bottom: 16px;    /* odstęp między kafelkami */
  }
}
/* ---- FOOTER HOURS & CONTACT ---- */
.footer-hours,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-hours h4,
.footer-contact h4 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--white);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--orange);
}