/* ============================================================
   Ranthambore Hospitality — Shared Stylesheet
   Custom styles layered on top of Tailwind CDN utilities.
   ============================================================ */

html {
  background: #FBF9F3;
  scroll-padding-top: 132px;
}

.elev-tag {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
}

/* Terrain-line section divider — echoes the ridges around Ranthambore Fort */
.contour-divider {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: -1px;
}

.card-lift {
  transition: transform .5s cubic-bezier(.25,1,.5,1), box-shadow .5s cubic-bezier(.25,1,.5,1);
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -12px rgba(34,58,46,0.18);
}

.img-zoom {
  transition: transform .8s cubic-bezier(.25,1,.5,1);
}
.card-lift:hover .img-zoom {
  transform: scale(1.06);
}

.underline-grow {
  position: relative;
}
.underline-grow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: #B15328;
  transition: width .4s cubic-bezier(.25,1,.5,1);
}
.underline-grow:hover::after,
.underline-grow.is-active::after {
  width: 100%;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.bob {
  animation: bob 2.6s ease-in-out infinite;
}

/* Itinerary accordion (used on travel-packages.php) */
.itin-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.25,1,.5,1);
}
.itin-item.open .itin-panel {
  max-height: 900px;
}
.itin-item.open .itin-chevron {
  transform: rotate(180deg);
}
.itin-chevron {
  transition: transform .35s ease;
}

/* Simple fade-up on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
