/* =========================================
   1. Trek Detail Page Styling
   ========================================= */
.trek-detail-page {
  background: #fff;
}

.trek-hero-header {
  padding: 40px 0 60px;
  background: #fff;
}
.trek-hero-header .trek-breadcrumb {
  font-size: 13px;
  color: #888;
  margin-bottom: 25px;
  font-weight: 500;
}
.trek-hero-header .trek-breadcrumb a {
  color: inherit;
}
.trek-hero-header .trek-breadcrumb a:hover {
  color: var(--primary-color);
}
.trek-hero-header .trek-breadcrumb span {
  margin: 0 5px;
}
.trek-hero-header .trek-title-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 45px;
}
@media (max-width: 992px) {
  .trek-hero-header .trek-title-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
}
.trek-hero-header .trek-title-area .trek-badge-top {
  color: var(--primary-color);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 15px;
}
.trek-hero-header .trek-title-area .main-trek-title {
  font-size: 3.8rem;
  font-family: var(--font-playfair);
  color: var(--secondary-color);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 20px;
}
.trek-hero-header .trek-title-area .trek-quick-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.trek-hero-header .trek-title-area .trek-quick-meta .m-item {
  background: #f6f4fa;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 16px;
  color: #555;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trek-hero-header .trek-title-area .trek-quick-meta .m-item i {
  color: var(--primary-color);
  font-size: 18px;
}
.trek-hero-header .trek-title-area .trek-actions {
  display: flex;
  gap: 15px;
}
.trek-hero-header .trek-title-area .trek-actions .btn-action-outline {
  background: transparent;
  border: 1px solid #ddd;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  transition: 0.3s;
}
.trek-hero-header .trek-title-area .trek-actions .btn-action-outline:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* Rugged Gallery Grid */
.trek-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 20px;
  height: 550px;
  border-radius: 30px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .trek-gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
}
.trek-gallery-grid .g-item {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
}
.trek-gallery-grid .g-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.6s ease;
}
.trek-gallery-grid .g-item:hover img {
  transform: scale(1.05);
}
.trek-gallery-grid .g-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.trek-gallery-grid .g-right .last-g-item {
  position: relative;
}
.trek-gallery-grid .g-right .last-g-item .overlay-full {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-outfit);
}

/* =========================================
   2. Content Layout
   ========================================= */
.trek-layout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  padding-top: 80px;
}
@media (max-width: 1100px) {
  .trek-layout-grid {
    grid-template-columns: 1fr;
  }
}

.adventure-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .adventure-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
.adventure-stats-bar .s-card {
  background: #f6f4fa;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}
.adventure-stats-bar .s-card:hover {
  background: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}
.adventure-stats-bar .s-card .s-icon {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.adventure-stats-bar .s-card .s-txt label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  font-weight: 800;
  margin-bottom: 5px;
}
.adventure-stats-bar .s-card .s-txt span {
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
}

.trek-nav-tabs {
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  background: #fff;
  z-index: 100;
  margin-bottom: 60px;
  border-bottom: 2px solid #f0f0f0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.trek-nav-tabs ul {
  display: flex;
  gap: 45px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trek-nav-tabs ul li {
  padding: 20px 0;
  position: relative;
}
.trek-nav-tabs ul li a {
  font-weight: 800;
  color: #999;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.trek-nav-tabs ul li.active a {
  color: var(--secondary-color);
}
.trek-nav-tabs ul li.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
}

.trek-section-block {
  margin-bottom: 80px;
}
.trek-section-block .section-title {
  font-family: var(--font-playfair);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 30px;
}
.trek-section-block .lead-p {
  font-size: 18px;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 25px;
}
.trek-section-block p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Stylish Highlights */
.trek-highlights-modern {
  background: #fcfbff;
  padding: 40px;
  border-radius: 25px;
  border: 1px solid #f0f0f0;
  margin-top: 40px;
}
.trek-highlights-modern h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 800;
}
.trek-highlights-modern .h-list-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 480px) {
  .trek-highlights-modern .h-list-modern {
    grid-template-columns: 1fr;
  }
}
.trek-highlights-modern .h-list-modern .h-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
}
.trek-highlights-modern .h-list-modern .h-item i {
  color: #2ecc71;
  font-size: 18px;
}

/* Modern Trek Accordion Itinerary Styles */
.trek-itinerary-accordion .accordion-item {
  border: none;
  border-radius: 25px !important;
  margin-bottom: 25px;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}
.trek-itinerary-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  box-shadow: 0 30px 60px rgba(10, 13, 84, 0.1);
  transform: translateY(-8px);
}
.trek-itinerary-accordion .accordion-button {
  padding: 35px;
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary-color);
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 25px !important;
}
.trek-itinerary-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  padding-bottom: 20px;
}
.trek-itinerary-accordion .day-num {
  width: 55px;
  height: 55px;
  background: var(--dark);
  color: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  transition: 0.4s;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.trek-itinerary-accordion .accordion-button:not(.collapsed) .day-num {
  background: var(--primary-color);
  transform: scale(1.1);
}
.trek-itinerary-accordion .accordion-body {
  padding: 0 40px 40px 120px;
  font-size: 17px;
  line-height: 1.9;
  color: #666;
}
.trek-itinerary-accordion .accordion-button::after {
  background-image: none;
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  color: #eee;
  transition: 0.4s;
}
.trek-itinerary-accordion .accordion-button:not(.collapsed)::after {
  content: "\f068";
  color: var(--primary-color);
  transform: rotate(180deg);
}

/* Include/Exclude Card */
.trek-inc-exc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 768px) {
  .trek-inc-exc-card {
    grid-template-columns: 1fr;
  }
}
.trek-inc-exc-card .inc-box, .trek-inc-exc-card .exc-box {
  padding: 40px;
  border-radius: 25px;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}
.trek-inc-exc-card .inc-box h3, .trek-inc-exc-card .exc-box h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  font-weight: 800;
}
.trek-inc-exc-card .inc-box ul, .trek-inc-exc-card .exc-box ul {
  list-style: none;
  padding: 0;
}
.trek-inc-exc-card .inc-box ul li, .trek-inc-exc-card .exc-box ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 15px;
}
.trek-inc-exc-card .inc-box ul li i, .trek-inc-exc-card .exc-box ul li i {
  font-size: 18px;
}
.trek-inc-exc-card .inc-box li i {
  color: #2ecc71;
}
.trek-inc-exc-card .exc-box li i {
  color: #e74c3c;
}

/* =========================================
   3. Sidebar
   ========================================= */
.trek-booking-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 130px;
}

.trek-price-card {
  background: #fff;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  margin-bottom: 30px;
}
.trek-price-card .p-header {
  background: var(--secondary-color);
  padding: 40px;
  color: #fff;
  text-align: center;
}
.trek-price-card .p-header .from {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.trek-price-card .p-header .price-val {
  margin: 10px 0;
}
.trek-price-card .p-header .price-val .curr {
  font-size: 24px;
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
}
.trek-price-card .p-header .price-val .amt {
  font-size: 4rem;
  font-weight: 900;
  font-family: var(--font-outfit);
}
.trek-price-card .p-header .p-note {
  font-size: 13px;
  opacity: 0.6;
}
.trek-price-card .p-body {
  padding: 40px;
}
.trek-price-card .p-body .t-input {
  margin-bottom: 20px;
}
.trek-price-card .p-body .t-input label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.trek-price-card .p-body .t-input input {
  width: 100%;
  padding: 18px 20px;
  border-radius: 15px;
  border: 1px solid #eee;
  background: #fcfbff;
  outline: none;
  transition: 0.3s;
}
.trek-price-card .p-body .t-input input:focus {
  border-color: var(--primary-color);
  background: #fff;
}
.trek-price-card .p-body .btn-trek-primary {
  width: 100%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 22px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.trek-price-card .p-body .btn-trek-primary:hover {
  background: var(--dark);
  transform: translateY(-5px);
}
.trek-price-card .p-body .guarantee-tags {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trek-price-card .p-body .guarantee-tags span {
  font-size: 12px;
  color: #aaa;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trek-price-card .p-body .guarantee-tags i {
  color: #2ecc71;
}

.expert-profile {
  background: #fff;
  padding: 25px;
  border-radius: 25px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 20px;
}
.expert-profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.expert-profile h5 {
  margin: 0 0 3px 0;
  font-size: 16px;
  font-weight: 800;
}
.expert-profile p {
  margin: 0 0 5px 0;
  font-size: 13px;
  color: #777;
}
.expert-profile a {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .trek-hero-header .trek-title-area .main-trek-title {
    font-size: 2.8rem;
  }
  .trek-gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .trek-layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .adventure-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .trek-hero-header .trek-title-area .main-trek-title {
    font-size: 2.2rem;
  }
  .trek-nav-tabs ul {
    gap: 20px;
  }
  .trek-section-block .section-title {
    font-size: 1.8rem;
  }
  .trek-inc-exc-card {
    grid-template-columns: 1fr;
  }
}