/* STREAMING_CHUNK:Defining design variables and CSS reset... /
/ CSS RESET & VARIABLES */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

:root {
--primary-color: #ff5533;
--primary-hover: #e04426;
--text-dark: #1a1a1a;
--text-muted: #636363;
--bg-light: #f8f9fa;
--border-color: #e0e0e0;
--card-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
font-family: var(--font-family);
color: var(--text-dark);
background-color: #ffffff;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}

/* HEADER / NAVBAR */
.header {
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
background: #ffffff;
z-index: 100;
box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.8rem 1.5rem;
gap: 1.5rem;
}

.logo {
text-decoration: none;
}


.nav-links {
display: flex;
gap: 0.6rem;
}

.nav-links a {
text-decoration: none;
color: var(--text-dark);
font-size: 1.2rem;
font-weight: 600;
margin-top: 8px;
}

/* MAIN CONTAINER */
.container {
max-width: 1200px;
margin: 1rem auto 3rem auto;
padding: 0 1.5rem;
}


/* TITLE SECTION */
.tour-title-section {
margin-bottom: 1.5rem;
}

.badge-top {
display: inline-block;
background: #ffebd8;
color: #c0392b;
font-size: 0.75rem;
font-weight: 800;
padding: 0.2rem 0.5rem;
border-radius: 4px;
margin-bottom: 0.5rem;
letter-spacing: 0.5px;
}

.tour-title {
font-size: 1.85rem;
font-weight: 800;
line-height: 1.25;
margin-bottom: 0.6rem;
color: #111111;
}

.rating-row {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
flex-wrap: wrap;
}

.stars {
color: #ffb400;
font-size: 1rem;
}

.rating-score {
font-weight: 700;
}

.review-count {
color: var(--text-muted);
}

.separator {
color: var(--border-color);
}

/* MAIN 2-COLUMN LAYOUT /
/ STREAMING_CHUNK:Styling 2-column layout grid with sticky sidebar... */
.main-layout-grid {
display: grid;
grid-template-columns: 1fr 360px;
gap: 2rem;
align-items: start;
}

.content-left {
min-width: 0;
}

/* HERO GALLERY: 5 IMAGES (1 MAIN + 4 SIDE GRID) */
.gallery-grid-5 {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 0.5rem;
border-radius: 12px;
overflow: hidden;
margin-bottom: 2rem;
height: 380px;
}

.gallery-main img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
cursor: pointer;
transition: transform 0.3s ease;
}

.gallery-main img:hover {
transform: scale(1.01);
}

.gallery-sub-grid {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
gap: 0.5rem;
}

.gallery-sub-grid img {
width: 100%;
height: 186px;
object-fit: cover;
display: block;
cursor: pointer;
transition: opacity 0.2s ease;
}

.gallery-sub-grid img:hover {
opacity: 0.9;
}

.gallery-more-container {
position: relative;
height: 186px;
}

.gallery-more-container img {
height: 100%;
}

.btn-all-photos {
position: absolute;
bottom: 12px;
right: 12px;
background: rgba(255, 255, 255, 0.9);
border: 1px solid #ccc;
padding: 0.4rem 0.8rem;
border-radius: 6px;
font-weight: 600;
font-size: 0.8rem;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-all-photos:hover {
background: #ffffff;
}

/* TOUR FEATURES */
.feature-list {
display: flex;
flex-direction: column;
gap: 1.2rem;
padding-bottom: 2rem;
border-bottom: 1px solid var(--border-color);
margin-bottom: 2rem;
}

.feature-item {
display: flex;
gap: 1rem;
}

.feature-icon {
font-size: 1.4rem;
}

.feature-title {
font-weight: 700;
font-size: 0.95rem;
}

.feature-desc {
color: var(--text-muted);
font-size: 0.88rem;
}



/* STICKY SIDEBAR & BOOKING CARD */
.sidebar-right {
position: sticky;
top: 85px;
}

/* BOOKING CARD STYLES */
.booking-card {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a2b49;
}

/* PRICE DISPLAY */
.price-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2b49;
}

.price-original {
  text-decoration: line-through;
  color: #2c3e50;
  font-weight: 700;
}

.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
}

.price-discounted {
  font-size: 1.6rem;
  font-weight: 800;
  color: #d92523;
  line-height: 1;
}

.price-unit {
  font-size: 1rem;
  color: #1a2b49;
  font-weight: 500;
}

/* FORM & INPUT CONTROLS */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.input-field-group {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 14px;
  color: #1a2b49;
  pointer-events: none;
}

.chevron-icon {
  position: absolute;
  right: 16px;
  color: #1a2b49;
  pointer-events: none;
}

.input-control {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 2.8rem;
  background-color: #f1f3f5;
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2b49;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.input-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #0071eb;
}

/* SUBMIT BUTTON */
.btn-check-availability {
  width: 100%;
  padding: 0.9rem;
  background-color: #0071eb;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.4rem;
  transition: background-color 0.2s ease;
}

.btn-check-availability:hover {
  background-color: #005bb5;
}

.card-divider {
  border: 0;
  border-top: 1px solid #edf2f7;
  margin: 1.5rem 0 1.25rem 0;
}

/* POLICIES SECTION */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.policy-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2b49;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.info-icon {
  font-size: 0.85rem;
  color: #6c757d;
  cursor: pointer;
  font-weight: normal;
}

.policy-desc {
  font-size: 0.88rem;
  color: #5d6b82;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* CAROUSEL INDICATORS */
.carousel-indicators {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.carousel-indicators .dot {
  width: 8px;
  height: 8px;
  background-color: #d1d5db;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.carousel-indicators .dot.active {
  background-color: var(--primary-color);
}

/* MOBILE STICKY BOTTOM BAR */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.mobile-sticky-bar.hidden {
  transform: translateY(100%);
}

.sticky-price-info {
  display: flex;
  flex-direction: column;
}

.sticky-price-original {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
  line-height: 1;
}

.sticky-price-main {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.sticky-price-discounted {
  font-size: 1.2rem;
  font-weight: 800;
  color: #d92523;
  line-height: 1.2;
}

.btn-sticky-book {
  background-color: #0071eb;
  color: #ffffff;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.btn-sticky-book:hover {
  background-color: #005bb5;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
.carousel-indicators {
  display: flex;
}

.mobile-sticky-bar {
  display: flex;
}

.main-layout-grid {
grid-template-columns: 1fr;
}

.sidebar-right {
position: static;
order: -1; /* Display booking card above description on tablet/mobile if needed */
}

.gallery-grid-5 {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
height: 300px;
gap: 0;
scroll-behavior: smooth;
margin-bottom: 0;
}
.gallery-grid-5::-webkit-scrollbar {
display: none;
}

.gallery-main {
flex: 0 0 100%;
scroll-snap-align: start;
height: 100%;
}

.gallery-main img {
height: 100%;
width: 100%;
object-fit: cover;
}

.gallery-sub-grid {
display: contents;
}

.gallery-sub-grid img, .gallery-more-container {
flex: 0 0 100%;
scroll-snap-align: start;
height: 100%;
}

.gallery-more-container img {
height: 100%;
width: 100%;
object-fit: cover;
}
}

/* SECTION LAYOUT & HORIZONTAL ALIGNMENT */
.tour-details {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: flex;
  padding: 2.25rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.info-label {
  width: 220px;
  flex-shrink: 0;
}

.info-label h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a2b49;
  line-height: 1.3;
}

.info-content {
  flex-grow: 1;
  color: #1a2b49;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* HIGHLIGHTS BULLET LIST */
.highlights-list {
  list-style-type: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.highlights-list li {
  color: #1a2b49;
}

/* FULL DESCRIPTION & SEE MORE */
.description-text {
  color: #1a2b49;
  margin-bottom: 0.5rem;
}

.see-more-wrapper {
  margin-top: 0.25rem;
}

.see-more-wrapper .dots {
  display: block;
  color: #1a2b49;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}

.btn-see-more {
  background: none;
  border: none;
  color: #1a2b49;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

/* INCLUDES & EXCLUDES LIST */
.includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.includes-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #1a2b49;
  line-height: 1.45;
}

/* GREEN CHECKMARK SYMBOL */
.includes-list li.included::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #00875a;
  font-weight: 700;
  font-size: 1.05rem;
}

/* RED CROSS EXCLUDE SYMBOL */
.includes-list li.excluded::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #de350b;
  font-weight: 600;
  font-size: 0.95rem;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* RESPONSIVE LAYOUT FOR SMALL SCREENS */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    padding: 0.6rem 1rem;
    gap: 0.5rem;
  }
  
  .logo img {
    height: 32px;
    width: auto;
  }

  .nav-links a {
    font-size: 0.95rem;
    margin-top: 0px;
  }

  .nav-links img {
    height: 24px;
    width: auto;
  }

  .tour-title {
    font-size: 1.4rem;
  }

  .info-row {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  
  .info-label {
    width: 100%;
  }
}

/* CUSTOM PARTICIPANTS DROPDOWN */
.participants-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 100;
  padding: 1rem;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.participants-dropdown.hidden {
  display: none;
}
.participant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.participant-info {
  display: flex;
  flex-direction: column;
}
.participant-type {
  font-weight: bold;
  color: #1a2b49;
}
.participant-desc {
  font-size: 0.8rem;
  color: #6c757d;
}
.participant-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-qty {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #0071eb;
  background: white;
  color: #0071eb;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-qty:hover {
  background: #0071eb;
  color: white;
}
#adult-qty, #child-qty {
  font-weight: bold;
  width: 20px;
  text-align: center;
}
.date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* OPTIONS MODAL */
.options-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.options-modal.hidden {
  display: none;
}
.options-modal-content {
  background: white;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 2rem;
}
.options-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.options-modal-header h2 {
  font-size: 1.5rem;
  color: #1a2b49;
}
.btn-close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #6c757d;
}
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}
.option-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}
.option-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.option-card.selected {
  border-color: #0071eb;
  background-color: #f8fbff;
  box-shadow: 0 4px 15px rgba(0, 113, 235, 0.15);
}

.radio-circle {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}
.option-card.selected .radio-circle {
  border-color: #0071eb;
  background: #0071eb;
}
.check-svg {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.option-card.selected .check-svg {
  opacity: 1;
}

.option-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #1a2b49;
  padding-right: 2rem; /* make room for radio circle */
}
.option-desc {
  font-size: 0.9rem;
  color: #5d6b82;
  margin-bottom: 1rem;
}
.option-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.option-features li {
  font-size: 0.85rem;
  color: #1a2b49;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.option-time {
  margin-bottom: 1rem;
}
.option-time label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.time-select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #1a2b49;
  border-radius: 6px;
  background: white;
  font-weight: bold;
}
.option-price-row {
  margin-top: auto;
  border-top: 1px solid #edf2f7;
  padding-top: 1rem;
  margin-bottom: 1rem;
}
.op-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.op-discounted {
  font-size: 1.5rem;
  font-weight: 800;
  color: #d92523;
}
.op-original {
  text-decoration: line-through;
  color: #5d6b82;
  font-size: 0.9rem;
}
.op-details {
  font-size: 0.85rem;
  color: #5d6b82;
}
.btn-action {
  width: 100%;
  padding: 0.8rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: transparent;
  color: #0071eb;
  border: 2px solid #0071eb;
}
.btn-action:hover {
  background-color: #f0f7ff;
}
.option-card.selected .btn-action {
  background-color: #0071eb;
  color: white;
  border: 2px solid #0071eb;
}
.option-card.selected .btn-action:hover {
  background-color: #005bb5;
  border-color: #005bb5;
}

.date-placeholder {
  display: none; /* hidden on desktop by default */
}
@media (max-width: 768px) {
  .date-input {
    color: transparent; /* hide native date text/placeholder on mobile */
  }
  .date-input::-webkit-datetime-edit,
  .date-input::-webkit-datetime-edit-fields-wrapper,
  .date-input::-webkit-datetime-edit-text,
  .date-input::-webkit-datetime-edit-month-field,
  .date-input::-webkit-datetime-edit-day-field,
  .date-input::-webkit-datetime-edit-year-field {
    color: transparent; /* hide native date segments on mobile */
  }
  .date-input.has-value {
    color: #1a2b49; /* show selected date value */
  }
  .date-input.has-value::-webkit-datetime-edit,
  .date-input.has-value::-webkit-datetime-edit-fields-wrapper,
  .date-input.has-value::-webkit-datetime-edit-text,
  .date-input.has-value::-webkit-datetime-edit-month-field,
  .date-input.has-value::-webkit-datetime-edit-day-field,
  .date-input.has-value::-webkit-datetime-edit-year-field {
    color: #1a2b49;
  }
  .date-placeholder {
    display: block;
    position: absolute;
    left: 2.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #1a2b49;
    font-size: 1rem;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
    z-index: 1;
  }
  .date-placeholder.hidden {
    display: none;
  }
}

/* MOBILE OPTIONS CAROUSEL & BOTTOM SHEET */
@media (max-width: 768px) {
  .options-modal {
    align-items: flex-end;
  }
  .options-modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 24px 24px 0 0;
    padding: 1.5rem 0 1.5rem 1rem; /* Removed right padding so next card bleeds to edge */
    margin: 0;
  }
  .options-modal-header {
    margin-bottom: 1.2rem;
    padding-right: 1rem; /* Keep header padded */
  }
  .options-modal-header h2 {
    font-size: 1.25rem;
  }
  .options-grid {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}
.options-grid::-webkit-scrollbar {
    display: none;
}
.option-card {
    min-height: 90vh;
    width: 85%;
    scroll-snap-align: start;
}
}
