/* AAT Premier Tiers + Destination Pages
   Maintains Tevily UI language by piggybacking on existing .gsc-pricing cards and .btn-theme
*/

:root{
  --aat-overlay: rgba(0,0,0,.48);
  --aat-overlay-2: rgba(0,0,0,.72);
  --aat-radius: 18px;
}

/* --- Reveal / motion (subtle) --- */
[data-aat-reveal]{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.aat-in{
  opacity: 1 !important;
  transform: translateY(0) !important;
}
@media (prefers-reduced-motion: reduce){
  [data-aat-reveal]{ opacity: 1; transform:none; transition:none; }
}

/* --- Homepage tiers --- */
.aat-tiers-wrap{ padding: 90px 0; position: relative; }
.aat-heading{ text-align:center; max-width: 880px; margin: 0 auto 34px; }
.aat-heading .sub-title{ letter-spacing:.12em; text-transform:uppercase; font-weight:600; opacity:.9; }
.aat-heading .title{ margin: 8px 0 12px; }
.aat-lead{ max-width: 720px; margin: 0 auto; opacity:.9; }

.aat-tiers-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 991.98px){
  .aat-tiers-grid{ grid-template-columns: 1fr; }
}

.aat-tier{
  border-radius: var(--aat-radius);
  overflow: hidden;
  position: relative;
  transform: translateY(0);
}
.gsc-pricing.style-2.aat-tier .content-inner{ max-width: 380px; }
.gsc-pricing.style-2.aat-tier{ background:#0b0b0b; }
.gsc-pricing.style-2.aat-tier .plan-title,
.gsc-pricing.style-2.aat-tier .plan-desc,
.gsc-pricing.style-2.aat-tier .plan-list{ color:#fff; }
.gsc-pricing.style-2.aat-tier .plan-desc{ opacity:.92; }
.aat-checklist li{ margin-bottom: 10px; position: relative; padding-left: 22px; }
.aat-checklist li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  opacity:.95;
}

.aat-tier-actions{ margin-top: 22px; text-align:center; }
.aat-tier-actions .btn-theme{ width: 100%; display:inline-flex; justify-content:center; }

.aat-tier-badge{
  position:absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  backdrop-filter: blur(8px);
}
.aat-tier-badge--popular{
  background: rgba(255,255,255,.18);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* Center-stage effect (Signature) */
.aat-tier--signature{
  outline: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
@media (min-width: 992px){
  .aat-tier--signature{ transform: translateY(-10px); }
}

/* Price anchoring: Legacy card “premier” look */
.aat-tier--legacy{
  outline: 1px solid rgba(255,255,255,.22);
}

/* Add-ons */
.aat-tier-foot{ margin-top: 26px; }
.aat-addons{
  border-radius: var(--aat-radius);
  padding: 22px;
  background: rgba(0,0,0,.04);
}
.aat-addons__title{ font-weight: 800; margin-bottom: 10px; }
.aat-addons__items{ display:flex; gap: 16px; flex-wrap: wrap; }
.aat-toggle{
  display:flex; gap: 10px; align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  cursor:pointer;
}
.aat-toggle input{ transform: scale(1.05); }
.aat-addons__note{ margin-top: 10px; opacity:.85; }

/* --- Mega dropdown --- */
.aat-menu-destinations{ position: relative; }
.aat-mega{
  position:absolute;
  left: 0;
  top: calc(100% + 14px);
  width: min(980px, 92vw);
  background: #fff;
  border-radius: var(--aat-radius);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  padding: 18px;
  display:none;
  z-index: 9999;
}
.aat-menu-destinations:hover .aat-mega,
.aat-menu-destinations:focus-within .aat-mega{ display:block; }

.aat-mega__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 991.98px){
  .aat-mega{
    position: static;
    width: 100%;
    box-shadow:none;
    padding: 12px 0 0;
    background: transparent;
  }
  .aat-mega__grid{ grid-template-columns: 1fr; }
}
.aat-dest-card{
  border-radius: 14px;
  overflow:hidden;
  background: #0b0b0b;
  position: relative;
}
.aat-dest-card img{ width:100%; height: 120px; object-fit: cover; display:block; opacity:.85; }
.aat-dest-card__body{
  padding: 12px 12px 14px;
  color:#fff;
}
.aat-dest-card__title{ font-weight: 800; margin:0 0 6px; font-size: 14px; }
.aat-dest-card__tag{ margin:0; opacity:.9; font-size: 12px; line-height: 1.35; }
.aat-dest-card__link{
  position:absolute; inset:0;
  text-indent:-9999px;
}

/* --- Location page hero --- */
.aat-hero{
  position:relative;
  min-height: clamp(420px, 58vh, 640px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}
.aat-hero__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: aatKenBurns 16s ease-in-out infinite alternate;
}
@keyframes aatKenBurns{
  0%{ transform: scale(1.06) translate3d(0,0,0); }
  100%{ transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
.aat-hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, var(--aat-overlay) 55%, var(--aat-overlay-2) 100%);
}
.aat-hero .container{ position:relative; z-index:2; width:100%; }
.aat-hero__content{ padding: 90px 0 58px; max-width: 820px; }
.aat-breadcrumbs{ color: rgba(255,255,255,.86); font-size: 13px; }
.aat-breadcrumbs a{ color: rgba(255,255,255,.92); }
.aat-sep{ margin: 0 8px; opacity:.8; }

.aat-hero__title{ color:#fff; margin: 12px 0 10px; font-weight: 900; }
.aat-hero__tagline{ color: rgba(255,255,255,.92); margin: 0 0 18px; max-width: 680px; }

.aat-hero__cta{ display:flex; gap: 12px; flex-wrap: wrap; }
.aat-hero__cta .btn-theme{ min-width: 200px; }
.aat-hero__cta .btn-white{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color:#fff;
}

.aat-hero__dots{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  display:flex;
  gap: 8px;
  z-index: 3;
}
.aat-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}
.aat-dot.is-active{ background: rgba(255,255,255,.9); }

/* --- Location body --- */
.aat-location-body{ padding: 66px 0; }
.aat-location-grid{
  display:grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 26px;
}
@media (max-width: 991.98px){
  .aat-location-grid{ grid-template-columns: 1fr; }
}
.aat-card{
  border-radius: var(--aat-radius);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
}
.aat-card__media img{ width:100%; height: 200px; object-fit: cover; display:block; }
.aat-card__body{ padding: 18px; }
.aat-kicker{ text-transform:uppercase; letter-spacing:.12em; font-weight:800; font-size: 12px; opacity:.75; margin-bottom: 10px; }
.aat-mini{ margin:0; padding-left: 18px; }
.aat-mini li{ margin: 0 0 10px; }
.aat-quick-actions{ margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap; }
.aat-pill{
  display:inline-flex;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  font-weight: 800;
  font-size: 13px;
}
.aat-sticky{ position: sticky; top: 110px; }

.aat-prose{ padding: 0 0 12px; }
.aat-h2{ margin: 24px 0 12px; font-weight: 900; }
.aat-h3{ margin: 18px 0 10px; font-weight: 900; }
.aat-p{ margin: 0 0 12px; opacity:.95; }
.aat-list{ margin: 0 0 14px 18px; }
.aat-steps{ margin: 0; padding-left: 18px; }
.aat-steps li{ margin: 0 0 10px; }



/* --- Header nav: keep links on one row (avoid wrapping) --- */
header nav ul,
header .menu,
header .main-menu ul{
  flex-wrap: nowrap !important;
  white-space: nowrap;
}
header nav ul{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
header nav ul::-webkit-scrollbar{ height: 0; }

/* --- Mega menu (Destinations) --- */
.aat-menu-destinations{ position: relative; }
.aat-menu-destinations > a{ display:flex; align-items:center; gap:6px; }
.aat-caret{ font-size: 12px; opacity: .8; transform: translateY(-1px); }

.aat-mega{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  top: calc(100% + 12px);
  width: min(1100px, calc(100vw - 24px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
  padding: 18px 18px 16px;
  display:none;
  z-index: 9999;
}
.aat-menu-destinations.is-open > .aat-mega{ display:block; }

.aat-mega__top{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 4px 4px 14px;
}
.aat-mega__title{
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .2px;
}
.aat-mega__actions{ display:flex; align-items:center; gap:10px; }
.btn-theme--sm{ padding: 10px 14px; font-size: 13px; }
.aat-mega__pill{
  display:inline-flex;
  align-items:center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  font-weight: 600;
  font-size: 13px;
}

.aat-mega__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 991.98px){
  .aat-mega{ position: static; transform:none; width: 100%; box-shadow:none; padding: 10px 0 0; background: transparent; }
  .aat-mega__top{ padding: 10px 0; }
  .aat-mega__grid{ grid-template-columns: 1fr; }
}

.aat-dest-card{
  display:block;
  border-radius: 16px;
  overflow:hidden;
  position: relative;
  background: #111;
  min-height: 160px;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}
.aat-dest-card__media{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 900ms ease;
  filter: saturate(1.05) contrast(1.02);
}
.aat-dest-card::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.72));
}
.aat-dest-card__body{
  position:relative;
  padding: 14px 14px 12px;
  color: #fff;
}
.aat-dest-card__title{
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}
.aat-dest-card__tag{
  margin-top: 6px;
  font-size: 13px;
  opacity: .92;
  line-height: 1.35;
}
.aat-dest-card:hover .aat-dest-card__media{ transform: scale(1.09); }

/* --- Destination snapshot clickable --- */
.aat-snap{ display:block; border-radius: 16px; overflow:hidden; }
.aat-snap img{ display:block; width:100%; height:auto; transition: transform 900ms ease; }
.aat-snap:hover img{ transform: scale(1.04); }

/* --- Lightbox --- */
.aat-lightbox{
  position: fixed; inset:0; z-index: 99999;
  background: rgba(0,0,0,.78);
  display:flex; align-items:center; justify-content:center;
  padding: 18px;
}
.aat-lightbox__img{
  max-width: min(1100px, 100%);
  max-height: min(80vh, 100%);
  border-radius: 18px;
  box-shadow: 0 22px 90px rgba(0,0,0,.40);
}
.aat-lock{ overflow:hidden; }

/* --- Floating Trip Builder --- */
.aat-fab{
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 9999;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
  background: #111;
  color: #fff;
  display:flex;
  align-items:center;
  gap: 10px;
}
.aat-fab__dot{
  width: 9px; height: 9px; border-radius: 999px;
  background: #25D366;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, .16);
}

.aat-drawer{ position: fixed; inset:0; z-index: 99999; pointer-events:none; }
.aat-drawer.is-open{ pointer-events:auto; }
.aat-drawer__overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
  opacity:0;
  transition: opacity .25s ease;
}
.aat-drawer.is-open .aat-drawer__overlay{ opacity:1; }
.aat-drawer__panel{
  position:absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 18px 0 0 18px;
  transform: translateX(102%);
  transition: transform .28s ease;
  box-shadow: -20px 0 70px rgba(0,0,0,.18);
  overflow:auto;
}
.aat-drawer.is-open .aat-drawer__panel{ transform: translateX(0); }
.aat-drawer__head{
  padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.aat-drawer__kicker{ font-size: 12px; opacity:.7; font-weight:700; letter-spacing:.5px; text-transform: uppercase; }
.aat-drawer__title{ margin-top: 4px; font-size: 18px; font-weight: 900; }
.aat-drawer__x{
  position:absolute;
  right: 10px;
  top: 10px;
  border:0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
}
.aat-drawer__body{ padding: 14px 16px 18px; }
.aat-field{ margin-bottom: 14px; }
.aat-field label{ display:block; font-weight: 800; margin-bottom: 8px; }
.aat-help{ font-size: 13px; opacity:.75; margin-top: 8px; }
.aat-choice{ display:flex; gap: 8px; }
.aat-choice button{
  flex:1;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  padding: 10px 10px;
  font-weight: 800;
  cursor:pointer;
}
.aat-choice button.is-active{
  border-color: rgba(0,0,0,.85);
  background: rgba(0,0,0,.06);
}
.aat-toggles label{ display:flex; gap:10px; align-items:center; padding: 9px 10px; border-radius: 12px; background: rgba(0,0,0,.04); margin-bottom: 8px; }
.aat-drawer__cta{ display:flex; gap:10px; align-items:center; margin-top: 14px; }
.aat-ghost{
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 11px 12px;
  background:#fff;
  font-weight: 800;
  cursor:pointer;
}
.aat-note{ margin-top: 12px; font-size: 13px; opacity:.75; line-height:1.4; }
