@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Yatra+One&family=Noto+Sans+Devanagari:wght@400;500;600;700;800&display=swap');

:root {
  --gold-primary: #D4AF37;
  --gold-light: #F5D061;
  --gold-dark: #A37F1E;
  --maroon-deep: #4A0E17;
  --maroon-rich: #6B1724;
  --color-text-primary: #111827;
  --color-text-secondary: #4B5563;
  --color-text-brand: #92400E;
  --color-text-brand-light: #FDE68A;
  --color-text-success: #15803D;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FAF9F6;
  color: #1F2937;
  overflow-x: hidden;
}

.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-marathi-festive {
  font-family: 'Yatra One', 'Noto Sans Devanagari', cursive, sans-serif;
}

.font-devanagari {
  font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;
}

/* Button Design System */
.btn-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.btn-base:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #E6CA65 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  background-color: #1ebd5b;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  color: #4B5563;
}
.btn-outline:hover {
  border-color: #D4AF37;
  color: #92400E;
  background-color: #FFFDF5;
}

/* Gold Gradient Effects */
.gold-gradient-text {
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 40%, #F5D061 70%, #996515 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #E6CA65 100%);
}

.gold-shimmer-bg {
  background: linear-gradient(90deg, #D4AF37 0%, #FDF0A6 50%, #D4AF37 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

/* Luxury Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.glass-dark {
  background: rgba(31, 20, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Royal Navigation Tabs */
.active-tab {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.inactive-tab {
  background-color: #FFFFFF;
  color: #4B5563;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.inactive-tab:hover {
  background-color: #FFFDF5;
  color: #B8860B;
}

/* Card Hover Elevation */
.card-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(212, 175, 55, 0.25), 0 8px 15px -6px rgba(0, 0, 0, 0.08);
  border-color: rgba(212, 175, 55, 0.6);
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 9999px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid #25D366;
  animation: pulseWhatsapp 2.2s infinite;
  pointer-events: none;
}

@keyframes pulseWhatsapp {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

/* Wording Template Box Styles */
.wording-box {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 1.25rem;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.wording-box:hover {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.15);
}

.wording-text {
  font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;
  line-height: 1.7;
  color: #374151;
  white-space: pre-line;
}

/* City Pill Badge */
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #78350F;
  transition: all 0.2s ease;
}

.city-pill:hover {
  background: #FEF3C7;
  border-color: #D4AF37;
  transform: translateY(-1px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF9F6;
}
::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B8860B;
}

/* Toast Notification Animation */
@keyframes slideUpFade {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.toast-animate {
  animation: slideUpFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Cart Badge Bounce */
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.badge-bounce {
  animation: cartBounce 0.4s ease-in-out;
}
