/* ==========================================================================
   दशम गोवर्धन महोत्सव 2026 - Official Landing Page Stylesheet
   Designed for: श्रीकृष्णायन आदर्श गौशाला, लाल टिपारा, मुरार, ग्वालियर
   Theme: Sacred Bhagwa, Vedic Gold, Temple Maroon & Natural Green
   ========================================================================== */

:root {
  --color-bhagwa-50: #fff7ed;
  --color-bhagwa-100: #ffedd5;
  --color-bhagwa-200: #fed7aa;
  --color-bhagwa-300: #fdba74;
  --color-bhagwa-400: #fb923c;
  --color-bhagwa-500: #f97316;
  --color-bhagwa-600: #ea580c;
  --color-bhagwa-700: #c2410c;
  --color-bhagwa-800: #9a3412;
  --color-bhagwa-900: #7c2d12;
  --color-bhagwa-deep: #b93806;
  --color-bhagwa-royal: #e65100;

  --color-gold-300: #fde047;
  --color-gold-400: #facc15;
  --color-gold-500: #eab308;
  --color-gold-600: #ca8a04;
  --color-gold-700: #a16207;
  --color-gold-antique: #d4af37;

  --color-maroon-800: #881337;
  --color-maroon-900: #4c0519;
  --color-maroon-dark: #701a1e;

  --color-green-vedic: #15803d;
  --color-green-dark: #14532d;
  --color-green-light: #86efac;

  --color-ivory-bg: #fdfaf4;
  --color-cream-card: #fffdfa;
  --color-sand: #fef3c7;

  --font-heading: 'Rozha One', 'Yatra One', serif;
  --font-subheading: 'Yatra One', cursive, serif;
  --font-body: 'Tiro Devanagari Hindi', 'Mukta', 'Poppins', sans-serif;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-ivory-bg);
  color: #291b10;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(#fde68a 0.75px, transparent 0.75px),
    radial-gradient(#fed7aa 0.75px, var(--color-ivory-bg) 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #fef2f2;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ea580c, #c2410c);
  border-radius: 5px;
  border: 2px solid #fef2f2;
}
::-webkit-scrollbar-thumb:hover {
  background: #9a3412;
}

/* Typography Helpers */
.font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.font-subheading {
  font-family: var(--font-subheading);
}

.font-body {
  font-family: var(--font-body);
}

/* Traditional Ornaments & Borders */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
}
.ornament-divider::before,
.ornament-divider::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, #ea580c, transparent);
}

.ornament-corner-border {
  position: relative;
  border: 2px solid rgba(212, 175, 55, 0.4);
}
.ornament-corner-border::before,
.ornament-corner-border::after {
  content: "✦";
  position: absolute;
  color: #ea580c;
  font-size: 14px;
}
.ornament-corner-border::before {
  top: -9px;
  left: -6px;
}
.ornament-corner-border::after {
  bottom: -9px;
  right: -6px;
}

/* Vedic Card */
.vedic-card {
  background: #ffffff;
  border: 1px solid rgba(229, 192, 123, 0.45);
  box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.08), 0 8px 10px -6px rgba(180, 83, 9, 0.04);
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.vedic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ca8a04, #ea580c, #dc2626, #ca8a04);
  background-size: 200% 100%;
}
.vedic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(234, 88, 12, 0.16), 0 10px 15px -3px rgba(180, 83, 9, 0.08);
  border-color: rgba(234, 88, 12, 0.6);
}

/* Animations */
@keyframes bellSway {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(7deg);
  }
  75% {
    transform: rotate(-7deg);
  }
}

.animate-bell {
  transform-origin: top center;
  animation: bellSway 3.2s ease-in-out infinite;
}

.animate-bell-reverse {
  transform-origin: top center;
  animation: bellSway 3.2s ease-in-out infinite;
  animation-delay: 1.6s;
}

@keyframes diyaFlicker {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.8)) drop-shadow(0 0 15px rgba(234, 88, 12, 0.6));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 1)) drop-shadow(0 0 22px rgba(234, 88, 12, 0.85));
    transform: scale(1.05) translateY(-1px);
  }
}

.diya-glow {
  animation: diyaFlicker 2s ease-in-out infinite;
}

@keyframes goldShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-text {
  background: linear-gradient(90deg, #9a3412 0%, #ea580c 25%, #f59e0b 50%, #ea580c 75%, #9a3412 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: goldShimmer 6s linear infinite;
}

@keyframes pulseBorder {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(234, 88, 12, 0);
  }
}

.pulse-glow {
  animation: pulseBorder 2.4s infinite;
}

/* Saffron Button Styles */
.btn-bhagwa {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  box-shadow: 0 8px 20px -4px rgba(234, 88, 12, 0.45);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.btn-bhagwa:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -3px rgba(234, 88, 12, 0.6);
}
.btn-bhagwa:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #ca8a04 100%);
  color: #78350f !important;
  font-weight: 800;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  box-shadow: 0 8px 20px -4px rgba(202, 138, 4, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  border: 1px solid rgba(254, 240, 138, 0.8);
  cursor: pointer;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fde047 50%, #eab308 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -3px rgba(202, 138, 4, 0.5);
}

.btn-outline-bhagwa {
  background: transparent;
  color: #c2410c !important;
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  border-radius: 9999px;
  border: 2px solid #ea580c;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline-bhagwa:hover {
  background: #ea580c;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -4px rgba(234, 88, 12, 0.35);
}

/* Toran Garland Pattern */
.toran-garland {
  width: 100%;
  height: 24px;
  background-image: radial-gradient(circle at 10px 0px, #ca8a04 8px, transparent 9px),
                    radial-gradient(circle at 30px 0px, #ea580c 8px, transparent 9px),
                    radial-gradient(circle at 50px 0px, #16a34a 7px, transparent 8px);
  background-size: 60px 24px;
  background-repeat: repeat-x;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

/* Audio Player Floating Button */
.audio-toggle-btn {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 99;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ea580c;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.audio-toggle-btn:hover {
  transform: scale(1.1) rotate(15deg);
  background: #fff7ed;
}

/* Countdown Card */
.countdown-box {
  background: linear-gradient(145deg, #ffffff, #fff7ed);
  border: 1px solid rgba(234, 88, 12, 0.3);
  box-shadow: 0 8px 16px -4px rgba(180, 83, 9, 0.12);
  border-radius: 1rem;
  padding: 1rem 0.75rem;
  text-align: center;
  min-width: 80px;
  position: relative;
}
.countdown-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: #ea580c;
  border-radius: 2px;
}

/* Modal Lightbox */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active {
  display: flex;
}

/* Mobile Sticky Bar */
.mobile-bottom-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: #ffffff;
    border-top: 2px solid #ea580c;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  }
}

/* Print styles for digital pass */
@media print {
  body * {
    visibility: hidden;
  }
  #printablePass, #printablePass * {
    visibility: visible;
  }
  #printablePass {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/* Success Banner Animation */
@keyframes subtleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.animate-bounce-subtle {
  animation: subtleBounce 2s ease-in-out infinite;
}
