/* =========================
   Trip Page Banner Section
========================= */
.tripdeal-banner {
  height: 60vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tripdeal-banner .banner-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tripdeal-banner .banner-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tripdeal-banner .overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}

.tripdeal-banner-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  text-align: center;
}

.tripdeal-banner-small-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tripdeal-banner-large-tagline {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.4;
}

/* =========================
   Description Section
========================= */
.tripdeal-description {
  margin: 50px auto 30px;
  padding: 0 20px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

/* =========================
   Trips Grid Cards
========================= */
.tripdeal-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tripdeal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.tripdeal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.15));
}

/* =========================
   Badge Styles
========================= */
.tripdeal-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 20px;
  z-index: 2;
  color: #fff;
}

/* Badge Types */
.tripdeal-badge.badge-fixed       { background-color: #007bff; }
.tripdeal-badge.badge-limited     { background-color: #dc3545; }
.tripdeal-badge.badge-discount    { background-color: #28a745; }
.tripdeal-badge.badge-featured    { background-color: #6c63ff; }
.tripdeal-badge.badge-bestseller  { background-color: #4caf50; }
.tripdeal-badge.badge-new         { background-color: #00bcd4; }
.tripdeal-badge.badge-early       { background-color: #8bc34a; }
.tripdeal-badge.badge-lastminute  { background-color: #f44336; }
.tripdeal-badge.badge-luxury      { background-color: #795548; }
.tripdeal-badge.badge-adventure   { background-color: #3f51b5; }
.tripdeal-badge.badge-family      { background-color: #ff9800; }
.tripdeal-badge.badge-beginner    { background-color: #9c27b0; }
.tripdeal-badge.badge-eco         { background-color: #2e7d32; }
.tripdeal-badge.badge-inclusive   { background-color: #009688; }
.tripdeal-badge.badge-smallgroup  { background-color: #607d8b; }
.tripdeal-badge.badge-private     { background-color: #9e9e9e; }
.tripdeal-badge.badge-hotdeal     { background-color: #d32f2f; }

/* =========================
   Card Content
========================= */
.tripdeal-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
}

.tripdeal-meta {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.tripdeal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 8px 0;
  line-height: 1.3;
}

.tripdeal-route {
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.tripdeal-price {
  font-size: 1rem;
  font-weight: 600;
}

.tripdeal-price .old {
  text-decoration: line-through;
  opacity: 0.65;
  margin-right: 6px;
}

.tripdeal-price .new {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.tripdeal-btn {
  border-radius: 6px;
  font-weight: 600;
  padding: 6px 16px;
}

/* =========================
   Responsive Tweaks
========================= */
@media (max-width: 992px) {
  .tripdeal-card {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .tripdeal-banner-small-title {
    font-size: 1.2rem;
  }
  .tripdeal-banner-large-tagline {
    font-size: 1.9rem;
  }
}

@media (max-width: 576px) {
  .tripdeal-banner {
    height: 50vh;
  }
  .tripdeal-banner-large-tagline {
    font-size: 1.6rem;
  }
}
/*collage*/

/* Title and Subtitle Styling */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0 auto;
  line-height: 1.6;
}

/* Fixed Collage Styles */
.mba-collage .mba-card {
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  height: 100%;
  min-height: 280px;
}

.mba-collage .mba-card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.mba-collage .mba-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.6s ease;
  display: block;
}

.mba-collage .mba-card:hover img {
  transform: scale(1.05);
}

/* Overlay always visible */
.mba-collage .mba-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.65));
  color: #fff;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.mba-collage .mba-card:hover .mba-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.75));
}

/* Text Styling */
.mba-collage .mba-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mba-collage .mba-subtext {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.mba-collage .mba-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  line-height: 1.4;
  max-width: 90%;
}

.mba-collage .mba-title-sm {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.5px;
}

.mba-collage .mba-tagline-sm {
  font-size: 0.85rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  line-height: 1.3;
}

/* Taxonomy Badge Styling */
.taxonomy-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.trek-badge {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.expedition-badge {
  background: rgba(59, 130, 246, 0.9);
  color: white;
}

/* Button Styling */
.mba-collage .btn-light {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  padding: 0.6rem 1.8rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.mba-collage .btn-light:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Mobile-specific adjustments */
@media (max-width: 767.98px) {
  .mba-collage .mba-card-sm .mba-overlay {
    padding: 0.75rem;
    justify-content: center;
  }
  
  .mba-collage .mba-card-sm .taxonomy-badge {
    margin-top: 0;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
  
  /* Adjust large card for mobile */
  .mba-collage .mba-card:not(.mba-card-sm) .mba-overlay {
    padding: 1.2rem;
  }
  
  .mba-collage .mba-card:not(.mba-card-sm) .mba-text {
    margin-bottom: 1rem;
  }
  
  /* Keep category names visible but adjust size for mobile */
  .mba-collage .mba-card-sm .mba-title-sm {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
  }
}

/* Responsive Tweaks */
@media (max-width: 1199.98px) {
  .section-title {
    font-size: 2.2rem;
  }
  .mba-collage .mba-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .mba-collage .mba-title {
    font-size: 1.7rem;
  }
  .mba-collage .mba-title-sm {
    font-size: 1.2rem;
  }
  .mba-collage .mba-card {
    min-height: 240px;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }
  .mba-collage .mba-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  .mba-collage .mba-overlay {
    padding: 1.2rem;
  }
  .mba-collage .mba-card {
    min-height: 200px;
  }
  .mba-collage .mba-text {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  .mba-collage .mba-title {
    font-size: 1.3rem;
  }
  .mba-collage .mba-overlay {
    padding: 1rem;
  }
  
  /* Small card specific mobile adjustments */
  .mba-collage .mba-card-sm .mba-overlay {
    padding: 0.5rem;
  }
  
  .mba-collage .mba-card-sm {
    min-height: 150px;
  }
  
  /* Large card mobile adjustments */
  .mba-collage .mba-card:not(.mba-card-sm) {
    min-height: 220px;
    margin-bottom: 0.5rem;
  }
  
  /* Further adjust category names for very small screens */
  .mba-collage .mba-card-sm .mba-title-sm {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
}
