/* 
   Khushbu Tiwari KT Official Website - Stylesheet
   Theme: Royal Gold, Deep Velvet & Divine Spiritual Glow
*/

:root {
  --primary-gold: #f59e0b;
  --primary-gold-bright: #fbbf24;
  --primary-saffron: #ff6a00;
  --secondary-crimson: #dc2626;
  --dark-bg: #07060a;
  --card-bg: rgba(18, 14, 26, 0.78);
  --card-border: rgba(245, 158, 11, 0.22);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glow-gold: 0 0 25px rgba(245, 158, 11, 0.45);
  --glow-saffron: 0 0 30px rgba(255, 106, 0, 0.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #07060a;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff6a00, #f59e0b);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff8533;
}

/* Typography Headings */
.font-cinzel {
  font-family: 'Cinzel Decorative', cursive, serif;
}
.font-devanagari {
  font-family: 'Rozha One', 'Tiro Devanagari Hindi', serif;
}
#bioTitleDisplay {
  font-family: 'Poppins', 'Tiro Devanagari Hindi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Glassmorphism */
.glass-panel {
  background: rgba(18, 14, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.55);
}

.glass-panel-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 16px 36px 0 rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 158, 11, 0.25);
}

/* Gold Gradient Text */
.text-gold-gradient {
  background: linear-gradient(135deg, #fff7d6 0%, #fcd34d 40%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Saffron / Red Gradient Text */
.text-saffron-gradient {
  background: linear-gradient(135deg, #fed7aa 0%, #fb923c 45%, #ea580c 75%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Buttons */
.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.65);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid #f59e0b;
  color: #fbbf24;
  transition: all 0.3s ease;
}
.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #fcd34d;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

/* Trishul Glowing Emblem Animation */
.trishul-glow {
  filter: drop-shadow(0 0 10px #ff8c00) drop-shadow(0 0 20px #ffd700);
  animation: floatTrishul 3.5s ease-in-out infinite alternate;
}

@keyframes floatTrishul {
  0% { transform: translateY(0px) scale(1); filter: drop-shadow(0 0 8px #ff8c00); }
  100% { transform: translateY(-5px) scale(1.03); filter: drop-shadow(0 0 20px #ffd700); }
}

/* Photo Gallery Hover & Zoom */
.gallery-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-img-container:hover img {
  transform: scale(1.08);
}
.gallery-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 6, 10, 0.95) 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}
.gallery-img-container:hover .gallery-img-overlay {
  opacity: 1;
}

/* Floating Mandir Bell Button */
.mandir-bell-btn {
  animation: bellSway 3s ease-in-out infinite alternate;
  transform-origin: top center;
}
@keyframes bellSway {
  0% { transform: rotate(-6deg); }
  100% { transform: rotate(6deg); }
}

/* Custom Modal Animations */
.modal-enter {
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Live Badge & Superchat Animations */
.live-pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: livePulse 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.superchat-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(255, 106, 0, 0.28) 100%);
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.chat-bubble-artist {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
  border-left: 3px solid #f59e0b;
}

/* Package Card Featured Ribbon */
.package-card-featured {
  border: 2px solid #f59e0b;
  position: relative;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(18, 14, 26, 0.88) 100%);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.25);
}

/* UPI Button Badges */
.upi-app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 0.85rem;
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}
.upi-app-btn:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Event Date Input & Calendar Picker Styling (Dark Theme & Cross-Browser) */
input[type="date"] {
  color-scheme: dark;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.2);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  padding: 4px;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Trust Certificate Print Style */
@media print {
  body * {
    visibility: hidden;
  }
  #printableTrustCertificate, #printableTrustCertificate * {
    visibility: visible;
  }
  #printableTrustCertificate {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #ffffff !important;
    color: #000000 !important;
  }
  .no-print {
    display: none !important;
  }
}
