html {
  scroll-behavior: smooth;
}

/* ===== HERO LOGO ===== */
.logo-big {
  display: block;
  width: auto;
  height: 45vh;
  max-height: 500px;
  object-fit: contain;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  transform: scale(0.9);
  animation: logoIntro 1.5s ease forwards;
}

@keyframes logoIntro {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== HERO SLIDER ===== */
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide-img.active {
  opacity: 0.55;
}

.red-overlay {
  position: absolute;
  inset: 0;
  background: rgba(153, 27, 27, 0.35);
}

/* ===== NAVBAR ===== */
#navbar {
  transition: all 0.3s ease-in-out;
}

#navbar.shrink {
  background-color: rgba(153, 27, 27, 0.95);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

#navbar.shrink img {
  height: 70px !important;
}

/* ===== MOBILE MENU ===== */
.mobile-panel {
  position: fixed;
  left: 0;
  width: 100%;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 40;
  background-color: rgb(153 27 27);
}

.mobile-panel.open {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 760px) {
  .desktop-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (min-width: 761px) {
  .desktop-menu {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
  transition: transform 0.3s, color 0.3s;
}

.social-icon:hover {
  color: #facc15;
}

footer .footer-links a {
  color: #facc15;
}

/* ===== MENU KAFELKI ===== */
.menu-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* ===== OBRAZKI MENU ===== */
.menu-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fde047;
  box-shadow: 0 0 10px rgba(253, 224, 71, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(185, 28, 28, 0.4);
}

/* ===== TEKST MENU ===== */
.menu-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #b91c1c;
  margin-bottom: 0.25rem;
}

.menu-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===== SEKCJA O NAS ===== */
#onas {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ===== AKTYWNY LINK W MENU ===== */
nav a.active {
  color: #fde047;
  font-weight: 700;
}

/* ===== POPUPY ===== */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.popup.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.popup-content {
  background: #fff;
  color: #333;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: slideUp 0.4s ease;
}

.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: #b91c1c;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s ease;
}

.close:hover {
  color: #fde047;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== STOPKA ===== */
footer {
  background-color: #b91c1c;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

footer a {
  color: #fde047;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s, transform 0.3s;
}

footer a:hover {
  color: #fff;
  transform: scale(1.05);
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 640px) {
  .logo-big {
    height: 35vh;
    max-height: 280px;
  }

  #navLogo {
    height: 80px;
  }
}

section {
  scroll-margin-top: 96px;
}

/* ===== TEASER NOWEJ KANAPKI ===== */
.new-item {
  position: relative;
  cursor: not-allowed;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.new-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(253, 224, 71, 0.4);
}

.new-item img {
  filter: grayscale(80%) blur(3px);
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.new-item:hover img {
  filter: grayscale(50%) blur(1.5px);
  opacity: 0.8;
}

.new-item p {
  letter-spacing: 1px;
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  background: linear-gradient(90deg, #fde047, #fbbf24);
  border: 2px solid #b91c1c;
  transition: all 0.3s ease-in-out;
}

.cta-btn:hover {
  background: linear-gradient(90deg, #fff176, #facc15);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(253, 224, 71, 0.5);
}

/* Schowaj CTA w wersji mobilnej */
@media (max-width: 760px) {
  .cta-btn {
    display: none;
  }
}

/* ===== OPIS POD GALERIĄ ===== */
#galeria p a {
  text-decoration: none;
}

#galeria p a:hover {
  text-shadow: 0 0 8px rgba(253, 224, 71, 0.7);
}

/* ===== FLOATING CALL BUTTON (MOBILE) ===== */
.call-btn-mobile {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #fde047, #facc15);
  color: #b91c1c;
  font-size: 1.8rem;
  padding: 0.9rem 1rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: all 0.3s ease-in-out;
  animation: pulseCall 1.5s infinite ease-in-out;
}

/* Efekt pulsowania jak sygnał */
@keyframes pulseCall {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.6);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(253, 224, 71, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 224, 71, 0);
  }
}

/* Efekt dotknięcia */
.call-btn-mobile:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #fff176, #fde047);
}

/* Tylko dla desktopa schowaj przycisk */
@media (min-width: 761px) {
  .call-btn-mobile {
    display: none;
  }
}
/* Menu mobilne poniżej 1025 px */
@media (max-width: 1024px) {
  nav.desktop-menu {
    display: none;
  }
  button.mobile-toggle {
    display: block;
  }
}

/* Menu desktopowe powyżej 1024.5 px */
@media (min-width: 1024.5px) {
  nav.desktop-menu {
    display: flex;
  }
  button.mobile-toggle {
    display: none;
  }
}