/* Rajgharia Enterprise - Main Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-navy-dark: #0B192C;
  --color-navy-main: #1E3E62;
  --color-gold-main: #F59E0B;
  --color-gold-hover: #D97706;
  --color-cream-bg: #FEF3C7;
  --font-family-main: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-family-main);
  background-color: #F8FAFC;
  color: #0F172A;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Select Option Dropdown Popup Color Fix */
select option {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

html.dark select option {
  background-color: #1E293B !important;
  color: #F8FAFC !important;
}

/* Dark Mode Overrides */
html.dark body {
  background-color: #0B1727;
  color: #F1F5F9;
}

html.dark .bg-white {
  background-color: #1E293B !important;
  color: #F1F5F9 !important;
}

html.dark .bg-gray-50 {
  background-color: #0F172A !important;
}

html.dark .bg-gray-100 {
  background-color: #1E293B !important;
}

html.dark .border-gray-200,
html.dark .border-gray-100 {
  border-color: #334155 !important;
}

html.dark .text-gray-900 {
  color: #F8FAFC !important;
}

html.dark .text-gray-800,
html.dark .text-gray-700 {
  color: #E2E8F0 !important;
}

html.dark .text-gray-600,
html.dark .text-gray-500 {
  color: #94A3B8 !important;
}

html.dark .bg-amber-50 {
  background-color: #2D2415 !important;
  border-color: #78350F !important;
}

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

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

html.dark ::-webkit-scrollbar-track {
  background: #0F172A;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-main);
}

/* Product Card Animations */
.product-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.12);
}

.category-card {
  transition: all 0.25s ease-in-out;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold-main);
}

.category-card:hover .cat-img {
  transform: scale(1.08);
}

.cat-img {
  transition: transform 0.3s ease;
}

/* Hero Badge Pulsing Glow */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s infinite ease-in-out;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast {
  animation: slideInRight 0.3s ease-out forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Hide Leaflet Map Watermark Attribution */
.leaflet-control-attribution,
.leaflet-bottom.leaflet-right {
  display: none !important;
}
