/* List Page CSS */

/* Container styling */
.experiences-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
    min-height: 92vh;
}

/* Title styling */
.experiences-title {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Filter menu styling */
.filter-menu {
    margin-bottom: 20px;
}

.filter-option {
    margin: 0 10px;
    color: #333;
    text-decoration: none;
}

.filter-option.active {
    font-weight: bold;
}

/* Grid layout for experiences */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Each experience box */
.experience-box {
    background-color: #f9f9f9;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.experience-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.experience-box:hover img {
    transform: scale(1.05);
}

.experience-info {
    padding: 15px;
    text-align: left;
}

.experience-title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 5px;
}

.experience-excerpt {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.experience-location,
.experience-duration,
.experience-price {
    font-size: 0.9em;
    margin: 5px 0;
    color: #333;
}

/* Destination Header */
.dest-detail-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dest-detail-header {
    font-size: 1.5rem;
    color: #333;
}

.featured-article-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color, #333);
}


.dest-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .dest-detail-container h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
  }

  .scrolling-article .featured-article-title {
    color: #fafafa;
  }
  .dest-detail-image {
    grid-column: span 3; /* The image spans all three columns */
    width: calc(100% + 2rem);
    height: auto;
    margin-left: -1rem;
  }

  .dest-detail-image img {
    width: 100%;
    height: auto;
  }

  .dest-detail-info {
    grid-column: 1 / span 2; /* Spans the first two columns */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .reservation-widget {
    border: 1px solid rgb(221, 221, 221);
    border-radius: 12px;
    padding: 24px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
    grid-column: 3; /* Stays in the third column */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 20px;
    background-color: #f9f9f9; /* Optional for styling */
    border-radius: 8px; /* Optional for styling */
    height: max-content;
  }
/* Itinerary Section */
.itinerary-section {
    margin-top: 40px;
}

.itinerary-step {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fafafa;
}

.itinerary-step h3 {
    font-size: 1.5rem;
    color: var(--primary-color, #333);
    margin-bottom: 10px;
}

.itinerary-step p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin: 5px 0;
}

.itinerary-step .meals,
.itinerary-step .overnight {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}


.dest-detail-video {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust based on your design */
  overflow: hidden;
}

.dest-detail-video .featured-article-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 3rem;
  text-shadow: 0 2px 4px rgb(0, 0, 0);
  z-index: 1;

}

/* Video Background Container */
.dest-detail-video {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden; /* Hide overflow to crop video */
}

/* Video Wrapper */
.dest-detail-video .Media.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #999; /* Fallback background */
}

/* Video Element */
.dest-detail-video .Media.video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw; /* Cover full viewport width */
  height: 100vh; /* Cover full viewport height */
  object-fit: cover; /* Ensures cropping and centering */
  transform: translate(-50%, -50%);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .dest-detail-container {
        flex-direction: column;
        align-items: center;
    }

    .dest-detail-info {
        padding-right: 0;
        padding-bottom: 20px;
    }

    .featured-article-title {
        font-size: 2em;
    }

    .dest-detail-container {
        flex-direction: column;
        padding: 0 15px;
    }

    .dest-detail-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .column-center {
        padding: 15px;
    }

    .itinerary-step {
        padding: 15px;
    }
}
@view-transition {
    navigation: auto;
}

::view-transition-group(*) {
    animation-duration: 0.8s;
}

.container {
    margin: 0 ;
    position: relative;
  }
  .rightbox {
    height: 100%;
  }

  .rb-container {
    display: block;
    position: relative;
  }

  .rb-container ul.rb {
    padding: 0;
    display: inline-block;
    text-align: left;
  }

  .rb-container ul.rb li {
    list-style: none;
    margin: auto;
    min-height: 50px;
    border-left: 1px dashed #D1582A;
    padding: 0 0 10px 24px;
    position: relative;
  }

  .rb-container ul.rb li:last-child {
    border-left: 0;
  }

  .rb-container ul.rb li::before {
    position: absolute;
    left: -10px;
    top: 0;
    content: url(/static/images/step.svg);
    background: #fff;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    transition: all 500ms ease-in-out;
  }

  .rb-container ul.rb li:hover::before {
    border-color: rgb(120, 45, 70);
    transition: all 1000ms ease-in-out;
  }

  ul.rb li .title {
    color: #D1582A;
    position: relative;
    margin-top: 0;
  }

  .item-title {
    color: #0f0f0f;

  }


  /* General widget styling */
.price-widget {
    width: 300px;
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: max-content;
    position: sticky;
    top: 1rem;
  }

  @media screen and (max-width: 1000px) {
    .price-widget {
      grid-column: span 3;
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
      position: relative;
      margin-bottom: 3rem;
    }
    .span-2 {
      grid-column: span 3!important;
    }
    .dest-detail-info {
      grid-column: span 3!important;
    }
  }
  .price-display {
    text-align: center;
    width: 100%;
  }



  /* General widget styling */
.inline-price-widget {
  display: flex;
  border-radius: 8px;
  height: max-content;
  top: 1rem;
}

.inline-price-widget form{
  margin: auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.inline-price-widget form br {
  display: none;
}

.inline-price-widget form .guest-group label {
  line-height: 42px;
}

.inline-price-widget .guest-count {
  width: 16rem;
}

.inline-price-widget .date-holder {
  margin: auto 0;
}

.inline-price-widget .form-group {
  text-align: left;
}
@media screen and (max-width: 1000px) {
  .inline-price-widget {
    grid-column: span 3;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 3rem;
  }
}
.price-display {
  text-align: center;
}
  .show-tooltip-btn {
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #f50057;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .show-tooltip-btn:hover {
    background-color: #d4004e;
  }

  /* Tooltip styling */
  .tooltip {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 16px;
    position: absolute;
    width: 100%;
    top: 110%;
    left: 0;
    z-index: 100;
  }

  .tooltip.hidden {
    display: none;
  }

  .tooltip-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .tooltip-header label {
    font-size: 14px;
  }

  #guest-dropdown {
    margin-top: 8px;
    border-top: 1px solid #ddd;
    padding-top: 8px;
  }

  .guest-dropdown.hidden {
    display: none;
  }

  .guest-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .guest-group label span {
    font-size: 0.75rem;
    margin-left: 4px;
  }

  .guest-controls {
    display: flex;
    align-items: center;
    width: 100px;
    justify-content: space-between;
  }

  .guest-controls input {
    border: none;
    margin: 0;
  }

  .guest-controls button {
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    background-color: #fff;
  }

  .guest-controls button:hover {
    background-color: #ddd;
  }

  .guest-controls span {
    margin: 0 8px;
    font-size: 16px;
  }

  .save-btn {
    display: block;
    margin-top: 12px;
    padding: 8px 12px;
    background-color: #f50057;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .save-btn:hover {
    background-color: #d4004e;
  }


  .dest-detail-container .blocks {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .span-2 {
    grid-column: span 2;
  }
  .span-3 {
    grid-column: span 3;
  }

slide-show.destination-slide-show::part(prev-button) {
  left: calc(100% - 5rem);
  width: 40px;
  height: 40px;
  top: -2rem;
}

/* Styling the next navigation button */
slide-show.destination-slide-show::part(next-button) {
  width: 40px;
  height: 40px;
  top: -2rem;
}




.dest-detail-container .article-image-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media screen and (max-width: 580px) {
  .dest-detail-container .article-image-block {
    grid-template-columns: 1fr;
  }

}


.dest-detail-container .article-image-block img {
  max-width: 100%;
  height: auto;
}


.dest-detail-container .image-block img {
  max-width: 100%;
  height: auto;
}

.article-image-block + .article-image-block {
  margin-top: 2rem;
}


.cancellation_policy {
  font-size: 0.6125rem;
}
