/* ==========================================================================
   Apna Tour - "Sunny Postcard" Master Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--ap-font-body);
  color: var(--ap-text-main);
  background-color: var(--ap-bg-warm);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: var(--ap-bg-warm);
  min-height: 100vh;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ap-transition-fast);
}

button, input, select, textarea {
  font: inherit;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ap-font-heading);
  color: var(--ap-blue-primary);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.font-heading { font-family: var(--ap-font-heading); }
.font-body { font-family: var(--ap-font-body); }

/* Layout Containers */
.ap-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.ap-section {
  padding: 72px 0;
  position: relative;
}

@media (max-width: 768px) {
  .ap-section {
    padding: 48px 0;
  }
}

.bg-warm { background-color: var(--ap-bg-warm); }
.bg-sky { background-color: var(--ap-bg-sky); }
.bg-white { background-color: #ffffff; }

/* Section Headers - IMAGE-FIRST, MINIMAL TEXT */
.ap-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.ap-pill-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--ap-orange-soft);
  color: var(--ap-orange);
  border-radius: var(--ap-radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(255, 122, 26, 0.12);
}

.ap-section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 10px;
  color: var(--ap-blue-primary);
}

.ap-section-desc {
  font-size: 16px;
  color: var(--ap-text-muted);
  font-weight: 500;
}

/* River Wave SVG Dividers */
.ap-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateZ(0);
}

.ap-wave-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 48px;
}

/* ==========================================================================
   Offer Strip
   ========================================================================== */
.ap-offer-strip {
  background: linear-gradient(90deg, #FF7A1A 0%, #FF9E2C 50%, #FF7A1A 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 50;
  letter-spacing: 0.02em;
}

.ap-offer-strip a {
  color: #FFF9E6;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
  font-weight: 800;
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.ap-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ap-border-card);
  transition: all var(--ap-transition-base);
}

.ap-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.ap-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ap-brand img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform var(--ap-transition-fast);
}

.ap-brand:hover img {
  transform: scale(1.04) rotate(-1deg);
}

.ap-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.ap-nav-link {
  font-weight: 700;
  font-size: 15px;
  color: var(--ap-text-main);
  position: relative;
  padding: 6px 2px;
  display: inline-block;
}

.ap-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--ap-orange);
  border-radius: 2px;
  transition: width var(--ap-transition-base);
}

.ap-nav-link:hover::after,
.ap-nav-link.active::after {
  width: 100%;
}

.ap-nav-link:hover,
.ap-nav-link.active {
  color: var(--ap-blue-primary);
}

.ap-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ap-btn-call-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background-color: #FFFFFF;
  color: var(--ap-blue-primary);
  border: 1.5px solid var(--ap-blue-primary);
  border-radius: var(--ap-radius-full);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--ap-shadow-sm);
  transition: all var(--ap-transition-fast);
}

.ap-btn-call-nav:hover {
  background-color: var(--ap-blue-primary);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.ap-btn-wa-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--ap-green);
  color: #FFFFFF;
  border-radius: var(--ap-radius-full);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(63, 163, 77, 0.3);
  transition: all var(--ap-transition-fast);
}

.ap-btn-wa-nav:hover {
  background-color: #33893e;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.ap-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ap-blue-primary);
}

@media (max-width: 991px) {
  .ap-nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--ap-shadow-xl);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--ap-transition-base);
    z-index: 39;
  }

  .ap-nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .ap-mobile-toggle {
    display: block;
  }

  .ap-btn-wa-nav {
    display: none;
  }
}

/* ==========================================================================
   Buttons & Micro-interactions
   ========================================================================== */
.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--ap-radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--ap-transition-base);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ap-btn-primary {
  background: linear-gradient(135deg, var(--ap-orange) 0%, #FF9036 100%);
  color: #FFFFFF;
  box-shadow: var(--ap-shadow-orange);
}

.ap-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 122, 26, 0.45);
  color: #FFFFFF;
}

.ap-btn-secondary {
  background-color: #FFFFFF;
  color: var(--ap-blue-primary);
  border: 2px solid var(--ap-blue-primary);
  box-shadow: var(--ap-shadow-sm);
}

.ap-btn-secondary:hover {
  background-color: var(--ap-blue-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.ap-btn-green {
  background: linear-gradient(135deg, var(--ap-green) 0%, #46B956 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(63, 163, 77, 0.35);
}

.ap-btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(63, 163, 77, 0.45);
  color: #FFFFFF;
}

/* Ripple micro-interaction */
.ap-ripple {
  position: relative;
  overflow: hidden;
}

.ap-ripple-ink {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: ap-ripple-anim 0.6s linear;
}

@keyframes ap-ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   Hero Section with 3D Scene
   ========================================================================== */
.ap-hero-section {
  padding: 40px 0 60px 0;
  background: radial-gradient(circle at 80% 20%, #FFF4E5 0%, #FFFDF8 60%);
  position: relative;
  overflow: hidden;
}

.ap-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

@media (max-width: 991px) {
  .ap-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.ap-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--ap-yellow-soft);
  color: #A06400;
  border: 1px solid rgba(255, 201, 60, 0.5);
  border-radius: var(--ap-radius-full);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.ap-hero-title {
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--ap-blue-primary);
}

.ap-hero-title .highlight {
  color: var(--ap-orange);
  position: relative;
  display: inline-block;
}

.ap-hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: rgba(255, 201, 60, 0.35);
  border-radius: 4px;
  z-index: -1;
}

.ap-hero-subtitle {
  font-size: 18px;
  color: var(--ap-text-muted);
  margin-bottom: 24px;
  font-weight: 500;
  max-width: 540px;
}

.ap-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

/* Floating Quick Search Card */
.ap-hero-search-card {
  background: #FFFFFF;
  border-radius: var(--ap-radius-xl);
  padding: 20px 24px;
  box-shadow: var(--ap-shadow-xl);
  border: 1px solid var(--ap-border-card);
  max-width: 580px;
}

.ap-search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

@media (max-width: 640px) {
  .ap-search-form {
    grid-template-columns: 1fr;
  }
}

.ap-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ap-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ap-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ap-field-input {
  width: 100%;
  padding: 10px 12px;
  background-color: var(--ap-bg-warm);
  border: 1.5px solid rgba(15, 35, 71, 0.1);
  border-radius: var(--ap-radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ap-text-main);
  outline: none;
  transition: border-color var(--ap-transition-fast);
}

.ap-field-input:focus {
  border-color: var(--ap-orange);
  background-color: #FFFFFF;
}

/* 3D Visual Container */
.ap-hero-3d-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .ap-hero-3d-wrap {
    height: 380px;
  }
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--ap-radius-xl);
  pointer-events: auto;
}

/* 3D Fallback / Postcard Badge Stack */
.ap-hero-postcard-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ap-stamp-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #FFFFFF;
  border: 2px dashed var(--ap-orange);
  padding: 8px 14px;
  border-radius: var(--ap-radius-md);
  transform: rotate(6deg);
  box-shadow: var(--ap-shadow-md);
  font-size: 12px;
  font-weight: 800;
  color: var(--ap-orange);
  text-transform: uppercase;
  z-index: 10;
  letter-spacing: 0.05em;
}

.ap-flight-badge {
  position: absolute;
  bottom: 20px;
  left: 10px;
  background: #FFFFFF;
  border-radius: var(--ap-radius-lg);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--ap-shadow-lg);
  z-index: 10;
  animation: ap-float-slow 4s ease-in-out infinite;
}

@keyframes ap-float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   Trust Chips
   ========================================================================== */
.ap-trust-bar {
  background-color: #FFFFFF;
  border-top: 1px solid var(--ap-border-card);
  border-bottom: 1px solid var(--ap-border-card);
  padding: 20px 0;
  box-shadow: var(--ap-shadow-sm);
}

.ap-trust-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
}

.ap-trust-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ap-text-main);
  background: var(--ap-bg-warm);
  padding: 8px 16px;
  border-radius: var(--ap-radius-full);
  border: 1px solid rgba(15, 35, 71, 0.05);
}

.ap-trust-chip svg {
  color: var(--ap-orange);
  flex-shrink: 0;
}

/* ==========================================================================
   Vibe Tiles (Activities)
   ========================================================================== */
.ap-vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .ap-vibe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .ap-vibe-grid {
    grid-template-columns: 1fr;
  }
}

.ap-vibe-tile {
  background: #FFFFFF;
  border-radius: var(--ap-radius-xl);
  overflow: hidden;
  box-shadow: var(--ap-shadow-md);
  transition: all var(--ap-transition-spring);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ap-border-card);
  perspective: 1000px;
}

.ap-vibe-tile:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--ap-shadow-xl);
}

.ap-vibe-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #E6EFF8;
}

.ap-vibe-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.ap-vibe-tile:hover .ap-vibe-media img {
  transform: scale(1.08);
}

.ap-vibe-media video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ap-vibe-tile:hover .ap-vibe-media video {
  opacity: 1;
}

.ap-vibe-price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--ap-blue-primary);
  font-family: var(--ap-font-heading);
  font-size: 15px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--ap-radius-full);
  box-shadow: var(--ap-shadow-sm);
}

.ap-vibe-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ap-vibe-title {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--ap-blue-primary);
}

.ap-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ap-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--ap-radius-full);
  background-color: var(--ap-bg-warm);
  color: var(--ap-text-muted);
}

.ap-vibe-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--ap-border-card);
}

.ap-vibe-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--ap-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ap-vibe-btn:hover {
  color: var(--ap-orange-hover);
  transform: translateX(3px);
}

/* ==========================================================================
   Ticket-Shaped Package Cards
   ========================================================================== */
.ap-ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991px) {
  .ap-ticket-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

.ap-ticket-card {
  background: #FFFFFF;
  border-radius: var(--ap-radius-xl);
  box-shadow: var(--ap-shadow-lg);
  border: 1px solid var(--ap-border-card);
  position: relative;
  overflow: visible;
  transition: all var(--ap-transition-spring);
  display: flex;
  flex-direction: column;
}

.ap-ticket-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ap-shadow-xl);
}

/* Notched Boarding Pass styling */
.ap-ticket-cutout-left,
.ap-ticket-cutout-right {
  position: absolute;
  top: 260px;
  width: 24px;
  height: 24px;
  background-color: var(--ap-bg-sky);
  border-radius: 50%;
  z-index: 5;
}

.bg-warm .ap-ticket-cutout-left,
.bg-warm .ap-ticket-cutout-right {
  background-color: var(--ap-bg-warm);
}

.ap-ticket-cutout-left { left: -12px; }
.ap-ticket-cutout-right { right: -12px; }

.ap-ticket-perforated {
  position: absolute;
  top: 271px;
  left: 20px;
  right: 20px;
  border-top: 2px dashed rgba(15, 35, 71, 0.15);
  z-index: 4;
}

.ap-ticket-media {
  position: relative;
  height: 200px;
  border-radius: var(--ap-radius-xl) var(--ap-radius-xl) 0 0;
  overflow: hidden;
}

.ap-ticket-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ap-ticket-card:hover .ap-ticket-media img {
  transform: scale(1.06);
}

/* Best Seller Sticker with Wiggle Animation */
.ap-sticker-bestseller {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, #FFC93C 0%, #FFA800 100%);
  color: #573300;
  padding: 6px 14px;
  border-radius: var(--ap-radius-md);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 168, 0, 0.4);
  transform: rotate(4deg);
  z-index: 10;
  animation: ap-wiggle 3s ease-in-out infinite;
}

@keyframes ap-wiggle {
  0%, 80%, 100% { transform: rotate(4deg); }
  85% { transform: rotate(-4deg) scale(1.05); }
  90% { transform: rotate(4deg) scale(1.05); }
  95% { transform: rotate(-2deg); }
}

.ap-ticket-top {
  padding: 20px 24px 15px 24px;
}

.ap-ticket-title {
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--ap-blue-primary);
}

.ap-ticket-duration {
  font-size: 13px;
  font-weight: 700;
  color: var(--ap-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ap-ticket-bottom {
  padding: 28px 24px 24px 24px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ap-ticket-highlights {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ap-text-muted);
}

.ap-ticket-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ap-ticket-highlights li svg {
  color: var(--ap-green);
  flex-shrink: 0;
}

.ap-ticket-pricing {
  margin-top: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.ap-price-val {
  font-family: var(--ap-font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--ap-blue-primary);
}

.ap-price-unit {
  font-size: 13px;
  color: var(--ap-text-subtle);
  font-weight: 600;
}

/* ==========================================================================
   Resorts Section (AT 01, AT 02, AT 03 Shivpuri)
   ========================================================================== */
.ap-resort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991px) {
  .ap-resort-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

.ap-resort-card {
  background: #FFFFFF;
  border-radius: var(--ap-radius-xl);
  overflow: hidden;
  box-shadow: var(--ap-shadow-lg);
  border: 1px solid var(--ap-border-card);
  transition: all var(--ap-transition-spring);
  display: flex;
  flex-direction: column;
}

.ap-resort-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ap-shadow-xl);
}

.ap-resort-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.ap-resort-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease-in-out;
}

.ap-resort-card:hover .ap-resort-media img {
  transform: scale(1.1); /* Ken Burns slow zoom */
}

.ap-resort-code {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ap-blue-primary);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--ap-radius-md);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.ap-resort-rate {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--ap-blue-primary);
  padding: 4px 12px;
  border-radius: var(--ap-radius-full);
  font-family: var(--ap-font-heading);
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--ap-shadow-sm);
}

.ap-resort-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ap-resort-title {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--ap-blue-primary);
}

.ap-resort-loc {
  font-size: 13px;
  color: var(--ap-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.ap-amenities-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ap-amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: var(--ap-bg-sky);
  color: var(--ap-blue-primary);
  border-radius: var(--ap-radius-full);
  font-size: 12px;
  font-weight: 700;
}

/* ==========================================================================
   Animated SVG Route & Transport Fleet
   ========================================================================== */
.ap-route-wrapper {
  background: #FFFFFF;
  border-radius: var(--ap-radius-xl);
  padding: 32px;
  box-shadow: var(--ap-shadow-md);
  border: 1px solid var(--ap-border-card);
  margin-bottom: 48px;
}

.ap-route-svg-box {
  width: 100%;
  position: relative;
  overflow: visible;
}

.ap-route-svg-box svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.ap-flight-path {
  stroke-dasharray: 8 6;
  animation: ap-dash-move 20s linear infinite;
}

@keyframes ap-dash-move {
  to {
    stroke-dashoffset: -100;
  }
}

.ap-transport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .ap-transport-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .ap-transport-grid {
    grid-template-columns: 1fr;
  }
}

.ap-transport-card {
  background: #FFFFFF;
  border-radius: var(--ap-radius-xl);
  padding: 24px;
  text-align: center;
  box-shadow: var(--ap-shadow-md);
  border: 1px solid var(--ap-border-card);
  transition: all var(--ap-transition-spring);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ap-transport-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ap-shadow-xl);
  border-color: rgba(31, 79, 191, 0.2);
}

.ap-transport-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--ap-radius-lg);
  background: var(--ap-bg-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ap-blue-primary);
  transition: transform var(--ap-transition-spring);
}

.ap-transport-card:hover .ap-transport-icon-box {
  transform: scale(1.1) rotate(-4deg);
  background: var(--ap-orange-soft);
  color: var(--ap-orange);
}

.ap-transport-title {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--ap-blue-primary);
}

.ap-transport-price {
  font-family: var(--ap-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--ap-orange);
  margin-bottom: 14px;
}

/* ==========================================================================
   Polaroid Gallery
   ========================================================================== */
.ap-polaroid-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  perspective: 1000px;
}

@media (max-width: 991px) {
  .ap-polaroid-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .ap-polaroid-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

.ap-polaroid-card {
  background: #FFFFFF;
  padding: 14px 14px 22px 14px;
  box-shadow: var(--ap-shadow-lg);
  border-radius: 6px;
  transition: all var(--ap-transition-spring);
  position: relative;
  border: 1px solid rgba(15, 35, 71, 0.08);
}

.ap-polaroid-card:nth-child(1) { transform: rotate(-3deg); }
.ap-polaroid-card:nth-child(2) { transform: rotate(2.5deg); }
.ap-polaroid-card:nth-child(3) { transform: rotate(-2deg); }
.ap-polaroid-card:nth-child(4) { transform: rotate(3deg); }

.ap-polaroid-card:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.04);
  box-shadow: var(--ap-shadow-xl);
  z-index: 10;
}

.ap-polaroid-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #EEE;
  border-radius: 4px;
  margin-bottom: 12px;
}

.ap-polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ap-polaroid-card:hover .ap-polaroid-img-wrap img {
  transform: scale(1.08);
}

.ap-polaroid-caption {
  font-family: var(--ap-font-heading);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--ap-text-main);
}

/* ==========================================================================
   Reviews Marquee
   ========================================================================== */
.ap-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ap-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ap-marquee-scroll 32s linear infinite;
}

.ap-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes ap-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ap-review-card {
  background: #FFFFFF;
  border-radius: var(--ap-radius-xl);
  padding: 24px;
  width: 360px;
  flex-shrink: 0;
  box-shadow: var(--ap-shadow-md);
  border: 1px solid var(--ap-border-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ap-review-stars {
  color: var(--ap-yellow);
  font-size: 16px;
  margin-bottom: 10px;
}

.ap-review-text {
  font-size: 15px;
  color: var(--ap-text-main);
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 16px;
}

.ap-reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ap-reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ap-blue-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

.ap-reviewer-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ap-blue-primary);
}

.ap-reviewer-loc {
  font-size: 12px;
  color: var(--ap-text-muted);
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.ap-cta-banner {
  background: linear-gradient(135deg, #1F4FBF 0%, #0D2C7A 100%);
  border-radius: var(--ap-radius-xl);
  padding: 56px 36px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ap-shadow-xl);
}

.ap-cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(28px, 4.5vw, 46px);
  margin-bottom: 14px;
}

.ap-cta-banner p {
  color: #E2ECFF;
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.ap-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ap-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--ap-border-card);
  padding: 64px 0 24px 0;
}

.ap-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}

@media (max-width: 991px) {
  .ap-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .ap-footer-grid {
    grid-template-columns: 1fr;
  }
}

.ap-footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
}

.ap-footer-desc {
  font-size: 14px;
  color: var(--ap-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ap-footer-social {
  display: flex;
  gap: 12px;
}

.ap-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ap-bg-sky);
  color: var(--ap-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ap-transition-fast);
}

.ap-social-link:hover {
  background: var(--ap-orange);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.ap-footer-col h4 {
  font-size: 17px;
  margin-bottom: 18px;
  color: var(--ap-blue-primary);
}

.ap-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ap-text-muted);
}

.ap-footer-links a:hover {
  color: var(--ap-orange);
  transform: translateX(3px);
}

.ap-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--ap-border-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--ap-text-subtle);
}

/* ==========================================================================
   Modern Native <dialog> Bottom-Sheet / Modal (Modern Web Guidance)
   ========================================================================== */
dialog#enquiryModal {
  position: fixed;
  inset: auto 0 0 0;
  margin: auto;
  border: none;
  background: transparent;
  padding: 0;
  max-width: 520px;
  width: 100%;
  z-index: 100;
  overscroll-behavior: contain;
}

@media (min-width: 641px) {
  dialog#enquiryModal {
    inset: 0;
    max-height: 90vh;
  }
}

dialog#enquiryModal::backdrop {
  background: rgba(15, 35, 71, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity 0.3s ease, overlay 0.3s ease allow-discrete, display 0.3s ease allow-discrete;
}

dialog#enquiryModal[open]::backdrop {
  opacity: 1;
}

@starting-style {
  dialog#enquiryModal[open]::backdrop {
    opacity: 0;
  }
}

.ap-dialog-box {
  background: #FFFFFF;
  border-radius: var(--ap-radius-xl) var(--ap-radius-xl) 0 0;
  padding: 32px 28px;
  box-shadow: 0 -10px 40px rgba(15, 35, 71, 0.2);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@media (min-width: 641px) {
  .ap-dialog-box {
    border-radius: var(--ap-radius-xl);
    transform: translateY(20px) scale(0.96);
    box-shadow: var(--ap-shadow-xl);
  }
}

dialog#enquiryModal[open] .ap-dialog-box {
  transform: translateY(0) scale(1);
}

@starting-style {
  dialog#enquiryModal[open] .ap-dialog-box {
    transform: translateY(100%);
  }
}

.ap-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ap-dialog-close {
  background: var(--ap-bg-warm);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ap-text-muted);
  font-size: 18px;
  transition: all var(--ap-transition-fast);
}

.ap-dialog-close:hover {
  background: var(--ap-orange-soft);
  color: var(--ap-orange);
}

/* ==========================================================================
   Mobile Sticky Bottom Bar & Floating WhatsApp
   ========================================================================= */
.ap-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--ap-border-card);
  padding: 8px 14px;
  z-index: 45;
  box-shadow: 0 -4px 18px rgba(15, 35, 71, 0.08);
}

.ap-sticky-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
}

.ap-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: var(--ap-radius-full);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.ap-sticky-call {
  background-color: var(--ap-bg-sky);
  color: var(--ap-blue-primary);
}

.ap-sticky-wa {
  background-color: var(--ap-green);
  color: #FFFFFF;
}

.ap-sticky-enq {
  background-color: var(--ap-orange);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .ap-mobile-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 64px; /* prevent footer overlap */
  }
}

/* Floating WhatsApp Button */
.ap-floating-wa {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 40;
  transition: transform var(--ap-transition-spring);
}

.ap-floating-wa:hover {
  transform: scale(1.1) rotate(6deg);
  color: #FFFFFF;
}

.ap-floating-wa::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ap-pulse-ring 2s cubic-bezier(0.2, 1, 0.3, 1) infinite;
  opacity: 0.6;
}

@keyframes ap-pulse-ring {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

@media (min-width: 769px) {
  .ap-floating-wa {
    bottom: 28px;
    right: 28px;
  }
}

/* Confetti Canvas */
#ap-confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
