/* =====================
   Gallery & Modal
===================== */
.gallery img {
  width: 150px;
  cursor: pointer;
  border-radius: 5px;
  margin: 5px;
}

.modal-dialog {
  max-width: 80%;
  max-height: 90vh;
}

.modal-body img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}

/* =====================
   cost section
===================== */

/* COST SECTION */
#cost {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 25px;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#cost h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  border-bottom: 2px solid #007bff;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

#cost h3 {
  font-size: 1.25rem;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.include-item {
  color: #28a745; /* green */
  font-weight: 500;
}

.exclude-item {
  color: #dc3545; /* red */
  font-weight: 500;
}

#cost i {
  margin-right: 6px;
}

/* =====================
   Trip Info Layout
===================== */
.img-fluid {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 20px;
}

.trip-info {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.trip-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 100px;
  width: 100%;
}

#fact-icon {
  color: green;
  margin-right: 5px;
}

/* =====================
   Itinerary Menu
===================== */
.itinery-menu {
  border-bottom: 1px solid gray;
  padding: 10px 20px 10px 10px;
  margin-top: 20px;
  display: flex;
  gap: 4rem;
  width: 100%;
}

.itinery-menu a {
  text-decoration: none;
  color: black;
}

.overview {
  margin-top: 10px;
}

/* Sticky header on scroll */
.sticky-menu {
  position: fixed;
  top: 0;
  left: 0;
  margin-top: 70px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 15px;
  z-index: 9;
  transition: all 0s ease-in-out;
}

/* =====================
   Icons
===================== */
#check-icon {
  color: green;
  margin-right: 10px;
}

#cross-icon {
  color: red;
  margin-right: 10px;
}

/* =====================
   FAQ & Itinerary Containers
===================== */
.faq-head {
  display: flex;
  justify-content: space-between;
}

.itinerary-container,
.faq-container {
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

/* =====================
   Toggle Switch
===================== */
.toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-label {
  font-size: 14px;
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 20px;
  background: #ccc;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.toggle-switch::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: 0.3s ease-in-out;
}

.toggle-switch.active {
  background: #007bff;
}

.toggle-switch.active::before {
  left: 22px;
}

/* =====================
   Itinerary Accordion
===================== */
.itinerary-section {
  margin: 2rem 0;
}

.day {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.day:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.day-header {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  background: #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.day-header strong {
  color: #007bff;
}

.day-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1.25rem;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.day.expanded .day-content {
  opacity: 1;
  padding: 1rem 1.25rem;
}

.icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.day.expanded .icon {
  transform: rotate(180deg);
}

/* =====================
   Map & Enquiry Form
===================== */
iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.enquiry-container {
  max-width: 800px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
}

.enquiry-container h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  color: #555;
}

input,
select,
textarea {
  width: 98%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #008080;
  outline: none;
}

input[type="submit"] {
  background-color: #008080;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #f4a261;
}

/* =====================
   Card Grid & Buttons
===================== */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.col-half {
  flex: 1;
  min-width: calc(48% - 10px);
}

.price-head {
  background-color: #008080;
  text-align: center;
  color: white;
  padding: 10px;
  height: 50px;
  border-radius: 10px 10px 0 0;
}

.pricing-btn {
  display: inline-block;
  background-color: #008080;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
}
.pricing-btn:hover {
  background-color: #006666;
}

.action a:nth-child(1) {
  background-color: #008080;
  text-align: center;
  text-decoration: none;
  color: white;
  padding: 10px;
  height: 50px;
  width: full;
  border-radius: 0 0 10px 10px;
}

.action a:nth-child(1):hover {
  background-color: #f4a261;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  border: none;
  border-radius: 10px;
  max-width: 400px;
  margin: auto;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.badge-featured {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ffc107;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
}

.price {
  font-size: 24px;
  font-weight: bold;
  color: black;
}

.original-price {
  text-decoration: line-through;
  color: #6c757d;
}

.btn-view-details {
  background-color: #fd7e14;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  border: none;
}

.btn-view-details:hover {
  background-color: #e96b0c;
}

#view-details-link a {
  display: inline-block;
  padding: 10px;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  background-color: orange;
}

#view-details-link a:hover {
  background-color: #008080;
}

/* =====================
   Carousel
===================== */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  display: none;
}

.slide.active {
  display: block;
}

/* =====================
   Responsive
===================== */
@media (max-width: 768px) {
  .gallery .mainimg img {
    width: 330px !important;
    height: 200px !important;
  }

  .gallery .sideimg img {
    display: none;
  }

  .enquiry-container {
    margin: 10px;
    padding: 15px;
  }

  .row {
    flex-direction: column;
    gap: 0;
  }

  .col-half {
    min-width: 98%;
  }

  input[type="submit"] {
    width: 100%;
  }

  .viewtrip-container {
    display: flex;
    flex-direction: column;
  }

  .trip-fact-right {
    display: none;
  }

  .trip-info {
    width: 100% !important;
  }

  .gallery img {
    height: 100px !important;
    width: 170px !important;
  }

  .trip-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
  }

  .itinery-menu {
    gap: 10px;
  }

  #card-container {
    grid-template-columns: 1fr;
  }

  .side-trip-facts,
  .sideimg img {
    display: none !important;
  }
}

/* =====================
   Responsive
===================== */
@media (max-width: 480px) {
  .trip-facts {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }

  .itinery-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
/* === Related Trips Section === */
.features h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
}

/* Grid container */
#card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  background-color: transparent;
}

/* Card styling */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Card image */
.card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Card content */
.card-body {
  padding: 20px;
  text-align: left;
}

.card-body h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.card-body i {
  color: green;
  margin-right: 8px;
}

/* Price + Button */
.card-body .fw-bold {
  font-size: 1.2rem;
  color: #000;
}

.card-body .btn {
  background-color: #f4a261;
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 5px;
  padding: 10px 15px;
  transition: background 0.3s ease;
}

.card-body .btn:hover {
  background-color: #008080;
}

/* Responsive grid */
@media (max-width: 992px) {
  .col-md-4 {
    width: 48% !important;
  }
}

@media (max-width: 768px) {
  #card-container {
    flex-direction: column;
    align-items: center;
  }
  .col-md-4 {
    width: 100% !important;
  }
  .card img {
    height: 180px;
  }
}
