/* Alta Travel — custom styles on top of Tailwind CDN */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Hero background with dark overlay */
.hero-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-overlay {
  background: linear-gradient(180deg, rgba(2,6,23,0.55) 0%, rgba(2,6,23,0.75) 55%, rgba(2,6,23,0.96) 100%);
}

.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
}

.text-shadow {
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

/* Fade-in-up animation triggered by JS (adds .in-view).
   Starts subtle (not fully hidden) so content is never invisible if JS
   is slow/blocked, and degrades gracefully without JS via noscript. */
.reveal {
  opacity: 0.001;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Simple marquee / ticker for highlights strip */
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Custom scrollbar for a slightly more premium feel */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #b45309;
  border-radius: 8px;
}

/* Itinerary timeline line */
.timeline-line {
  position: absolute;
  left: 1.35rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(251,146,60,0.7), rgba(251,146,60,0.05));
}

@media (max-width: 767px) {
  .timeline-line { left: 1.05rem; }
}

.gold-gradient-text {
  background: linear-gradient(90deg, #fbbf24, #f97316, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,0.5), transparent);
}
