/*
 * This file contains all the custom CSS for the UjjainTravel website.
 * It is referenced by all individual HTML files.
 */

/* ==========================================================================
/* ==========================================================================
   Base Styles
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;700;900&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Light Mode - Premium Spiritual Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FFF8F0;
  /* Soft Warm White */

  /* Primary: Deep Saffron to Crimson */
  --primary-orange: #FF9933;
  --primary-red: #DC143C;
  --primary-gradient: linear-gradient(135deg, #FF9933 0%, #FF4500 50%, #DC143C 100%);

  /* Accents */
  --gold-accent: #FFD700;
  --gold-gradient: linear-gradient(135deg, #FDB931 0%, #F5C965 50%, #D4AF37 100%);

  /* Text */
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;

  /* UI Elements */
  --card-bg: rgba(255, 255, 255, 0.85);
  /* Glass base */
  --card-border: rgba(255, 153, 51, 0.15);
  --header-bg: rgba(255, 255, 255, 0.8);
  --shadow-color: rgba(220, 20, 60, 0.08);
}

.dark {
  /* Dark Mode - Night Sky Palette */
  --bg-primary: #020617;
  /* Deepest Night */
  --bg-secondary: #0F172A;
  /* Rich Navy */

  /* Adjusted for Dark Mode */
  --primary-orange: #FB923C;
  --primary-red: #F87171;
  --primary-gradient: linear-gradient(135deg, #FB923C 0%, #EF4444 60%);

  /* Text */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;

  /* UI Elements */
  --card-bg: rgba(15, 23, 42, 0.6);
  /* Dark Glass */
  --card-border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(2, 6, 23, 0.8);
  --shadow-color: rgba(0, 0, 0, 0.4);
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s ease;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.7;
  /* Breathable text */
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-orange), var(--primary-red));
  border-radius: 99px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}


/*Spin logo */
@keyframes spinSlowPauseY {
  0% {
    transform: rotateY(0deg);
    animation-timing-function: linear;
  }

  80% {
    transform: rotateY(720deg);
    /* 2 full spins on Y axis */
    animation-timing-function: ease-out;
    /* slow down */
  }

  90%,
  100% {
    transform: rotateY(720deg);
    /* pause */
  }
}

.logo-spin {
  display: inline-block;
  transform-style: preserve-3d;
  transform-origin: center center;
  backface-visibility: visible;
  animation: spinSlowPauseY 5s infinite;
}



/* Compact About cards styles (append to css/style.css) */
.compact-card {
  background: linear-gradient(180deg, #ffffff, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform, box-shadow;
}

.compact-card:hover,
.compact-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.12);
}

.compact-card img {
  display: block;
}

/* tighter paddings & smaller text for compact look (already mostly Tailwind) */
.compact-card .p-3 {
  padding: .6rem;
}

/* modal tweaks */
#place-modal {
  display: none;
  align-items: center;
  justify-content: center;
}

#place-modal.show {
  display: flex;
}

/* small screen improvements */
@media (max-width: 640px) {
  .compact-card {
    border-radius: 12px;
  }

  .modal-image {
    height: 180px !important;
  }
}

/* small line-clamp fallback */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Equal Section Width and Indentation
   ========================================================================== */
.equal-section {
  max-width: 95vw;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}

/* Mobile responsiveness - reduce padding on small screens */
@media (max-width: 640px) {
  .equal-section {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* ==========================================================================
   Production-Ready Enhancements
   ========================================================================== */

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Better focus states for accessibility */
*:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Improved button transitions */
button,
.btn,
a.btn-enquiry {
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Rounded buttons globally */
.btn-enquiry {
  border-radius: 9999px !important;
}

/* Card hover enhancement */
.bg-white.rounded-2xl {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bg-white.rounded-2xl:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
}



/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  height: 90vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('https://placehold.co/1920x1080/4f46e5/ffffff?text=UjjainTakTravels') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-content {
  color: #fff;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 2s ease-out;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8);
  animation: glowText 3s ease-in-out infinite alternate;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btn {
  padding: 15px 35px;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Typing Effect */
.typing-text {
  display: inline-block;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.typing-word {
  opacity: 0;
  display: inline-block;
  margin-right: 6px;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.typing-word.show {
  opacity: 1;
  transform: translateY(0);
  color: #b91c1c;
  /* subtle spiritual red accent */
  font-weight: 600;
}

@keyframes blinkCursor {
  50% {
    border-color: transparent;
  }
}

/* Hero Animations */
@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowText {
  from {
    text-shadow: 0 0 10px #facc15, 0 0 20px #facc15;
  }

  to {
    text-shadow: 0 0 20px #f97316, 0 0 40px #f97316;
  }
}

/* ==========================================================================
   Glassmorphism 2.0 & Component Standardization
   ========================================================================== */

/* Universal Glass Card */
.glass-card,
.tour-card-item,
.puja-card-item,
.compact-card,
.intro-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 var(--shadow-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

/* Hover Lift Effect */
.glass-card:hover,
.tour-card-item:hover,
.puja-card-item:hover,
.compact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px 0 rgba(220, 20, 60, 0.15);
  border-color: rgba(255, 153, 51, 0.4);
}

.tour-card-item .card-img-top,
.puja-card-item .card-img-top {
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-card-item:hover .card-img-top,
.puja-card-item:hover .card-img-top {
  transform: scale(1.05);
  /* Ken Burns Effect */
}

/* Content Padding */
.tour-card-item .card-body,
.puja-card-item .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.tour-card-item .card-title,
.puja-card-item .card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

/* Premium Buttons */
.btn-premium,
.btn-enquiry,
.hero-btn {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.btn-premium::before,
.btn-enquiry::before,
.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FF4500 0%, #DC143C 100%);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn-premium:hover::before,
.btn-enquiry:hover::before,
.hero-btn:hover::before {
  opacity: 1;
}

.btn-premium:hover,
.btn-enquiry:hover,
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
  color: #fff;
}

/* ==========================================================================
   Marquee Animations (for home page)
   ========================================================================== */
/* Common Marquee Section */
.tour-marquee-section,
.puja-marquee-section {
  overflow: hidden;
  position: relative;
  width: 100%;
  cursor: grab;
}

.tour-marquee-section.dragging,
.puja-marquee-section.dragging {
  cursor: grabbing;
}

.tour-infinite-marquee,
.infinite-marquee {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

/* Stop animation on hover */
.tour-marquee-section:hover .tour-infinite-marquee,
.puja-marquee-section:hover .infinite-marquee {
  animation-play-state: paused;
}

/* Keyframes for infinite scroll */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Card Styling */
.tour-card-item,
.puja-card-item {
  flex: 0 0 auto;
  width: 300px;
  /* adjust size */
  margin-right: 20px;
}

/* ==========================================================================
   Definitive Dark Mode Card Overrides (Ultra Specific)
   ========================================================================== */
html.dark .compact-card,
html.dark .puja-card-item,
html.dark .tour-card-item,
html.dark #about-ujjain .intro-card,
html.dark #about-ujjain .compact-card,
html.dark #puja-services .puja-card-item,
html.dark #tour-packages .tour-card-item,
html.dark #tour-packages .grid>div,
html.dark .bg-white.rounded-2xl {
  background: var(--bg-secondary) !important;
  /* Outer Background: Slate 900 */
  background-image: none !important;
  border-color: var(--border-color) !important;
}

/* Inner Text Container (Lighter than outer: Slate 800) */
html.dark .compact-card>div:last-child,
html.dark .puja-card-item>div:last-child,
html.dark .tour-card-item>div:last-child,
html.dark #about-ujjain .intro-card>div,
html.dark #about-ujjain .compact-card>div:last-child,
html.dark #puja-services .puja-card-item>div:last-child,
html.dark .bg-white.rounded-2xl>div:last-child {
  background: var(--card-bg) !important;
  /* Inner Background: Slate 800 */
  background-image: none !important;
  color: var(--text-primary) !important;
}

/* Force Text Colors */
html.dark .compact-card h3,
html.dark .puja-card-item h3,
html.dark .tour-card-item h3,
html.dark .compact-card h4,
html.dark .intro-card h2,
html.dark #about-ujjain .intro-card h2 {
  color: var(--text-primary) !important;
}

html.dark p,
html.dark li,
html.dark span:not(.fa-stack) {
  color: var(--text-secondary) !important;
}

html.dark .text-gray-900,
html.dark .text-gray-800,
html.dark .text-gray-700,
html.dark h3,
html.dark h4,
html.dark h5 {
  color: var(--text-primary) !important;
}

/* Reset red price but keep it visible */
html.dark .text-red-600,
html.dark .font-bold.text-red-600 {
  color: #f87171 !important;
}



/* ==========================================================================
   Button & Link Styles
   ========================================================================== */
.btn-enquiry {
  transition: all 0.3s ease;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 0.75rem;
}

.btn-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Modal Styles (for the enquiry form)
   ========================================================================== */
.enquiry-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  overflow-y: auto;
  gap: 0;
}

.enquiry-modal:not(.hidden) {
  display: flex;
}

.enquiry-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.enquiry-modal-card {
  position: relative;
  width: 100%;
  max-width: 960px;
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.enquiry-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.enquiry-modal.active .enquiry-modal-backdrop {
  opacity: 1;
}

.enquiry-modal.active .enquiry-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.22);
}

.enquiry-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #dc2626;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.enquiry-modal-close:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.95);
}

.enquiry-modal-sidebar {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 40%, #dc2626 100%);
  color: #fff;
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.enquiry-modal-sidebar-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.enquiry-modal-sidebar-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.enquiry-modal-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  font-size: 0.95rem;
}

.enquiry-modal-sidebar-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.enquiry-modal-sidebar-list i {
  font-size: 1.1rem;
}

.enquiry-modal-sidebar-footer {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.enquiry-modal-sidebar-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.8;
}

.enquiry-modal-sidebar-link {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.enquiry-modal-sidebar-link:hover {
  text-decoration: underline;
}

.enquiry-modal-body {
  padding: 2.75rem 3rem;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.enquiry-modal-heading p {
  margin-top: 0.35rem;
}

.enquiry-modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.enquiry-modal-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.enquiry-modal-input {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.enquiry-modal-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
  background: var(--card-bg);
}

.enquiry-modal-select {
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg fill="none" stroke="%23737484" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.75rem;
}

.enquiry-modal-textarea {
  resize: vertical;
  min-height: 120px;
}

.enquiry-modal-submit {
  width: 100%;
  border: none;
  border-radius: 0.9rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enquiry-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(239, 68, 68, 0.36);
}

.enquiry-modal-message {
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.enquiry-modal-message.is-success {
  background: #ecfdf5;
  border-color: #34d399;
  color: #047857;
}

.enquiry-modal-message.is-error {
  background: #fef2f2;
  border-color: #f87171;
  color: #b91c1c;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .enquiry-modal-card {
    border-radius: 1.5rem;
  }

  .enquiry-modal-sidebar {
    padding: 2rem 1.75rem;
  }

  .enquiry-modal-body {
    padding: 2.25rem 1.75rem;
  }
}

@media (max-width: 640px) {
  .enquiry-modal {
    padding: 1.5rem 1rem;
  }

  .enquiry-modal-card {
    border-radius: 1.25rem;
  }

  .enquiry-modal-sidebar {
    border-radius: 1.25rem 1.25rem 0 0;
    padding-bottom: 1.5rem;
  }

  .enquiry-modal-body {
    padding: 1.75rem 1.5rem 2rem;
  }
}

.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-wrapper.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-container {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 500px;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.modal-wrapper.active .modal-content-container {
  transform: translateY(0);
}

.modal-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.form-label {
  display: block;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #77a319;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* ==========================================================================
   For gradient color text animation
   ========================================================================== */
.animated-gradient {
  background: linear-gradient(90deg,
      #ff6200,
      #ff8800,
      #ffb700,
      #ffd900,
      #ffee00,
      #eeff00,
      #ff6200);
  background-size: 200% 100%;
  /* tighter gradient stripes */
  background-repeat: repeat;
  /* make colors cycle through */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 4s linear infinite;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}


/* ======================================
   Explore Packages Button - ORANGE GLOW + ZOOM
   ====================================== */
.cta-btn-explore {
  background: linear-gradient(90deg, #ff6200, #ff8800, #ffb700);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(255, 136, 0, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulseZoomGlow 2s infinite;
}

.cta-btn-explore:hover {
  transform: scale(1.2) translateY(-4px);
  box-shadow: 0 0 40px rgba(255, 180, 0, 1);
}

/* ======================================
   Enquire Now Button - WHITE TO ORANGE + ZOOM
   ====================================== */
.cta-btn-enquire {
  background: linear-gradient(90deg, #ff6200, #ff8800, #ffb700);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(255, 136, 0, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulseZoomGlow 2s infinite;
}

.cta-btn-enquire:hover {
  transform: scale(1.2) translateY(-4px);
  background: linear-gradient(90deg, #ff6200, #ff8800, #ffb700);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 40px rgba(255, 180, 0, 1);
}

/* ======================================
   Glow + Zoom Animation
   ====================================== */
@keyframes pulseZoomGlow {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(255, 136, 0, 0.7);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(255, 180, 0, 1);
  }
}


/* Language toggle visibility */
.lang-hi {
  display: none;
}

.lang-hi:not(.hidden) {
  display: block;
}

.lang-en:not(.hidden) {
  display: block;
}

.lang-en.hidden {
  display: none;
}


#whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  background-color: #25D366;
  /* WhatsApp green */
  display: flex;
  justify-content: center;
  align-items: center;
}

#whatsapp-chat img {
  width: 35px;
  height: 35px;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
}

#whatsapp-chat:hover {
  transform: scale(1.1);
}


/* ==========================================================================
   Logo Animation
   ========================================================================== */
@keyframes spinSlowPauseY {
  0% {
    transform: rotateY(0deg);
    animation-timing-function: linear;
  }

  80% {
    transform: rotateY(720deg);
    animation-timing-function: ease-out;
  }

  90%,
  100% {
    transform: rotateY(720deg);
  }
}

.logo-spin {
  display: inline-block;
  transform-style: preserve-3d;
  transform-origin: center center;
  backface-visibility: visible;
  animation: spinSlowPauseY 5s infinite;
}



/* Compact About cards styles (append to css/style.css) */
.compact-card {
  background: linear-gradient(180deg, #ffffff, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 280ms cubic-bezier(.4, 0, .2, 1), box-shadow 280ms cubic-bezier(.4, 0, .2, 1), border-color 280ms ease;
  will-change: transform, box-shadow;
}

.compact-card:hover,
.compact-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.12);
}

.compact-card img {
  display: block;
}

/* tighter paddings & smaller text for compact look (already mostly Tailwind) */
.compact-card .p-3 {
  padding: .6rem;
}

/* modal tweaks */
#place-modal {
  display: none;
  align-items: center;
  justify-content: center;
}

#place-modal.show {
  display: flex;
}

/* small screen improvements */
@media (max-width: 640px) {
  .compact-card {
    border-radius: 12px;
  }

  .modal-image {
    height: 180px !important;
  }
}

/* small line-clamp fallback */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* About Ujjain section polish */
#about-ujjain .feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #ef4444;
}

#about-ujjain .intro-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff7f1 100%);
  border: 1px solid rgba(255, 98, 0, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
  padding: 2rem;
}

.dark #about-ujjain .intro-card {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.dark #about-ujjain .intro-card h2,
.dark #about-ujjain .intro-card strong {
  color: #fff !important;
}

.dark #about-ujjain .intro-card p,
.dark #about-ujjain .intro-card li,
.dark #about-ujjain .intro-card div {
  color: #e5e7eb !important;
}

#about-ujjain .about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  #about-ujjain .about-split {
    grid-template-columns: 1fr;
  }
}

/* Place cards grid - 2x2 on right half */
#about-ujjain .about-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Compact cards text already covered by global rules above */


/* Dark Mode Modal Override */
.dark #detailModal>div {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
}

.dark #modalTitle {
  color: #fff !important;
}

.dark #modalDetails {
  color: #e2e8f0 !important;
}

#about-ujjain .about-card-grid .compact-card {
  position: relative;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(255, 98, 0, 0.08);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fff5ee 100%);
  border: 1px solid rgba(255, 98, 0, 0.14);
  transition: transform 320ms cubic-bezier(.4, 0, .2, 1), box-shadow 320ms cubic-bezier(.4, 0, .2, 1), border-color 320ms ease;
  transform-style: preserve-3d;
  perspective: 800px;
}

#about-ujjain .about-card-grid .compact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 10%, rgba(255, 200, 120, 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
  z-index: 1;
}

#about-ujjain .about-card-grid .compact-card:hover {
  transform: translateY(-12px) scale(1.045) rotateX(2deg);
  box-shadow: 0 28px 60px rgba(255, 98, 0, 0.22), 0 8px 20px rgba(0, 0, 0, 0.10);
  border-color: rgba(255, 98, 0, 0.28);
}

#about-ujjain .about-card-grid .compact-card:hover::before {
  opacity: 1;
}

#about-ujjain .about-card-grid .compact-card .relative {
  height: 140px;
}

#about-ujjain .about-card-grid .compact-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 360ms cubic-bezier(.4, 0, .2, 1), filter 360ms ease;
  filter: saturate(1.05) brightness(1);
}

#about-ujjain .about-card-grid .compact-card:hover img {
  transform: scale(1.12);
  filter: saturate(1.15) brightness(1.02);
}

/* Card bottom section */
#about-ujjain .about-card-grid .compact-card .p-3 {
  padding: 0.75rem 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #fffbf8 100%);
}

#about-ujjain .about-card-grid .compact-card .open-compact {
  background: linear-gradient(90deg, #ff7a1a, #ff5500);
  color: #fff;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

#about-ujjain .about-card-grid .compact-card .open-compact:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3);
}

#about-ujjain .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 98, 0, 0.12);
  color: #b91c1c;
  font-weight: 600;
  border-radius: 999px;
  font-size: 12px;
}


body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
}



/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  height: 90vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('https://placehold.co/1920x1080/4f46e5/ffffff?text=UjjainTakTravels') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-content {
  color: #fff;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 2s ease-out;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8);
  animation: glowText 3s ease-in-out infinite alternate;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btn {
  padding: 15px 35px;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Typing Effect */
.typing-text {
  display: inline-block;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.typing-word {
  opacity: 0;
  display: inline-block;
  margin-right: 6px;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.typing-word.show {
  opacity: 1;
  transform: translateY(0);
  color: #b91c1c;
  /* subtle spiritual red accent */
  font-weight: 600;
}

@keyframes blinkCursor {
  50% {
    border-color: transparent;
  }
}

/* Hero Animations */
@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowText {
  from {
    text-shadow: 0 0 10px #facc15, 0 0 20px #facc15;
  }

  to {
    text-shadow: 0 0 20px #f97316, 0 0 40px #f97316;
  }
}

/* ==========================================================================
   Card Layouts (for packages and puja services)
   ========================================================================== */

/* Fallback grid layout if Tailwind doesn't load */
#tour-packages .grid,
#puja-services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) {

  #tour-packages .grid,
  #puja-services .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Unified card styling for both tour and puja cards */
#tour-packages .grid>div,
#puja-services .puja-card-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fef4f1 100%);
  border: 1px solid rgba(233, 84, 32, 0.12);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

/* For marquee puja cards, set fixed width */
#puja-services .puja-card-item {
  flex: 0 0 auto;
  width: 320px;
  margin-right: 24px;
}

#tour-packages .grid>div::before,
#puja-services .puja-card-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 166, 43, 0.16), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(255, 98, 0, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

#tour-packages .grid>div:hover,
#puja-services .puja-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(255, 98, 0, 0.18);
  border-color: rgba(233, 84, 32, 0.25);
}

#tour-packages .grid>div:hover::before,
#puja-services .puja-card-item:hover::before {
  opacity: 1;
}

#tour-packages .grid>div img,
#puja-services .puja-card-item img {
  height: 192px !important;
  /* h-48 = 12rem = 192px */
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
  box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.06);
}

.puja-card-overlay {
  pointer-events: none;
  border-radius: 16px 16px 0 0;
  white-space: pre-line;
}

.puja-card-overlay p {
  font-size: 0.9rem;
  line-height: 1.5;
}

#tour-packages .grid>div .p-6,
#puja-services .puja-card-item .p-6 {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#tour-packages .grid>div h3,
#tour-packages .grid>div h5,
#puja-services .puja-card-item h5 {
  color: #0f172a;
}

#tour-packages .grid>div p,
#puja-services .puja-card-item p {
  color: #475569;
}

#tour-packages .grid>div span.inline-block {
  background: linear-gradient(90deg, #ff7a1a, #ff6200);
  box-shadow: 0 8px 20px rgba(255, 98, 0, 0.25);
}

#tour-packages .grid>div .btn-enquiry,
#puja-services .puja-card-item .btn-enquiry {
  border: 2px solid #ff6200;
  background: transparent;
  color: #ff6200;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 180ms ease;
}

#tour-packages .grid>div .btn-enquiry:hover,
#puja-services .puja-card-item .btn-enquiry:hover {
  background: linear-gradient(90deg, #ff7a1a, #ff4d00);
  color: #fff;
  border-color: #ff4d00;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 30px rgba(255, 98, 0, 0.36);
}

.tour-card-item .card-img-top,
.puja-card-item .card-img-top {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
  display: block;
}

.tour-card-item .card-body,
.puja-card-item .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
}

.tour-card-item .card-title,
.puja-card-item .card-title {
  font-weight: 600;
  min-height: 48px;
}

/* ==========================================================================
   Marquee Animations (for home page)
   ========================================================================== */
/* Common Marquee Section */
.tour-marquee-section,
.puja-marquee-section {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.tour-infinite-marquee,
.infinite-marquee {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

/* Stop animation on hover */
.tour-marquee-section:hover .tour-infinite-marquee,
.puja-marquee-section:hover .infinite-marquee {
  animation-play-state: paused;
}

/* Keyframes for infinite scroll */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Card Styling */
.tour-card-item,
.puja-card-item {
  flex: 0 0 auto;
  width: 300px;
  /* adjust size */
  margin-right: 20px;
}

.puja-card-item img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px 14px 0 0;
  filter: saturate(1.05);
}

/* Puja cards visual polish */
.puja-card-item {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f2 100%);
  border: 1px solid rgba(255, 98, 0, 0.14);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(255, 98, 0, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  overflow: hidden;
}

.puja-card-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(255, 210, 150, 0.2), transparent 45%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.puja-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(255, 98, 0, 0.2);
  border-color: rgba(255, 98, 0, 0.25);
}

.puja-card-item:hover::before {
  opacity: 1;
}

/* Hover overlay effect for puja cards */
.puja-card-item .absolute.inset-0 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: left;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.75;
}

.puja-card-item:hover .absolute.inset-0 {
  opacity: 1;
}

/* ==========================================================================
   Button & Link Styles
   ========================================================================== */
.btn-enquiry {
  transition: all 0.3s ease;
}

.btn-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Modal Styles (for the enquiry form)
   ========================================================================== */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-wrapper.hidden {
  display: none !important;
}

.modal-content-container {
  background: linear-gradient(180deg, #ffffff 0%, #fff6ef 100%);
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 98, 0, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  width: 90%;
  max-width: 520px;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.08), rgba(255, 77, 0, 0.08));
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 98, 0, 0.12);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.form-label {
  display: block;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #ff7a1a;
  box-shadow: 0 0 0 3px rgba(255, 98, 0, 0.18);
}

#enquiryModal button[type="submit"] {
  background: linear-gradient(90deg, #ff7a1a, #ff4d00);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(255, 98, 0, 0.3);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

#enquiryModal button[type="submit"]:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 36px rgba(255, 98, 0, 0.36);
}

/* ==========================================================================
   For gradient color text animation
   ========================================================================== */
.animated-gradient {
  background: linear-gradient(90deg,
      #ff6200,
      #ff8800,
      #ffb700,
      #ffd900,
      #ffee00,
      #eeff00,
      #ff6200);
  background-size: 200% 100%;
  /* tighter gradient stripes */
  background-repeat: repeat;
  /* make colors cycle through */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 4s linear infinite;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}


/* ======================================
   Explore Packages Button - ORANGE GLOW + ZOOM
   ====================================== */
.cta-btn-explore {
  background: linear-gradient(90deg, #ff6200, #ff8800, #ffb700);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(255, 136, 0, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulseZoomGlow 2s infinite;
}

.cta-btn-explore:hover {
  transform: scale(1.2) translateY(-4px);
  box-shadow: 0 0 40px rgba(255, 180, 0, 1);
}

/* ======================================
   Enquire Now Button - WHITE TO ORANGE + ZOOM
   ====================================== */
.cta-btn-enquire {
  background: linear-gradient(90deg, #ff6200, #ff8800, #ffb700);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(255, 136, 0, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulseZoomGlow 2s infinite;
}

.cta-btn-enquire:hover {
  transform: scale(1.2) translateY(-4px);
  background: linear-gradient(90deg, #ff6200, #ff8800, #ffb700);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 40px rgba(255, 180, 0, 1);
}

/* ======================================
   Glow + Zoom Animation
   ====================================== */
@keyframes pulseZoomGlow {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(255, 136, 0, 0.7);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(255, 180, 0, 1);
  }
}


/* Language toggle visibility */
.lang-hi {
  display: none;
}

.lang-hi:not(.hidden) {
  display: block;
}

.lang-en:not(.hidden) {
  display: block;
}

.lang-en.hidden {
  display: none;
}

/* ==========================================================================
   Premium Hero Section - Cinematic Experience
   ========================================================================== */
.hero-section-premium {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-section-premium .animate-gradient-shift {
  animation: gradient-shift 8s ease-in-out infinite alternate;
}

@keyframes gradient-shift {
  0% {
    transform: translateX(-10px) translateY(-10px);
  }

  50% {
    transform: translateX(10px) translateY(10px);
  }

  100% {
    transform: translateX(-10px) translateY(-10px);
  }
}

.hero-section-premium .parallax-layer {
  transform: translateZ(0);
  will-change: transform;
}

.hero-title-premium {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ff6200, #ff8800, #ffb700, #ffd900, #ffee00, #eeff00, #ff6200);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: multicolor-gradient-flow 2s linear infinite;
}

@keyframes multicolor-gradient-flow {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-subtitle-premium {
  font-family: 'Inter', sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.magnetic-button-premium {
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
  box-shadow:
    0 20px 60px rgba(249, 115, 22, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.magnetic-button-premium:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 30px 80px rgba(249, 115, 22, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button-glow-premium {
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #f97316, #dc2626);
  border-radius: inherit;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: button-glow-pulse 3s ease-in-out infinite;
}

.magnetic-button-premium:hover .button-glow-premium {
  opacity: 0.8;
}

@keyframes button-glow-pulse {

  0%,
  100% {
    filter: blur(20px);
    opacity: 0.8;
  }

  50% {
    filter: blur(30px);
    opacity: 1;
  }
}

.secondary-cta-premium {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.secondary-cta-premium:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px);
}

.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

@keyframes bounce-slow {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.animate-scroll-indicator-premium {
  animation: scroll-indicator-premium 2s ease-in-out infinite;
}

@keyframes scroll-indicator-premium {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

/* Premium animations */
@keyframes fade-up-premium {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up-premium {
  animation: fade-up-premium 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Premium Tour Cards - Glassmorphism & 3D Effects
   ========================================================================== */
.tour-card-premium {
  position: relative;
  perspective: 1000px;
  background: linear-gradient(180deg, #ffffff 0%, #fef4f1 100%);
  border: 1px solid rgba(233, 84, 32, 0.12);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.tour-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 166, 43, 0.16) 0%,
      transparent 45%,
      rgba(255, 98, 0, 0.12) 80%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.tour-card-premium:hover::before {
  opacity: 1;
}

.tour-card-premium:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(255, 98, 0, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(233, 84, 32, 0.25);
}

/* Animated gradient border on hover */
.tour-card-premium .card-glow-border {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg,
      rgba(249, 115, 22, 0) 0%,
      rgba(249, 115, 22, 0.4) 50%,
      rgba(239, 68, 68, 0.6) 100%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}

.tour-card-premium:hover .card-glow-border {
  opacity: 1;
  animation: border-glow 2s ease-in-out infinite alternate;
}

@keyframes border-glow {
  0% {
    filter: blur(0px);
  }

  100% {
    filter: blur(4px);
  }
}

/* Card inner container */
.tour-card-premium .card-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

/* Image section with Ken Burns effect */
.tour-card-premium .card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.tour-card-premium .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease-in-out;
}

.tour-card-premium:hover .card-image img {
  transform: scale(1.1);
}

/* Gradient overlay */
.tour-card-premium .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.3) 60%,
      rgba(0, 0, 0, 0.7) 100%);
  transition: opacity 0.5s ease;
}

.tour-card-premium:hover .image-overlay {
  opacity: 0.8;
}

/* Floating badge */
.tour-card-premium .card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 0.875rem;
  color: #dc2626;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Price tag with glass morphism */
.tour-card-premium .price-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.tour-card-premium .price-tag .price-label {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 2px;
}

.tour-card-premium .price-tag .price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: #dc2626;
  line-height: 1;
}

/* Content section */
.tour-card-premium .card-content {
  padding: 24px;
  position: relative;
  z-index: 2;
}

/* Animated underline for category */
.tour-card-premium .category-label {
  position: relative;
  display: inline-block;
  color: #f97316;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.tour-card-premium .category-label::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #dc2626);
  transition: width 0.5s ease;
}

.tour-card-premium:hover .category-label::after {
  width: 100%;
}

/* Title with gradient hover effect */
.tour-card-premium .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.5s ease;
}

.tour-card-premium:hover .card-title {
  background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.tour-card-premium .card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Features grid */
.tour-card-premium .features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.tour-card-premium .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tour-card-premium .feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.tour-card-premium .feature-icon.clock {
  background: rgba(251, 191, 36, 0.1);
  color: #f59e0b;
}

.tour-card-premium .feature-icon.users {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.tour-card-premium .feature-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* CTA Button with morphing effect */
.tour-card-premium .cta-button {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
  color: white;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.tour-card-premium .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.4);
}

.tour-card-premium .cta-button .button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.tour-card-premium .cta-button .button-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #dc2626 0%, #9333ea 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.tour-card-premium:hover .cta-button .button-background {
  transform: translateX(0);
}

/* Shine effect */
.tour-card-premium .shine-effect {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.tour-card-premium:hover .shine-effect {
  opacity: 1;
  animation: shine 1.2s ease-out;
}

@keyframes shine {
  0% {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transform: translateX(-100%);
  }

  100% {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transform: translateX(100%);
  }
}

/* ==========================================================================
   MakeMyTrip Style Auth Modal
   ========================================================================== */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.auth-modal.active {
  opacity: 1;
  pointer-events: all;
}

.auth-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.auth-modal-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.auth-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748b;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-modal-close:hover {
  background: #f1f5f9;
  color: #334155;
  transform: rotate(90deg);
}

.auth-modal-content {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 550px;
}

.auth-modal-left {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.auth-brand-content {
  text-align: center;
}

.auth-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.auth-brand-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-brand-subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.auth-features {
  text-align: left;
  margin-top: 30px;
}

.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.auth-feature-item i {
  font-size: 18px;
  color: #a5f3fc;
}

.auth-modal-right {
  padding: 40px;
  overflow-y: auto;
  max-height: 90vh;
}

.auth-form-container {
  max-width: 400px;
  margin: 0 auto;
}

.auth-form-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.auth-form-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 30px;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 8px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font-size: 16px;
}

.input-with-icon input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.2s;
  background: #f8fafc;
}

.input-with-icon input:focus {
  outline: none;
  border-color: #6366f1;
  background: white;
}

.toggle-password {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: #6366f1;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #475569;
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.forgot-link,
.terms-link {
  color: #6366f1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.forgot-link:hover,
.terms-link:hover {
  color: #4f46e5;
  text-decoration: underline;
}

.auth-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider span {
  position: relative;
  background: white;
  padding: 0 16px;
  font-size: 13px;
  color: #94a3b8;
}

.social-login-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.social-btn {
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.google-btn {
  color: #ea4335;
}

.facebook-btn {
  color: #1877f2;
}

.switch-auth {
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

.switch-auth a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.switch-auth a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .auth-modal-container {
    width: 95%;
    max-height: 95vh;
  }

  .auth-modal-content {
    grid-template-columns: 1fr;
  }

  .auth-modal-left {
    padding: 30px 20px;
    min-height: auto;
  }

  .auth-features {
    display: none;
  }

  .auth-modal-right {
    padding: 30px 20px;
  }

  .auth-form-title {
    font-size: 24px;
  }
}


#whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  background-color: #25D366;
  /* WhatsApp green */
  display: flex;
  justify-content: center;
  align-items: center;
}

#whatsapp-chat img {
  width: 35px;
  height: 35px;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
}

#whatsapp-chat:hover {
  transform: scale(1.1);
}

/* ========================================================================== 
   Auth UI Visibility 
   ========================================================================== */
.user-only {
  display: none !important;
}

body.user-logged-in .user-only {
  display: block !important;
}

body.user-logged-in div.user-only,
body.user-logged-in section.user-only,
body.user-logged-in nav.user-only {
  display: flex !important;
}

body.user-logged-in .guest-only {
  display: none !important;
}

.guest-only {
  display: block !important;
}

div.guest-only {
  display: flex !important;
}

/* Account Dropdown Styles 
   ========================================================================== */
.dropdown-intro {
  padding: 1.25rem 1.25rem 0.75rem;
  text-align: center;
}

.dropdown-intro .title {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.dropdown-profile {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(239, 68, 68, 0.05));
  border-bottom: 1px solid var(--border-color);
}

.profile-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.user-avatar-circle-large {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.dropdown-profile .name {
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.dropdown-profile .email {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
}

.welcome {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Section Dividers (Waves & Curves)
   ========================================================================== */
.section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  pointer-events: none;
  z-index: 10;
}

.section-divider svg {
  position: relative;
  display: block;
  width: calc(150% + 1.3px);
  height: 100px;
  transform: rotateY(180deg);
}

.section-divider .shape-fill {
  fill: var(--bg-secondary);
}

/* Specific Divider Types */
.divider-wave {
  bottom: -1px;
}

.divider-curve {
  bottom: -1px;
}

/* Inverted for Top of Sections */
.section-divider-top {
  top: 0;
  bottom: auto;
  transform: none;
}

/* Dark Mode Adaptation */
html.dark .section-divider .shape-fill {
  fill: var(--bg-secondary);
  /* Matches dark section bg */
}

/* Animations Utility Classes */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delay Utilities */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* ==========================================================================
   Hero & Cinematic Text Animations
   ========================================================================== */
.hero-title-cinematic {
  display: inline-block;
  font-weight: 900;
  color: transparent;
  background-image: linear-gradient(120deg,
      #fde047 0%,
      #fde047 25%,
      #facc15 35%,
      #fb923c 45%,
      #f97316 50%,
      #fb923c 55%,
      #facc15 65%,
      #fde047 75%,
      #fde047 100%);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gradientFlow 9s linear infinite;
  overflow: hidden;
}

@keyframes gradientFlow {
  0% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* ==========================================================================
   Mobile Performance Optimizations
   ========================================================================== */
@media (max-width: 768px) {

  /* Reduce blur radius on mobile for better frame rates */
  .glass-card,
  .tour-card-item,
  .puja-card-item,
  .compact-card,
  .intro-card,
  .header-scrolled {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  /* Disable some heavy animations on low-power mode/mobile if needed */
  .parallax-layer {
    transform: none !important;
    /* Disable parallax on mobile */
  }

  .section-divider svg {
    height: 60px;
    /* Smaller dividers on mobile */
  }
}

/* ==========================================================================
   Cart Animations
   ========================================================================== */
@keyframes cartPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}

.cart-pop-active {
  animation: cartPop 0.3s ease-out;
}

.cart-pop-active i,
.cart-pop-active span {
  color: #ef4444;
  /* Flash red on update */
}