/* ========================================================================== */
/* Base / Variables                                                           */
/* ========================================================================== */

:root {
  --primary-color: rgb(228, 228, 222);
  --secondary-color: #3F4C2C;
  --text-light: black;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Playfair Display", serif;
}

* { margin: 0; padding: 0; }

html, body { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background-color: rgb(228, 228, 222);
  font-family: 'Josefin Sans', sans-serif;
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}


/* ========================================================================== */
/* Typography                                                                 */
/* ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
}

h1 { font-size: 4.3rem; line-height: 5rem; }
h2 { font-size: 4rem; }
h3 { font-size: 3rem; }
h4 { font-size: 2.4rem; }
h5 { font-size: 1.5rem; }

p, span, li {
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1.2rem;
}


@media (max-width: 1400px) {
  h1 {
    font-size: 4rem;
    line-height: 5.2rem;
  }
  h2 { font-size: 3.8rem; }
  h3 { font-size: 2.7rem; }
  h4 { font-size: 2.2rem; }
  h5 { font-size: 1.3rem; }

  a { font-size: 0.9rem; }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 3.2rem;
    line-height: 4.8rem;
  }
  h2 { font-size: 3.5rem; }
  h3 { font-size: 2.5rem; }
  h4 { font-size: 2rem; }
  h5 { font-size: 1.2rem; }

  a, p { font-size: 0.8rem; }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.6rem;
    line-height: 4rem;
  }
  h2 { font-size: 2.6rem; }
  h3 { font-size: 2.2rem; }
  h4 { font-size: 1.7rem; }
  h5 { font-size: 1rem; }

  a, p { font-size: 0.7rem; }
}

@media (max-width: 440px) {
  h1 {
    font-size: 2.2rem;
    line-height: 3.2rem;
  }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.8rem; }
  h4 { font-size: 1.5rem; }
  h5 { font-size: 1rem; }

  a, p { font-size: 0.85rem; }
}

/* ========================================================================== */
/* Section Utilities                                                          */
/* ========================================================================== */

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  position: relative;
  isolation: isolate;
  margin-bottom: 1rem;
  padding-left: 5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--secondary-color);
}

.section__subheader::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 4rem;
  background-color: var(--secondary-color);
}

.section__subheader::after {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-60%, -50%);
  font-size: 8rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.1;
  z-index: -1;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 400;
  font-family: 'Syne', sans-serif;
  color: var(--primary-color);
}

.about img {
  display: flex;
  width: 100%;
}


/* ========================================================================== */
/* Links & Buttons                                                            */
/* ========================================================================== */

a {
  text-decoration: none;
  transition: color 0.3s ease; /* explicit */
}

.button-link {
  text-decoration: none;
  color: black;
  background-color: #ffbb00;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.button-link:hover {
  background-color: #e6a800;
  color: black;
}

.button-link:active {
  transform: scale(0.95);
}

.button-link:focus {
  outline: none;
  transform: scale(1.05);
}

.btn:hover {
  background-color: rgba(10, 30, 39, 0.5);
}

@media (max-width: 1024px) {
  .button-link {
    padding: 8px 16px;
  }
}

@media (max-width: 768px) {
  .button-link {
    padding: 7px 14px;
  }
}

@media (max-width: 440px) {
  .button-link {
    padding: 6px 12px;
  }
}


/* ========================================================================== */
/* Booking                                                                    */
/* ========================================================================== */

/* -- Booking: wrapper ------------------------------------------------------- */
.booking-section-guide {
  background: linear-gradient(to bottom, #212a15, #3a4b1e);
  color: white;
  position: relative;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

/* Logo in booking section */
.logo { padding-top: 20px; text-align: center; }
.logo img { width: 130px; }

/* -- Booking: image grid ---------------------------------------------------- */
.booking-image-grid {
  display: flex;
  gap: 15px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  margin-top: 30px;
  margin-bottom: 20px;
  height: 480px; /* Reduced from ~600px */
}

.left-image { flex: 2; height: 100%; }
.left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.right-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}
.right-images img {
  width: 100%;
  height: 50%;
  object-fit: cover;
  border-radius: 10px;
}

/* -- Booking: title + highlight -------------------------------------------- */
.title-info-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 0 auto;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.title-text { flex: 2; }

.trip-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.trip-subtitle {
  font-size: 1.5rem;
  color: #b6b6b6;
}

.highlight-box {
  flex: 1;
  background-color: #ffbb00;
  padding: 20px;
  border-radius: 10px;
  color: #1a1a1a;
  font-size: 0.95rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.highlight-box strong {
  display: block;
  margin-bottom: 5px;
}

/* -- Booking: summary blurb ------------------------------------------------- */
.trip-summary-blurb {
  max-width: 1200px;
  margin: 10px auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #ffffffb2;
  text-align: left;
}

/* -- Booking: keyword tags -------------------------------------------------- */
.keyword-tag-container {
  width: 100%;
  max-width: 1200px;
  margin: 20px 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  padding-left: 0;
}
.keyword-tag {
  background-color: #f0f0f0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #333;
  white-space: nowrap;
  border: 1px solid #ccc;
  font-family: 'Syne', sans-serif;
}

/* -- Booking: two-column container ----------------------------------------- */
.booking__container-guide {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  position: relative;
  z-index: 2;
  padding-top: 30px;
  gap: 50px;
}

/* -- Left: trip details ----------------------------------------------------- */
.booking-details-guide { width: 60%; }

.booking-title-guide {
  font-family: 'Syne', sans-serif;
  padding-bottom: 25px;
}

.booking-dates-guide {
  padding-bottom: 30px;
  color: #e6a800;
}

.included-list-guide { list-style: none; padding: 0; }

.included-list-guide li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.included-list-guide i {
  color: #ffbb00;
  font-size: 1.2rem;
  padding-right: 10px;
  width: 20px;
}

/* -- Right: booking options ------------------------------------------------- */
.booking-options-guide {
  background-color: #E4E4DE;
  padding: 50px 30px;
  border-radius: 5px;
  text-align: center;
  width: 40%;
  margin: 0 auto;
}

.booking-options-guide h5 {
  padding-bottom: 30px;
  color: black;
}
.booking-options-guide p {
  color: black;
  line-height: 1.5rem;
}

/* -- Pricing / countdown ---------------------------------------------------- */
.price-section {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 25px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.price-amount {
  font-size: 2rem;
  font-weight: bold;
  color: black;
}

.price-unit {
  font-size: 0.9rem;
  color: #666;
}

.countdown-box {
  color: #e6a800;
  padding: 5px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.countdown-title {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.countdown-timer {
  font-size: 1.8rem;
  letter-spacing: 1px;
}

/* -- Booking: description + actions ---------------------------------------- */
.booking-description {
  padding-bottom: 30px;
  color: black;
  line-height: 1.5rem;
  font-size: 0.95rem;
  text-align: center;
}

.payment-options-guide {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Primary action (enabled state, kept for reference)
.payment-btn-full-guide {
  border: none;
  background: #4B5C35;
  color: white;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.payment-btn-full-guide:hover { background: #374927; }
*/

/* SOLD OUT override (active in your markup) */
.payment-btn-full-guide {
  border: none;
  background: #657155;
  color: white;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: not-allowed;
  transition: background-color 0.3s ease;
}
.payment-btn-full-guide:hover { background: #657155; }

.payment-btn-deposit-guide {
  color: black;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #374927;
  cursor: not-allowed;
  transition: background-color 0.3s ease;
}
.payment-btn-deposit-guide:hover {
  background: #3749273e;
  cursor: not-allowed;
}

/* -- Booking: modal (overlay + box) ---------------------------------------- */

body.modal-open { overflow: hidden; }

/* overlay */
.modal-overlay-guide {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.644);
  z-index: 999;
  display: none;
  transition: opacity 0.3s ease;
}

/* modal box */
.modal-guide {
  position: fixed;
  top: 40px;             /* add space from top */
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #E4E4DE;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
  border-radius: 10px;
  z-index: 1000;
  display: none;
  max-width: 500px;
  max-height: 90vh;      /* responsive height */
  overflow-y: scroll;    /* vertical scroll if needed */
  transition: all 0.3s ease;
  -webkit-overflow-scrolling: touch; /* smoother iOS scroll */
}

/* (Separate larger terms modal variation) */
.modal-guide-terms {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background-color: #E4E4DE;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
  border-radius: 10px;
  z-index: 1000;
  display: none;
  max-width: 1000px;
}

/* -- Booking: modal content ------------------------------------------------- */
.modal-content-guide h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.modal-content-guide h5 {
  font-size: 2rem;
  margin-bottom: 35px;
  color: #e6a800;
}
.modal-content-guide p {
  color: black;
  text-align: left;
  margin-bottom: 10px;
}
.modal-content-guide ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 30px 0;
}
.modal-content-guide ul li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: black;
}
.modal-content-guide i {
  color: #ffbb00;
  font-size: 1.1rem;
}

/* close buttons */
.close-btn-guide {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: black;
  transition: color 0.2s ease;
}
.close-btn-guide:hover { color: red; }

.close-modal-btn-guide {
  border: none;
  background: #4B5C35;
  color: white;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}
.close-modal-btn-guide:hover { background: #374927; }

/* proceed CTA */
.book-now-btn-guide {
  border: none;
  background: #4B5C35;
  color: white;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.book-now-btn-guide:hover { background: #374927; }

.book-now-btn-guide.disabled {
  pointer-events: none;
  opacity: 0.5;
  background-color: grey !important;
  cursor: not-allowed;
}

/* -- Booking: package toggle + slider -------------------------------------- */

/* tabs (with/without flights) */
.package-toggle {
  display: flex;
  gap: 8px;
  margin: 6px 0 14px;
  justify-content: center; /* centered inside modal */
}

.toggle-btn {
  border: 1px solid #3A4B1E;
  background: #fff;
  color: #3A4B1E;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.toggle-btn.active {
  background: #3A4B1E;
  color: #fff;
  border-color: #3A4B1E;
}

/* slider window */
.package-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 10px;
}

/* horizontal track */
.package-track {
  display: flex;
  will-change: transform;
  transition: transform 0.3s ease;
}

/* each pane fills slider width */
.package-pane {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0;
}

/* (optional) tidying inside panes */
.package-pane h5 { margin-bottom: 20px; }
.package-pane p,
.package-pane ul { text-align: left; }
.package-pane ul { margin: 20px 0 24px; }

/* Proceed button sizing for small modals */
.package-pane .book-now-btn-guide {
  display: inline-block;
  min-width: 220px;
}

/* -- Booking: “More info” link --------------------------------------------- */
.more-info-link {
  display: inline-block;
  color: #E4E4DE;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-top: 30px;
}
.more-info-link:hover { color: #ffbb00; }


/* ========================================================================== */
/* Booking: Responsive                                                        */
/* ========================================================================== */

@media (max-width: 1400px) {
  .book-page-title {
    font-size: 2.6rem;
    top: 150px;
  }

  .included-list-guide i {
    font-size: 1rem;
  }

  .payment-btn-full-guide {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }

  .payment-btn-deposit-guide {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }
}

@media (max-width: 1024px) {
  .book-page-title {
    font-size: 2.2rem;
  }

  .included-list-guide i {
    font-size: 0.9rem;
  }

  .payment-btn-full-guide {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }

  .payment-btn-deposit-guide {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }
}

@media (max-width: 768px) {
  .booking-image-grid {
    margin-top: 150px;
    height: 300px;
  }

  .booking__container-guide { display: block; }

  /* Left Side - Trip Details */
  .booking-details-guide {
    width: fit-content;
    padding: 20px 0;
  }

  .booking-options-guide {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .payment-options-guide {
    justify-content: center;
  }

  .book-page-title {
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 80px;
    padding: 0 20px;
    line-height: 2.2rem;
  }

  .included-list-guide i { font-size: 0.9rem; }

  .payment-btn-full-guide {
    font-size: 0.8rem;
    line-height: 1rem;
  }
  .payment-btn-deposit-guide {
    font-size: 0.8rem;
    line-height: 1rem;
  }

  .modal-guide {
    padding: 30px 25px;
    min-width: 380px;
  }

  .modal-content-guide h2 { font-size: 1.4rem; }
  .modal-content-guide h5 { font-size: 1.8rem; }
  .modal-content-guide li { font-size: 0.85rem; }
  .modal-content-guide i { font-size: 1rem; }

  .book-now-btn-guide { font-size: 0.8rem; }
}

/* Image grid tweaks */
@media screen and (max-width: 768px) {
  .booking-image-grid { flex-direction: column; }
  .right-images { flex-direction: row; }
  .right-images img { height: 180px; width: 49%; }
}

@media (max-width: 440px) {
  .booking__container-guide { display: block; }

  .booking-image-grid {
    margin-top: 120px;
    height: 220px;
  }

  /* Left Side - Trip Details */
  .booking-details-guide {
    width: fit-content;
    margin: 0 auto;
  }

  .booking-options-guide {
    margin: 0 auto;
    text-align: center;
  }

  .included-list-guide i { font-size: 0.85rem; }

  .payment-btn-full-guide {
    font-size: 0.8rem;
    line-height: 1rem;
  }
  .payment-btn-deposit-guide {
    font-size: 0.8rem;
    line-height: 1rem;
  }

  .modal-guide {
    padding: 30px 25px;
    min-width: 280px;
  }

  .modal-content-guide h2 {
    font-size: 1.1rem;
    line-height: 1.4rem;
  }
  .modal-content-guide h5 { font-size: 1.6rem; }
  .modal-content-guide li { font-size: 0.8rem; }
  .modal-content-guide i { font-size: 0.9rem; }

  .book-now-btn-guide { font-size: 0.75rem; }
}

/* Smaller stacked thumbs */
@media screen and (max-width: 440px) {
  .right-images img { height: 120px; width: 48%; }
}

/* Title + highlight layout */
@media screen and (max-width: 768px) {
  .title-info-container {
    flex-direction: column;
    margin-top: 200px;
  }
}

@media screen and (max-width: 440px) {
  .title-info-container {
    flex-direction: column;
    margin-top: 150px;
  }
  .trip-title { font-size: 1.7rem; }
  .trip-subtitle { font-size: 1.3rem; }
}

/* Keyword tags sizing */
@media screen and (max-width: 440px) {
  .keyword-tag-container { margin: 10px 0; gap: 10px; }
  .keyword-tag {
    background-color: #f0f0f0;
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/* Modal sizing */
@media (max-width: 480px) {
  .modal-guide {
    width: calc(100vw - 120px); /* leave margins */
    max-width: none;
    padding: 24px 18px;
    border-radius: 12px;
    top: 24px;
    bottom: 24px;
  }
  .modal-content-guide h2 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    text-align: center;
  }
  .modal-content-guide h5 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .package-toggle {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .toggle-btn {
    padding: 7px 10px;
    font-size: 0.9rem;
    border-radius: 6px;
    flex: 1 1 140px;
    text-align: center;
  }
  .package-pane ul { margin: 16px 0 18px; }
  .book-now-btn-guide { width: 80%; min-width: 0; }
}

/* Toggle wrap for the tiniest widths */
@media (max-width: 420px) {
  .package-toggle { flex-wrap: wrap; gap: 6px; }
  .toggle-btn {
    flex: 1 1 140px;
    text-align: center;
  }
}



@media (max-width: 320px) {  
  .booking-section-guide {
    padding-top: 0px;
    height: auto;
  }

  .modal-guide {
    padding: 30px 25px;

    min-width: 200px;
  }
  
}



/* ========================================================================== */
/* About                                                                      */
/* ========================================================================== */

.about {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    var(--primary-color) 8rem
  );
  overflow: hidden;
}

.about__container {
  padding-top: 0;
  display: grid;
  gap: 5rem 2rem;
  overflow: hidden;
}

.about__image img {
  max-width: 400px;
  margin-inline: auto;
  border-radius: 5px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.4);
}

/* numbered subheaders */
.about__content-1 .section__subheader::after { content: "01"; color: #3F4C2C; }
.about__content-2 .section__subheader::after { content: "02"; color: #3F4C2C; }
.about__content-3 .section__subheader::after { content: "03"; color: #3F4C2C; }
.about__content-4 .section__subheader::after { content: "04"; color: #3F4C2C; }
.about__content-5 .section__subheader::after { content: "05"; color: #3F4C2C; }

.about__content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.6rem;
}

.about__content h2 {
  color: #3F4C2C;
  line-height: 4rem;
}

.about__content a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
  transition: color 0.3s ease; /* explicit */
}

.about__content a span {
  transition: transform 0.3s ease;
}

.about__content a:hover span {
  transform: translateX(10px);
}

/* layout at wider screens (kept modern syntax) */
@media (width > 768px) {
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 10rem 2rem;
  }

  .about__image-1 { grid-area: 1 / 2 / 2 / 3; }
  .about__image-3 { grid-area: 3 / 2 / 4 / 3; }
  .about__image-5 { grid-area: 5 / 2 / 6 / 3; }

  .about__content { margin-left: 6rem; }
}


/* ========================================================================== */
/* CTA Section                                                                */
/* ========================================================================== */

.cta-section {
  background-color: #C9C9C0;
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta__header {
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  color: black;
}

.cta__text {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6rem;
  opacity: 0.9;
  color: black;
}

.cta__container a {
  margin-top: 30px;
  transition: background-color 0.3s ease, color 0.3s ease; /* smooth hover if btn */
}









