/* custom.css — uzupełnienie Tailwind */

/* Scroll-reveal animacja */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #fef9f0 0%, #fef3e2 50%, #fde8c0 100%);
}

/* Card hover lift */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* Dish image placeholder gradient */
.dish-placeholder {
  background: linear-gradient(135deg, #fef3c7, #fde68a, #fbbf24);
}

/* Stolik (floor plan) */
.stolik-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  padding: 6px 4px;
}
.stolik-btn.available {
  background: #fff;
  border-color: #d97706;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.stolik-btn.available:hover {
  background: #fef3c7;
  transform: translate(-50%,-50%) scale(1.05);
  box-shadow: 0 4px 14px rgba(217,119,6,0.3);
}
.stolik-btn.selected {
  background: #d97706;
  border-color: #b45309;
  color: #fff;
  box-shadow: 0 4px 16px rgba(217,119,6,0.4);
  transform: translate(-50%,-50%) scale(1.08);
}
.stolik-btn.occupied {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
  cursor: not-allowed;
  opacity: 0.7;
}
.stolik-btn.disabled {
  background: #f5f5f4;
  border-color: #d6d3d1;
  color: #a8a29e;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Steps wizard */
.step-indicator {
  transition: all 0.3s ease;
}
.step-indicator.active .step-circle {
  background: #d97706;
  color: #fff;
  box-shadow: 0 0 0 4px #fef3c7;
}
.step-indicator.done .step-circle {
  background: #16a34a;
  color: #fff;
}

/* Flash messages */
.flash-success { background: #f0fdf4; border-color: #86efac; color: #166534; }
.flash-error   { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.flash-info    { background: #eff6ff; border-color: #93c5fd; color: #1e40af; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f5f4; }
::-webkit-scrollbar-thumb { background: #d6d3d1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a8a29e; }

/* Cart badge bounce */
@keyframes badgePop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.badge-pop { animation: badgePop 0.3s ease; }

/* Pulse on CTA */
@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,119,6,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(217,119,6,0); }
}
.pulse-cta { animation: subtlePulse 2.5s infinite; }
