/* ==========================================================================
   SHN Ceylon — Tourism page
   ========================================================================== */

.eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--shn-sage);
}

/* ---- Hero ---- */
.shn-tour-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 80px);
}

.shn-tour-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.shn-tour-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(55deg, rgba(32, 21, 119, 0.9) 0%, #121212 100%);
  mix-blend-mode: hard-light;
}

.shn-tour-hero__content {
  position: relative;
  z-index: 2;
}

.shn-tour-hero__eyebrow {
  display: block;
  color: #FF6B57;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.shn-tour-hero__title {
  color: var(--shn-white);
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.shn-tour-hero__title span {
  color: #C9A8FF;
}

.shn-tour-hero__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  max-width: 62ch;
  margin-bottom: 28px;
}

.shn-tour-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shn-tour-stat {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.shn-tour-stat__value {
  display: block;
  color: var(--shn-white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.shn-tour-stat__label {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

/* ---- Featured package / itinerary toggle ---- */
.shn-tour-feature {
  position: relative;
}

.shn-tour-package {
  position: relative;
  min-height: clamp(280px, 32vw, 460px);
  overflow: hidden;
}

.shn-tour-package__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.shn-tour-package__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55) 100%);
}

.shn-tour-package__content {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 48px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.shn-tour-package__badge {
  display: inline-block;
  background-color: #6B4FCE;
  color: var(--shn-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  width: fit-content;
}

.shn-tour-package__title {
  color: var(--shn-white);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 16ch;
}

.shn-tour-package__desc {
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  max-width: 480px;
}

.shn-tour-package__desc p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* ---- Itinerary grid (shown when expanded) ---- */
.shn-tour-itinerary {
  background-color: var(--shn-white);
  overflow: hidden;
  max-height: 0;
  padding-block: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, padding-block 0.45s ease;
}

.shn-tour-itinerary.is-collapsed {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
}

.shn-tour-itinerary:not(.is-collapsed) {
  padding-block: clamp(24px, 3vw, 40px);
  opacity: 1;
}

.shn-tour-itinerary__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-inline: clamp(20px, 4vw, 48px);
}

.shn-tour-itinerary__row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.shn-tour-day {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 20px;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 444 / 290;
  border: 1px solid #7649C9;
  border-radius: 16px;
  padding: 20px;
  color: var(--shn-ink);
}

.shn-tour-day__img {
  width: 35%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.shn-tour-day__badge {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(18, 18, 18, 0.5);
  color: var(--shn-white);
  font-size: 24px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.shn-tour-day__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.shn-tour-day__cat {
  display: block;
  font-size: 24px;
  color: var(--shn-gray-500);
  margin-bottom: 8px;
}

.shn-tour-day__body h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 6px;
}

.shn-tour-day__body p {
  font-size: 16px;
  color: var(--shn-gray-600);
  line-height: 24px;
  margin: 0;
}

.shn-tour-day__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.shn-tour-day__connector-icon--h {
  width: 14px;
  height: 28px;
}

.shn-tour-day__connector-icon--v {
  display: none;
  width: 28px;
  height: 14px;
}

/* ---- Toggle bar ---- */
.shn-tour-feature__bar {
  background-color: var(--shn-black);
}

.shn-tour-feature__bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-block: 18px;
}

.shn-tour-feature__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  color: var(--shn-white);
  padding: 12px 22px;
  font-size: 0.95rem;
}

.shn-tour-feature__toggle-icon {
  width: 14px;
  height: 8px;
}

.shn-tour-feature__price {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.shn-tour-feature__price-text {
  color: var(--shn-white);
  font-size: 1rem;
}

.shn-tour-feature__price-text strong {
  color: #E64545;
  font-weight: 700;
  font-size:2rem;
}

.shn-tour-feature__enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #6B4FCE;
  color: var(--shn-white);
  font-weight: 700;
  font-size:1.2rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.shn-tour-feature__enquire:hover {
  background-color: #5A3FB5;
}

/* ---- Other Travels ---- */
.shn-tour-other {
  background-color: var(--shn-gray-50);
  padding-block: clamp(48px, 6vw, 90px);
}

.shn-tour-other__title {
  font-size: 58px;
  line-height: 54px;
  letter-spacing: -0.02em;
  color: #121212;
  margin-top: 10px;
  margin-bottom: 32px;
}

.shn-tour-other__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shn-tour-card {
  background-color: var(--shn-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shn-tour-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
}

.shn-tour-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shn-tour-card__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--shn-green-accent);
  color: var(--shn-ink);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.shn-tour-card__flag--purple {
  background-color: var(--shn-flag-purple);
}

.shn-tour-card__flag--aqua {
  background-color: var(--shn-flag-aqua);
}

.shn-tour-card__flag--mint {
  background-color: var(--shn-flag-mint);
}

.shn-tour-card__flag--amber {
  background-color: var(--shn-flag-amber);
}

.shn-tour-card__flag--rosepink {
  background-color: var(--shn-flag-rosepink);
}

.shn-tour-card__flag--rose {
  background-color: var(--shn-flag-rose);
}

.shn-tour-card__days {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.65);
  color: var(--shn-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.shn-tour-card__body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shn-tour-card__cat {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shn-flag-purple);
  margin-bottom: 8px;
}

.shn-tour-card__body h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--shn-ink);
  margin-bottom: 10px;
}

.shn-tour-card__body p {
  font-size: 0.875rem;
  color: var(--shn-gray-600);
  line-height: 1.5;
  margin-bottom: 16px;
}

.shn-tour-card__stops-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shn-gray-500);
  margin-bottom: 8px;
}

.shn-tour-card__stops {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shn-tour-card__stops li {
  position: relative;
  padding-left: 14px;
  font-size: 0.82rem;
  color: var(--shn-gray-700);
}

.shn-tour-card__stops li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--shn-green-accent);
}

.shn-tour-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.shn-tour-card__foot span {
  font-size: 0.9rem;
  color: var(--shn-gray-700);
}

.shn-tour-card__foot strong {
  color: #E64545;
  font-weight: 700;
  font-size:2rem;
}

.shn-tour-card__enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #6B4FCE;
  color: var(--shn-white);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.shn-tour-card__enquire:hover {
  background-color: #5A3FB5;
}

/* ---- Why Choose Us (accordion) ---- */
.shn-tour-why {
  padding-block: clamp(48px, 6vw, 90px);
}

.shn-tour-why__title {
  font-size: 58px;
  line-height: 54px;
  letter-spacing: -0.02em;
  color: #121212;
  margin-top: 10px;
  margin-bottom: 16px;
}

.shn-tour-why__text {
  color: var(--shn-gray-600);
  font-size: var(--fs-body-lg);
  max-width: 70ch;
  margin-bottom: 40px;
}

.shn-tour-accordion {
  max-width: 720px;
  margin-left: clamp(0px, 18vw, 220px);
}

.shn-tour-accordion__item {
  border-bottom: 1px solid var(--shn-gray-200);
}

.shn-tour-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--shn-ink);
}

.shn-tour-accordion__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.shn-tour-accordion__icon::before,
.shn-tour-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--shn-ink);
  transform: translate(-50%, -50%);
}

.shn-tour-accordion__icon::before {
  width: 16px;
  height: 1.5px;
}

.shn-tour-accordion__icon::after {
  width: 1.5px;
  height: 16px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.shn-tour-accordion__item.is-open .shn-tour-accordion__icon::after {
  opacity: 0;
}

.shn-tour-accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-base);
}

.shn-tour-accordion__item.is-open .shn-tour-accordion__panel {
  max-height: 220px;
}

.shn-tour-accordion__panel p {
  font-size: 0.9rem;
  color: var(--shn-gray-600);
  line-height: 1.6;
  padding-bottom: 20px;
  margin: 0;
  max-width: 60ch;
}

/* ==========================================================================
   Enquiry Modal
   ========================================================================== */

.shn-enquiry {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.shn-enquiry[hidden] {
  display: none;
}

.shn-enquiry__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 43, 38, 0.55);
}

.shn-enquiry__dialog {
  position: relative;
  background: var(--shn-white);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 480px;
  max-height: 95vh;
  overflow-y: auto;
  padding: clamp(14px, 1.8vw, 29px);
  font-size: 0.6em;
}

.shn-enquiry__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--shn-ink);
  cursor: pointer;
}

.shn-enquiry__head {
  margin-bottom: 16px;
  padding-right: 40px;
}

.shn-enquiry__eyebrow {
  display: block;
  font-size: var(--fs-body-lg);
  color: var(--shn-ink);
}

.shn-enquiry__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--fs-h2);
  color: var(--shn-ink);
  margin: 4px 0 0;
}

.shn-enquiry__row {
  display: flex;
  gap: 12px;
}

.shn-enquiry__row .shn-enquiry__field {
  flex: 1;
  min-width: 0;
}

.shn-enquiry__field {
  margin-bottom: 10px;
}

.shn-enquiry__field label {
  display: block;
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--shn-ink);
  margin-bottom: 8px;
}

.shn-enquiry__field input {
  width: 100%;
  height: 32px;
  border: 1px solid var(--shn-gray-300);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  font-family: var(--font-base);
  font-size: 14px;
  color: var(--shn-ink);
  background: var(--shn-white);
}

.shn-enquiry__field textarea {
  width: 100%;
  height: 96px;
  border: 1px solid var(--shn-gray-300);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font-base);
  font-size: 14px;
  color: var(--shn-ink);
  background: var(--shn-white);
  resize: vertical;
}

.shn-enquiry__field input::placeholder,
.shn-enquiry__field textarea::placeholder {
  color: var(--shn-gray-500);
}

.shn-enquiry__field input:focus,
.shn-enquiry__field textarea:focus {
  outline: none;
  border-color: var(--shn-teal-dark);
}

.shn-enquiry__submit {
  width: 100%;
  background-color: var(--shn-black);
  color: var(--shn-white);
  font-weight: 700;
  font-size: var(--fs-body);
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.shn-enquiry__submit:hover {
  background-color: var(--shn-black-soft);
}

.shn-enquiry__error {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #d92d20;
  text-align: center;
}

.shn-enquiry__error[hidden] {
  display: none;
}

.shn-enquiry__success {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #1a7f37;
  text-align: center;
}

.shn-enquiry__success[hidden] {
  display: none;
}

body.shn-enquiry-open {
  overflow: hidden;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (max-width: 1199.98px) {
  .shn-tour-other__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shn-tour-itinerary__row {
    flex-wrap: wrap;
  }

  .shn-tour-day {
    flex-basis: calc(50% - 8px);
  }

  .shn-tour-day__connector {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .shn-tour-hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .shn-tour-accordion {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .shn-tour-other__grid {
    grid-template-columns: 1fr;
  }

  .shn-tour-itinerary__row {
    flex-direction: column;
  }

  .shn-tour-day {
    flex-basis: auto;
    aspect-ratio: auto;
    min-height: 190px;
  }

  /* Stacked single-column layout: show a downward connector between cards */
  .shn-tour-day__connector {
    display: flex;
  }

  .shn-tour-day__connector-icon--h {
    display: none;
  }

  .shn-tour-day__connector-icon--v {
    display: block;
  }

  .shn-tour-feature__bar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .shn-tour-feature__price {
    justify-content: space-between;
  }
}
