/* custom.css - Custom Styles for Udaan Tour & Travels */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Custom fonts styling */
body {
  font-family: 'Inter', sans-serif;
  color: #1F2937;
  background-color: #F7FAFF;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: #081B3A;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F7FAFF;
}
::-webkit-scrollbar-thumb {
  background: #DCE7F5;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1557E8;
}

/* Base focus rings for accessibility */
*:focus-visible {
  outline: 3px solid #FF1E1E;
  outline-offset: 2px;
}

/* Hero Sky Background Gradients */
.hero-gradient {
  background: linear-gradient(180deg, #EAF3FF 0%, #FFFFFF 100%);
}

/* Gradient and high-contrast text styles for hero text visibility */
.hero-title-gradient {
  background: linear-gradient(135deg, #081B3A 0%, #1557E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0px 2px 3px rgba(255, 255, 255, 0.95)) drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.8));
}

.hero-title-gradient-accent {
  background: linear-gradient(135deg, #1557E8 0%, #FF1E1E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0px 2px 3px rgba(255, 255, 255, 0.95)) drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.8));
}

.hero-text-glow {
  text-shadow: 
    0px 2px 3px rgba(255, 255, 255, 0.95), 
    0px -2px 3px rgba(255, 255, 255, 0.95), 
    2px 0px 3px rgba(255, 255, 255, 0.95), 
    -2px 0px 3px rgba(255, 255, 255, 0.95),
    0px 0px 10px rgba(255, 255, 255, 0.9), 
    0px 0px 15px rgba(255, 255, 255, 0.7);
}

/* Primary and Secondary Blue Overlays */
.blue-gradient-cta {
  background: linear-gradient(135deg, #1557E8 0%, #081B3A 100%);
}

/* Animations */

/* Airplane Floating Movement */
@keyframes planeFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-1deg);
  }
}
.animate-plane {
  animation: planeFloat 6s ease-in-out infinite;
}

/* Cloud Slow Movement */
@keyframes cloudMoveOne {
  0% { transform: translateX(-5%); }
  50% { transform: translateX(5%); }
  100% { transform: translateX(-5%); }
}
@keyframes cloudMoveTwo {
  0% { transform: translateX(5%); }
  50% { transform: translateX(-5%); }
  100% { transform: translateX(5%); }
}
.animate-cloud-1 {
  animation: cloudMoveOne 15s ease-in-out infinite;
}
.animate-cloud-2 {
  animation: cloudMoveTwo 20s ease-in-out infinite;
}

/* Hot-air Balloon Floating */
@keyframes balloonFloat {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-20px) translateX(5px);
  }
}
.animate-balloon {
  animation: balloonFloat 8s ease-in-out infinite;
}

/* Floating icons/particles */
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}
.animate-particle {
  animation: floatParticle 4s ease-in-out infinite;
}

/* Path stroke animation */
@keyframes drawPath {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.animate-route {
  stroke-dasharray: 10;
  animation: drawPath 40s linear infinite;
}

/* WhatsApp Pulse Animation */
@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}
.animate-wa-pulse {
  animation: waPulse 2s infinite;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 231, 245, 0.6);
}

.glass-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Reveal Scroll Transitions */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered load support via inline transition delays */

/* Card hover zooms and transitions */
.hover-card-trigger {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-card-trigger:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(21, 87, 232, 0.1), 0 10px 10px -5px rgba(21, 87, 232, 0.04);
}

.hover-img-zoom {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-card-trigger:hover .hover-img-zoom {
  transform: scale(1.08);
}

/* Accordion max-height transitions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

/* Dynamic Line Connector for Timeline */
.step-line::after {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 0;
  left: 1.25rem;
  width: 2px;
  background-image: linear-gradient(to bottom, #1557E8 50%, transparent 50%);
  background-size: 2px 8px;
}
.step-line-last::after {
  display: none;
}

/* Slider transition container */
.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Breadcrumb Styling */
.breadcrumb-bg {
  background: linear-gradient(90deg, #EAF3FF 0%, #F7FAFF 100%);
}

/* Accessible focus outlines for custom interactive items */
.custom-focus:focus {
  outline: 3px solid #FF1E1E;
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .animate-plane,
  .animate-cloud-1,
  .animate-cloud-2,
  .animate-balloon,
  .animate-particle,
  .animate-route,
  .animate-wa-pulse {
    animation: none !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Hide scrollbars for side-scrolling grids on mobile */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
