/* Custom CSS Enhancements for Acharya Chandan Bhargav Vedic Astrology Sanctuary */

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

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1c1c19;
  background-color: #fcf9f4;
}

/* Custom Gold & Maroon Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0ede9;
}
::-webkit-scrollbar-thumb {
  background: #4a0e17;
  border-radius: 4px;
  border: 1px solid #fed65b;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a0006;
}

/* Custom Text Selection */
::selection {
  background-color: #fed65b;
  color: #2e1500;
}

/* Keyframe Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); box-shadow: 0 0 0 0 rgba(213, 117, 5, 0.4); }
  50% { opacity: 1; transform: scale(1.04); box-shadow: 0 0 20px 4px rgba(254, 214, 91, 0.6); }
}

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

@keyframes ripplePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Utility Classes */
.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

.pulse-dot {
  animation: ripplePulse 2s infinite ease-in-out;
}

/* Shimmer Button Effect */
.btn-shimmer {
  background-linear-gradient: 90deg, #4a0e17 0%, #763037 50%, #4a0e17 100%;
  background-size: 200% 100%;
  transition: all 0.3s ease;
}
.btn-shimmer:hover {
  background-position: 100% 0;
  box-shadow: 0 8px 25px rgba(74, 14, 23, 0.35);
}

/* Glassmorphism Card Style */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 226, 221, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(74, 14, 23, 0.1);
  border-color: rgba(209, 117, 5, 0.4);
}

/* Accordion Smooth Transition */
.faq-content {
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
}

/* Modal Overlay & Drawer */
.modal-backdrop {
  background-color: rgba(28, 28, 25, 0.7);
  backdrop-filter: blur(6px);
  transition: opacity 0.3s ease;
}

.modal-content {
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.modal-backdrop.active .modal-content {
  transform: translateY(0) scale(1);
}

/* Responsive Navigation Mobile Drawer */
.mobile-nav-drawer {
  transition: transform 0.3s ease-in-out;
}

/* Custom Form Input Focus Styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: #ffffff;
  border: 1.5px solid #d9c1c1;
  color: #1c1c19;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #735c00;
  box-shadow: 0 0 0 3px rgba(254, 214, 91, 0.3);
}

/* Astrological Zodiac Symbols Decorative Background */
.zodiac-bg-pattern {
  background-image: radial-gradient(#d17505 0.75px, transparent 0.75px), radial-gradient(#4a0e17 0.75px, #fcf9f4 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.04;
}

/* Active Nav Indicator */
.nav-link.active {
  background-color: #4a0e17;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 0.5rem;
}
