/* Base Styles */
body {
  font-family: "Inter", sans-serif;
  background-color: #f8fafc; /* soft white */
  color: #0b2340; /* deep navy */
  scroll-behavior: smooth;
}

/* Brand Colors */
.bg-deep-navy {
  background-color: #0b2340;
}
.text-gold-accent {
  color: #d4af37;
}
.border-gold-accent {
  border-color: #d4af37;
}
.bg-gold-accent {
  background-color: #d4af37;
}

/* Navigation Active Link */
.nav-link.active {
  color: #d4af37;
  border-bottom: 2px solid #d4af37;
}

/* Typography */
.prose a {
  color: #d4af37;
  transition: color 0.3s ease;
}
.prose a:hover {
  color: #b89b31;
}

/* Payment Tabs */
.payment-tab.active-tab {
  color: #0b2340; /* deep navy */
  border-color: #d4af37; /* gold accent */
}

#custom-amount {
  background-color: #fff !important;
  color: #0b2340 !important;
}
#custom-amount::placeholder {
  color: #6b7280; /* Tailwind gray-500 */
}

#paypal-amount {
  color: #0b2340; /* deep navy text */
  background-color: #ffffff; /* white background */
}

#paypal-amount::placeholder {
  color: #6b7280; /* gray placeholder for visibility */
  opacity: 1;
}

/* ========================= */
/* Animations & Transitions */
/* ========================= */

/* Fade In Up */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

/* Fade In Down */
@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-down {
  animation: fade-in-down 0.8s ease-out forwards;
}

/* Zoom In */
@keyframes zoom-in {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.animate-zoom-in {
  animation: zoom-in 0.6s ease-out forwards;
}

/* Slide In Left */
@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.animate-slide-in-left {
  animation: slide-in-left 0.8s ease-out forwards;
}

/* Slide In Right */
@keyframes slide-in-right {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.animate-slide-in-right {
  animation: slide-in-right 0.8s ease-out forwards;
}

/* ========================= */
/* Hover & Modern UI Effects */
/* ========================= */

/* Card Hover Effect */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Button Glow */
.btn-glow {
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(212, 175, 55, 0.5);
}
.btn-glow:hover {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
  transform: translateY(-2px) scale(1.05);
}

/* Fade-in on scroll (hidden by default) */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/*home css
/* Base Styles */
body {
  font-family: "Inter", sans-serif;
  background: url("assets/temple.jpg") no-repeat center center/cover;
  color: #0b2340;
  scroll-behavior: smooth;
}

.font-display {
  font-family: "Playfair Display", serif;
}

/* Brand Colors */
.bg-deep-navy {
  background-color: #0b2340;
}

.text-gold-accent {
  color: #d4af37;
}

.border-gold-accent {
  border-color: #d4af37;
}

.bg-gold-accent {
  background-color: #d4af37;
}

/* Gradient Backgrounds */
.gradient-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5),
      /* top dark overlay */
      rgba(0, 0, 0, 0.5)
      /* bottom dark overlay */
    ),
    url("assets/temple.jpg") no-repeat center center/cover;
}

.gradient-card {
  background: linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
}

/* Navigation Active Link */
.nav-link {
  position: relative;
  color: #0b2340;
  /* deep navy */
  transition: color 0.3s ease;
  text-decoration: none;
  /* remove default underline */
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  /* little space below text */
  width: 0%;
  height: 2px;
  background-color: #d4af37;
  /* gold accent */
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #d4af37;
  /* gold text on hover */
}

.nav-link:hover::after {
  width: 100%;
  /* animate underline */
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }

  50% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Modern Card Styles */
.modern-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Particles Effect */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  animation: particles 15s linear infinite;
}

@keyframes particles {
  0% {
    transform: translateY(100vh) translateX(0px);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) translateX(100px);
    opacity: 0;
  }
}

/* Payment Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Styles */
.form-input {
  transition: all 0.3s ease;
  border: 2px solid #e2e8f0;
}

.form-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  outline: none;
}

/* Success/Error Messages */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* Additional Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Base Styles (already defined) */
body {
  font-family: "Inter", sans-serif;
  background: url("assets/temple.jpg") no-repeat center center/cover;
  color: #0b2340;
  scroll-behavior: smooth;
}

.font-display {
  font-family: "Playfair Display", serif;
}

/* Brand Colors (already defined) */
.bg-deep-navy {
  background-color: #0b2340;
}

.text-gold-accent {
  color: #d4af37;
}

.border-gold-accent {
  border-color: #d4af37;
}

.bg-gold-accent {
  background-color: #d4af37;
}

/* Animation from original code */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

.float-animation {
  animation: float 2.5s ease-in-out infinite;
}
/* --- Scroll Animation Code --- */

/* Shuruaati state (Chupa hua) */
.scroll-animate,
.scroll-animate-left,
.scroll-animate-right,
.scroll-animate-zoom {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Default fade-in-up animation */
.scroll-animate {
  transform: translateY(30px);
}
.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Left-to-right animation */
.scroll-animate-left {
  transform: translateX(-50px);
}
.scroll-animate-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Right-to-left animation */
.scroll-animate-right {
  transform: translateX(50px);
}
.scroll-animate-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom-in animation */
.scroll-animate-zoom {
  transform: scale(0.9);
}
.scroll-animate-zoom.is-visible {
  opacity: 1;
  transform: scale(1);
}