/* ==========================================================================
   radhekrishnaRestaurant - Custom Styles (paired with Tailwind CSS v4)
   ========================================================================== */

:root {
  --brand-maroon: #5c1616;
  --brand-saffron: #d97706;
  --brand-gold: #f59e0b;
  --brand-cream: #fffbf2;
  --brand-dark: #1c1917;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
}

.font-display {
  font-family: 'Playfair Display', 'Noto Sans Devanagari', Georgia, serif;
}

/* Subtle royal Indian lattice background pattern */
.bg-royal-pattern {
  background-color: #fffbf2;
  background-image: radial-gradient(rgba(217, 119, 6, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(92, 22, 22, 0.05) 1px, #fffbf2 1px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

/* Hero gradient overlay */
.hero-overlay {
  background: linear-gradient(
    95deg,
    rgba(28, 15, 12, 0.92) 0%,
    rgba(45, 16, 16, 0.80) 48%,
    rgba(28, 15, 12, 0.45) 100%
  );
}

/* Card hover lift & image zoom */
.dish-card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(92, 22, 22, 0.16);
}

.dish-card img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dish-card:hover img {
  transform: scale(1.06);
}

/* Modal backdrop transition */
.modal-backdrop {
  backdrop-filter: blur(6px);
  animation: fadeIn 0.2s ease-out;
}

.modal-panel {
  animation: slideUp 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Pulse ring for floating WhatsApp button */
@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.whatsapp-pulse {
  animation: pulseRing 2.4s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fef3c7;
}

::-webkit-scrollbar-thumb {
  background: #b45309;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #78350f;
}
