/* Happy Travellers photo slider tiles */
.story-photo-tile {
  flex: 0 0 85%;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .story-photo-tile { flex: 0 0 45%; }
}
@media (min-width: 1024px) {
  .story-photo-tile { flex: 0 0 calc((100% - 3rem) / 3); }
}

/* Reviews section: Tripadvisor / Google tab switcher */
.review-tab {
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid oklch(100% 0 0 / 0.25);
  background: transparent;
  color: oklch(100% 0 0 / 0.7);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.review-tab.is-active {
  background: var(--gold);
  color: var(--ink);
  border-color: transparent;
}

/* Traveller-stories slider: pill tabs + bullet dots */
.story-tab {
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid oklch(0% 0 0 / 0.15);
  background: #fff;
  color: oklch(0% 0 0 / 0.7);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.story-tab.is-active {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 10px 15px -3px oklch(0% 0 0 / 0.15);
}
.story-dot {
  display: inline-block;
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background: oklch(0% 0 0 / 0.2);
  transition: width .3s ease, background-color .3s ease;
}
.story-dot.is-active {
  width: 20px;
  background: var(--gold);
}

/* Organic blob shapes for the "Who We Are" photo collage */
.blob-shape-a { border-radius: 63% 37% 41% 59% / 50% 46% 54% 50%; }
.blob-shape-b { border-radius: 38% 62% 63% 37% / 47% 40% 60% 53%; }

/* Outline pill button that inverts to solid ink on hover */
.btn-outline-ink {
  border: 1px solid var(--ink);
  color: var(--ink);
  background-color: transparent;
  transition: background-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-outline-ink:hover {
  background-color: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px oklch(0% 0 0 / 0.35);
}

/* Reveal-on-scroll animations */
.reveal { /* opacity: 0; */ transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Simple keyframes helpers used by JS */
@keyframes fadeUp { from { opacity:0; transform:translateY(16px);} to { opacity:1; transform:none;} }
.fade-up { animation: fadeUp .6s ease both; }

/* Hide scrollbars on carousels (parity with app) */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

html { scroll-behavior: smooth; }

/* Header nav bar: shorter on mobile to cut the excess top/bottom whitespace around the logo */
.site-header-nav { height: 80px; }
@media (min-width: 768px) { .site-header-nav { height: 96px; } }

/* Nav item text: 14px instead of mt-styles.css's default 15px */
.text-md { font-size: 14px; line-height: 1.4; }

/* Missing Tailwind-style utility: was already used in markup (e.g. the
   Destinations dropdown's state names) but never defined, so it silently
   did nothing. */
.capitalize { text-transform: capitalize; }

/* Another missing utility: used on the hero search icon (index-view.php)
   and the search-results page's search bar, but never defined. */
.ml-4 { margin-left: 15px; }

/* "Tour Packages" nav dropdown: same simple single-column list style as
   Destinations (.nav-link-item), just wider to fit longer category names,
   and lets those names wrap instead of forcing a wide box. */
.nav-dropdown-medium { width: 300px; }
.nav-dropdown-medium .nav-dropdown-box { padding: 10px; }
.nav-dropdown-medium .nav-link-item { white-space: normal; }

/* Dropdown polish: smoother/springier entrance, icon badges per row, a
   hover-reveal arrow for affordance, an eyebrow label, and a "view all"
   footer link — applied to both the Tour Packages and Destinations lists. */
.nav-dropdown { transition: opacity .2s ease, visibility .2s ease; }
.nav-dropdown-box {
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .22s ease;
  transform: translateY(10px) scale(.98);
  opacity: 0;
}
.nav-item:hover .nav-dropdown-box,
.nav-item:focus-within .nav-dropdown-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.nav-dropdown-eyebrow {
  margin: 2px 4px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,168,76,.25);
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: rgba(10,10,10,.4);
}

.nav-link-item {
  justify-content: flex-start;
  padding: 10px 12px !important;
  margin: 0 0 2px !important;
}
.nav-link-item:hover { padding-left: 12px !important; }

.nav-link-label { flex: 1; }

.nav-link-arrow {
  width: 14px; height: 14px; flex-shrink: 0;
  color: #c9a84c;
  opacity: 0; transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-link-item:hover .nav-link-arrow { opacity: 1; transform: translateX(0); }

.nav-dropdown-footer {
  display: block;
  margin: 6px 4px 2px;
  padding: 10px 12px;
  border-top: 1px solid rgba(10,10,10,.06);
  border-radius: 8px;
  text-align: center;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: #8a7327;
  transition: background-color .15s ease, color .15s ease;
}
.nav-dropdown-footer:hover { background: rgba(201,168,76,.1); color: #0a0a0a; }

/* Mobile header: hamburger button + slide-down menu panel (desktop nav already covers lg and up) */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid oklch(0% 0 0 / 0.1);
  background: transparent;
  color: oklch(0% 0 0);
  transition: background-color .2s ease, border-color .2s ease;
}
.mobile-menu-btn:hover { background-color: oklch(0% 0 0 / 0.04); border-color: oklch(0% 0 0 / 0.18); }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.hamburger-icon { position: relative; display: block; width: 20px; height: 14px; }
.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 6px; }
.hamburger-line:nth-child(3) { top: 12px; }

/* Full-screen app-style menu sheet: slides up from the bottom, sits below the sticky header */
.mobile-menu-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 96px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: oklch(100% 0 0);
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.22,.61,.36,1);
  visibility: hidden;
}
.mobile-menu-panel.mobile-menu-open { transform: translateY(0); visibility: visible; }
@media (min-width: 1024px) { .mobile-menu-panel { display: none; } }

.mobile-menu-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: oklch(0% 0 0 / 0.05);
  color: oklch(0% 0 0);
  transition: background-color .2s ease;
}
.mobile-menu-close:hover { background-color: oklch(0% 0 0 / 0.1); }

.mobile-nav-link { transition: background-color .18s ease, color .18s ease; }
.mobile-nav-link:hover, .mobile-nav-link:active { background-color: oklch(0% 0 0 / 0.04); color: oklch(55% .12 85); }

.mobile-nav-sublink { transition: background-color .18s ease, color .18s ease; }
.mobile-nav-sublink:hover, .mobile-nav-sublink:active { background-color: oklch(0% 0 0 / 0.04); color: oklch(55% .12 85); }

/* --- Accessibility & consistency corrections --- */
/* Accessible gold text: WCAG-AA deep gold on light surfaces (default),
   bright gold only on dark sections/hero where it already passes. */
.text-gold,.text-gold\/90{color:oklch(55% .12 85)}
.bg-ink .text-gold,.bg-clay .text-gold,#top .text-gold,
.bg-ink .text-gold\/90,.bg-clay .text-gold\/90{color:oklch(74% .13 85)}

/* Accessible ink captions: text-ink/40 and text-ink/50 (small uppercase labels, meta text)
   render around 2.4:1 and 3.4:1 against white, failing WCAG AA for small text (needs 4.5:1). */
.text-ink\/40,.text-ink\/50{color:oklch(45% 0 0)}

/* Accessible gold CTA buttons: white (paper) text on the bright brand gold renders around
   2.3:1, failing WCAG AA (needs 4.5:1). Use dark ink text on gold instead (~9:1). */
.bg-gold.text-paper{color:var(--ink)}

/* Destination card "View Packages" reveal button: sits close under the badge at rest,
   drops to a clear gap below the title once revealed on hover (matches live reference) */
.reveal-badge { transform: translateY(1rem); }
.group:hover .reveal-badge { transform: translateY(2.75rem); }

/* Floating action buttons: fixed circle + icon size */
.fab-circle { width: 50px; height: 50px; }
.fab-circle svg { width: 24px; height: 24px; }

/* Soft mint WhatsApp badge (icon-only, matches brand green at low opacity) */
.fab-whatsapp-soft { background-color: rgba(37,211,102,.15); color: #25D366; }

/* Floating WhatsApp button: gentle attention-grabbing bounce + pulsing brand-green glow, paused on hover.
   The glow ring animates transform/opacity (compositor-only) instead of box-shadow, which forces paint every frame. */
@keyframes fabBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fabGlowRing {
  0%,100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.35); opacity: 0; }
}
.fab-bounce.fab-glow-whatsapp {
  position: relative;
  animation: fabBounce 1.8s ease-in-out infinite;
}
.fab-bounce.fab-glow-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(37,211,102,.55);
  animation: fabGlowRing 1.8s ease-in-out infinite;
  pointer-events: none;
}
.fab-bounce.fab-glow-whatsapp:hover { animation-play-state: paused; }
.fab-bounce.fab-glow-whatsapp:hover::after { animation-play-state: paused; }

/* Package card "View Details" button: black on hover instead of the default lighter clay tint */
.view-details-btn:hover { background-color: #000; }

/* Newsletter email input: dark placeholder to match the white pill background */
.email-input::placeholder { color: rgba(0,0,0,.45); }

/* Unified CTA feel: consistent pill hover lift for primary/secondary buttons */
a[class*="rounded-full"][class*="bg-"],
button[class*="rounded-full"][class*="bg-"]{transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease}
a[class*="rounded-full"][class*="bg-"]:hover,
button[class*="rounded-full"][class*="bg-"]:hover{transform:translateY(-1px)}

/* Blog category filter buttons: no lift on hover, just a pointer cursor */
[data-blog-filter] button{cursor:pointer}
[data-blog-filter] button[class*="rounded-full"][class*="bg-"]:hover{transform:none}

/* Read More / Read Less: clamps long copy to ~5 lines with a soft fade, expands on click */
.readmore-content { position: relative; overflow: hidden; transition: max-height .35s ease; }
.readmore-content.collapsed { max-height: 200px; }
.readmore-content.collapsed::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
@media (max-width: 767px) {
  .readmore-content.collapsed { max-height: 300px; }
}
.readmore-toggle {
  margin-top: 10px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--gold);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.readmore-toggle:hover { text-decoration: underline; }

/* Blog card "Read More" link: darkens and nudges its arrow forward on hover */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: var(--gold);
  font-weight: 600;
  transition: color .25s ease, gap .25s ease;
}
.blog-read-more svg { transition: transform .25s ease; flex-shrink: 0; }
.blog-read-more:hover { color: var(--ink); gap: .625rem; }
.blog-read-more:hover svg { transform: translateX(3px); }

/* Photo gallery lightbox: fixed full-screen viewer, translucent backdrop, image scaled to fit within the window */
.mt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 15, 20, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mt-lightbox.mt-lightbox-open { display: flex; }
.mt-lightbox-image {
  max-height: 92vh;
  max-width: 92vw;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: .5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}

/* Hotel detail hero photo slider: one photo at a time, navy rounded frame, right under the page title */
.hotel-hero-frame {
  position: relative;
  margin: 2rem auto 0;
  border: 14px solid #1c3766;
  border-radius: 26px;
  background: #1c3766;
}
.hotel-hero-frame-mat {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 10px 10px 34px;
  overflow: hidden;
}
.hotel-hero-slide { flex: 0 0 100%; scroll-snap-align: start; }
.hotel-hero-slide img { width: 100%; height: 380px; object-fit: cover; display: block; border-radius: 10px; }
.hotel-hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background: rgba(255,255,255,.9);
  color: #1c3766;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: background-color .2s ease;
}
.hotel-hero-slider-btn:hover { background: #fff; }
.hotel-hero-slider-prev { left: 14px; }
.hotel-hero-slider-next { right: 14px; }
.hotel-hero-slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.hotel-hero-slider-dot { width: 7px; height: 7px; border-radius: 9999px; background: rgba(28,55,102,.25); }
.hotel-hero-slider-dot.is-active { background: #1c3766; }
