/* Group Trip Template (page-only)
   Depends on variables + buttons from main.css */

/* ===========================
HERO
=========================== */
.gt-hero{
  position: relative;
  height: 66vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 92px; /* space for fixed navbar */
}

.gt-hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.16) 55%, rgba(0,0,0,.42)),
    linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.12) 45%, rgba(0,0,0,.46));
}

.gt-hero-content{
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
}

.gt-sub{
  opacity: .95;
  max-width: 65ch;
  font-size: 1.05rem;
}

.gt-hero-meta{
  margin-top: 14px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap: 10px;
  opacity: .92;
}

.gt-hero-meta .dot{ opacity:.75; }

.gt-hero-actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ===========================
QUICK JUMP NAV
=========================== */
.gt-jump{
  padding: 26px 0 12px;
  background: rgba(0,0,0,.02);
  border-bottom: 1px solid var(--line);
}

.gt-jump-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.jump-card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius: 16px;
  padding: 12px 10px;
  text-align:center;
  box-shadow: 0 14px 35px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
  font-weight: 600;
}
.jump-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0,0,0,.10);
}


/* ===========================
SECTIONS / LAYOUT
=========================== */
.gt-section{
  padding: 76px 0;
}

.gt-section.alt{
  background: rgba(0,0,0,.02);
}

.gt-grid-2{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}

.gt-copy{ min-width:0; }

.gt-mini{
  margin-top: 16px;
  margin-bottom: 10px;
  font-family: var(--fontH);
  font-size: 1.15rem;
}

.gt-bullets{
  padding-left: 18px;
  margin: 0;
}
.gt-bullets li{
  margin-bottom: 10px;
  color: rgba(20,20,20,.82);
}


/* ===========================
OVERVIEW IMAGE
=========================== */
.gt-image-card{
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(0,0,0,.10);
}
.gt-image-card img{
  width:100%;
  height: 420px;
  object-fit: cover;
  display:block;
}


/* ===========================
HEAD BLOCKS
=========================== */
.gt-head{
  margin-bottom: 20px;
  max-width: 860px;
}


/* ===========================
INCLUDED CARDS
=========================== */
.gt-cards-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gt-card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.gt-card.subtle{ background: rgba(0,0,0,.02); }
.gt-card.goldline{ border-color: rgba(201,164,91,.45); }

.gt-check{
  list-style:none;
  padding:0;
  margin: 12px 0 0;
}

.gt-check li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: rgba(20,20,20,.82);
}

.gt-check li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--gold);
  font-weight: 800;
}

.gt-check.x li::before{
  content:"×";
  color: rgba(20,20,20,.55);
}


/* ===========================
ACCOMMODATION POINTS
=========================== */
.gt-hotel-points{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}
.gt-hotel-points .point{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px;
  background: rgba(255,255,255,.92);
}


/* ===========================
ACCOMMODATION CAROUSEL
=========================== */
.gt-carousel{
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(0,0,0,.10);
  background: #fff;
}

.gt-carousel-track{
  position: relative;
  height: 360px;
  overflow: hidden;
}

.gt-carousel-track img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity:0;
  transition: opacity .6s ease;
}

.gt-carousel-track img.active{ opacity:1; }

.gt-carousel-btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.30);
  color:#fff;
  cursor:pointer;
  z-index: 2;
  display:grid;
  place-items:center;
  font-size: 1.5rem;
  backdrop-filter: blur(6px);
}

.gt-carousel-btn.prev{ left: 12px; }
.gt-carousel-btn.next{ right: 12px; }

.gt-carousel-btn:hover{ background: rgba(0,0,0,.45); }

/* Dots */
.gt-carousel-dots{
  position:absolute;
  left:0;
  right:0;
  bottom: 12px;
  display:flex;
  justify-content:center;
  gap: 8px;
  z-index: 2;
}

.gt-carousel-dots .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.22);
  cursor:pointer;
}

.gt-carousel-dots .dot.active{
  background: rgba(224,194,122,.95);
  border-color: rgba(224,194,122,.95);
}


/* ===========================
ACCORDION
=========================== */
.gt-accordion{
  display:grid;
  gap: 12px;
}

.gt-accordion details{
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
  overflow:hidden;
}

.gt-accordion summary{
  cursor:pointer;
  padding: 16px 16px;
  list-style:none;
  display:flex;
  gap: 10px;
  align-items:center;
  font-weight: 700;
}

.gt-accordion summary::-webkit-details-marker{ display:none; }

.gt-accordion summary span{
  display:inline-flex;
  min-width: 66px;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,164,91,.35);
  color: rgba(201,164,91,.98);
  background: rgba(201,164,91,.08);
  font-weight: 800;
}

.acc-body{
  padding: 0 16px 16px;
}


/* ===========================
PRICING
=========================== */
.gt-cards-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gt-price-card{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

/* subtle premium glow */
.gt-price-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(500px 220px at 20% 0%, rgba(201,164,91,.18), transparent 55%);
  opacity:.9;
  pointer-events:none;
}

.gt-price-card .price{
  font-size: 2rem;
  font-family: var(--fontH);
  margin: 8px 0;
}

/* Room option images (Pricing cards) */
.gt-room-media{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  margin-bottom: 14px;
  background: #fff;
  position: relative;
  z-index: 1;
}

.gt-room-media img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}


/* ===========================
HELP BOX
=========================== */
.gt-help{
  margin-top: 22px;
  border: 1px solid rgba(201,164,91,.35);
  background: linear-gradient(180deg, rgba(201,164,91,.10), rgba(0,0,0,.02));
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

.gt-help-actions{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap:wrap;
}


/* ===========================
GALLERY
=========================== */
.trip-gallery{
  padding: 80px 0;
  background: rgba(0,0,0,.02);
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.gallery-item{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  background: #fff;
  display: block;
}

.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.gallery-item:hover img{
  transform: scale(1.04);
}

/* Mosaic sizing (desktop) */
.gallery-item:nth-child(1){ grid-column: span 7; grid-row: span 2; min-height: 360px; }
.gallery-item:nth-child(2){ grid-column: span 5; min-height: 173px; }
.gallery-item:nth-child(3){ grid-column: span 5; min-height: 173px; }
.gallery-item:nth-child(4){ grid-column: span 4; min-height: 220px; }
.gallery-item:nth-child(5){ grid-column: span 4; min-height: 220px; }
.gallery-item:nth-child(6){ grid-column: span 4; min-height: 220px; }


/* ===========================
ENQUIRE CTA — COMPACT VERSION
=========================== */
.trip-enquire{
  padding: 60px 0 30px;
}

.enquire-box{
  max-width: 760px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 15% 10%, rgba(201,164,91,.16), rgba(0,0,0,0)),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  padding: 22px 20px;
  text-align: center;
}

.enquire-box h2{
  margin: 4px 0 6px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.enquire-box .muted{
  max-width: 62ch;
  margin: 0 auto 14px;
}

.enquire-actions{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.enquire-note{
  margin-top: 12px;
}

/* Subtle secondary CTA */
.btn.outline{
  background: transparent;
  border: 1px solid rgba(20,20,20,.35);
  color: rgba(20,20,20,.85);
}

.btn.outline:hover{
  background: rgba(20,20,20,.04);
  border-color: rgba(20,20,20,.55);
}


/* ===========================
COMING SOON GRID (Luxe Solo)
=========================== */
.coming-soon-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.coming-card{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.coming-card img{
  width:100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(.9);
  transform: scale(1.02);
  display:block;
}

.coming-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}

.coming-content{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color:#fff;
}

.coming-badge{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}


/* ===========================
ENQUIRY MODAL
=========================== */
.gt-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.gt-modal.is-open{
  display: block;
}

.gt-modal-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.58);
}

.gt-modal-panel{
  position: relative;
  width: min(860px, 92vw);
  max-height: 86vh;
  overflow: auto;
  margin: 7vh auto 0;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: 0 26px 80px rgba(0,0,0,.22);
  padding: 18px 18px 20px;
}

.gt-modal-close{
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.gt-modal-notice{
  padding-right: 54px;
  margin-bottom: 14px;
}

.gt-modal-form label{
  display: block;
}

.gt-modal-form label span{
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.gt-form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gt-span-2{
  grid-column: 1 / -1;
}

.gt-modal-form input,
.gt-modal-form select,
.gt-modal-form textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(20,20,20,.12);
  padding: 12px;
  font-family: var(--fontB);
  outline: none;
  background: #fff;
}

.gt-modal-form input:focus,
.gt-modal-form select:focus,
.gt-modal-form textarea:focus{
  border-color: rgba(201,164,91,.70);
  box-shadow: 0 0 0 3px rgba(201,164,91,.18);
}

.gt-modal-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.gt-modal-footnote{
  margin-top: 10px;
}

body.modal-open{
  overflow: hidden;
}


/* ===========================
RESPONSIVE
=========================== */
@media (max-width: 980px){
  .gt-grid-2{ grid-template-columns: 1fr; }
  .gt-cards-3{ grid-template-columns: 1fr; }
  .gt-cards-2{ grid-template-columns: 1fr; }
  .gt-image-card img{ height: 280px; }
  .gt-carousel-track{ height: 260px; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-item{ min-height: 220px !important; }
  .gallery-item:nth-child(1){ grid-column: span 2; min-height: 300px !important; }
  .coming-soon-grid{ grid-template-columns: 1fr; }
  .coming-card img{ height: 200px; }
}

@media (max-width: 700px){
  .trip-enquire{ padding: 70px 0 26px; }
  .enquire-box{ padding: 22px 16px; }
  .enquire-actions .btn{ width: 100%; }
}

@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-item{ min-height: 220px !important; }
}

@media (max-width: 760px){
  .gt-form-grid{ grid-template-columns: 1fr; }
  .gt-modal-panel{ margin-top: 5vh; }
  .gt-room-media img{ height: 190px; }
}

/* Modal checklist */
.gt-checklist{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 6px;
}

.chk{
  display:flex;
  gap: 10px;
  align-items:center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 10px 12px;
}

.chk input{ width: 16px; height: 16px; }

.gt-consent{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}

.gt-consent input{ margin-top: 4px; }

@media (max-width: 760px){
  .gt-checklist{ grid-template-columns: 1fr; }
}

/* ===========================
MODAL: checkbox grid + consent
=========================== */

.gt-checklist{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  padding: 12px;
  border: 1px solid rgba(20,20,20,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
}

.chk{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fontB);
  font-size: .95rem;
  color: rgba(20,20,20,.85);
  margin: 0;
}

.chk input[type="checkbox"]{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  accent-color: var(--gold);
}

/* consent row */
.gt-consent{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(20,20,20,.12);
  border-radius: 14px;
  background: rgba(0,0,0,.02);
}

.gt-consent input[type="checkbox"]{
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.gt-consent span{
  font-size: .95rem;
  color: rgba(20,20,20,.78);
}

/* Make modal labels tighter + consistent */
.gt-modal-form label{
  margin: 0;
}

.gt-modal-notice .muted{
  max-width: 70ch;
}

/* Mobile: checklist becomes 1 column */
@media (max-width: 560px){
  .gt-checklist{
    grid-template-columns: 1fr;
  }
}

.form-message {
  margin: 16px 0 10px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success,
.form-message.error {
  display: block;
}

.form-message.success {
  background: rgba(201, 164, 91, 0.10);
  border: 1px solid rgba(201, 164, 91, 0.35);
  color: #3a3123;
}

.form-message.error {
  background: rgba(180, 60, 60, 0.08);
  border: 1px solid rgba(180, 60, 60, 0.28);
  color: #7a2d2d;
}