/* ========================================
   MAHARAJAH TOURS - TOUR PAGES
   Tour Detail, Tour Listing, Pricing
   ======================================== */

/* ========== TOUR DETAIL PAGE ========== */

/* Enhanced Content Cards */
.content-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-burgundy) 0%, var(--brand-gold) 50%, var(--brand-burgundy) 100%);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.content-card:hover::before {
  transform: scaleX(1);
}

.content-card:hover {
  box-shadow: 0 8px 30px rgba(78, 14, 16, 0.15);
  transform: translateY(-2px);
}

/* Share Buttons */
.share-buttons {
  margin-top: 1.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.share-btn-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.share-btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.share-btn-email:hover {
  background: linear-gradient(135deg, var(--brand-gold) 0%, #c09b2d 100%);
  border-color: var(--brand-gold);
}

.share-btn-copy:hover {
  background: linear-gradient(135deg, var(--brand-burgundy) 0%, #3a0a0c 100%);
  border-color: var(--brand-burgundy);
}

/* Tour meta badges - for hero section with dark background */
.hero-section .tour-meta-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-section .tour-meta-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Tour meta badges - for content area with light background */
.content-card .tour-meta-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #fffbf5 100%);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  color: var(--brand-burgundy);
  border: 2px solid var(--brand-gold);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  font-weight: 600;
}

.content-card .tour-meta-badge:hover {
  background: linear-gradient(135deg, var(--brand-gold) 0%, #e8c547 100%);
  border-color: var(--brand-burgundy);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  color: #fff;
}

.content-card .tour-meta-badge:hover i {
  color: #fff;
}

.content-card .tour-meta-badge i {
  color: var(--brand-gold);
  font-size: 1.3rem;
  margin-right: 0.5rem;
  background: linear-gradient(135deg, var(--brand-light-gold) 0%, #fff8e7 100%);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Enhanced Gallery Styling */
.gallery-item {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--brand-gold);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3) !important;
}

.gallery-overlay {
  background: linear-gradient(135deg, rgba(78, 14, 16, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-icon-wrapper {
  transform: scale(1);
  background: rgba(255, 255, 255, 0.3);
}

.tour-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.status-upcoming {
  background: linear-gradient(135deg, var(--brand-gold) 0%, #c09b2d 100%);
  color: #fff;
}

.status-active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.status-completed {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--brand-burgundy);
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--brand-gold) 0%, transparent 100%);
  border-image-slice: 1;
  position: relative;
}

.section-title i {
  color: var(--brand-gold);
  background: linear-gradient(135deg, var(--brand-light-gold) 0%, #fff8e7 100%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-right: 0.75rem;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.2);
  font-size: 1.2rem;
}




.tour-description ul {
  list-style-type: disc;
  color: #4e0e10;
  padding-left: 1.5em;
}

#sunnyTour {
  color: #4e0e10;
}

#sunnyTour li::marker {
  color: #d4af37;
}

.tour-sidebar {
  position: sticky;
  top: 100px;
}

/* ========== TOURS LISTING PAGE ========== */
.filter-form .input-group-text {
  border: 1px solid #dee2e6;
  border-right: none;
  background: #fff;
}

.filter-form .form-control,
.filter-form .form-select {
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.filter-form .form-control:focus,
.filter-form .form-select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
}

.active-filters {
  padding-top: 1rem;
  border-top: 1px solid rgba(78, 14, 16, 0.1);
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  background: var(--brand-burgundy);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

.filter-tag a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.bg-brand-burgundy {
  background: var(--brand-burgundy) !important;
}

.tour-card-enhanced {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  border: none;
  height: 100%;
  position: relative;
}

.tour-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-burgundy) 0%, var(--brand-gold) 50%, var(--brand-burgundy) 100%);
  transform: scaleX(0);
  transition: transform 0.6s ease;
  z-index: 2;
}

.tour-card-enhanced:hover::before {
  transform: scaleX(1);
}

.tour-card-enhanced:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(78, 14, 16, 0.25) !important;
}

.card-img-wrapper-enhanced {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.card-img-wrapper-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.tour-card-enhanced:hover .card-img-wrapper-enhanced::before {
  opacity: 1;
}

.card-img-wrapper-enhanced img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-card-enhanced:hover .card-img-wrapper-enhanced img {
  transform: scale(1.15);
}

.tour-badge-price {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--brand-gold) 0%, #c09b2d 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  z-index: 10;
  letter-spacing: 0.5px;
  font-family: 'Playfair Display', serif;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.tour-card-enhanced:hover .tour-badge-price {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

.tour-badge-price .currency {
  font-size: 1.1rem;
  opacity: 0.9;
}

.tour-meta-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: none;
  /* Hidden - meta info now in card body */
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.tour-card-enhanced:hover .tour-meta-overlay {
  opacity: 0;
  /* Keep hidden even on hover */
  transform: translateY(10px);
}

.tour-meta-item {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-burgundy);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  width: fit-content;
  border: 2px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.tour-meta-item:hover {
  background: var(--brand-gold);
  color: #fff;
  border-color: #fff;
  transform: translateX(5px);
}

.tour-meta-item i {
  color: var(--brand-gold);
  margin-right: 0.6rem;
  font-size: 1.1rem;
}

.tour-meta-item:hover i {
  color: #fff;
}

.tour-card-enhanced .card-body {
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.card-title-enhanced {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--brand-burgundy);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card-enhanced:hover .card-title-enhanced {
  color: var(--brand-gold);
}

/* Tour Highlights List Styling */
.tour-highlights-list {
  margin: 0;
  padding: 0;
}

.tour-highlights-list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  transition: all 0.3s ease;
}

.tour-highlights-list li:hover {
  transform: translateX(5px);
}

.tour-highlights-list li i {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.tour-highlights-list li span {
  flex: 1;
}

.card-text-enhanced {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Tour CTA Button */
.tour-cta-btn {
  transition: all 0.3s ease;
  border: 2px solid var(--brand-burgundy);
  color: var(--brand-burgundy);
  position: relative;
  overflow: hidden;
}

.tour-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-burgundy) 0%, var(--brand-gold) 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.tour-card-enhanced:hover .tour-cta-btn {
  color: #fff;
  border-color: var(--brand-gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.tour-card-enhanced:hover .tour-cta-btn::before {
  left: 0;
}

.tour-cta-btn i {
  transition: transform 0.3s ease;
}

.tour-card-enhanced:hover .tour-cta-btn i {
  transform: translateX(5px);
}

.empty-state {
  max-width: 650px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.empty-state-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-light-gold) 0%, #faf8f5 100%);
  border-radius: 50%;
  border: 4px solid var(--brand-gold);
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.empty-state-icon i {
  font-size: 4rem;
  color: var(--brand-burgundy);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.4);
  }
}

/* Tour Title Box Enhancement */
.content-card:first-child {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf5 100%);
  border: 2px solid var(--brand-gold);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

/* Tour Highlights Badge Enhancement */
.tour-highlight-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-burgundy) 0%, #6b1518 100%);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(78, 14, 16, 0.25);
  border: 1px solid transparent;
  letter-spacing: 0.3px;
  opacity: 0.95;
}

.tour-highlight-badge:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 15px rgba(78, 14, 16, 0.35);
  border-color: var(--brand-gold);
  background: linear-gradient(135deg, #6b1518 0%, var(--brand-gold) 100%);
  opacity: 1;
}

.content-card .badge {
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.content-card .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: var(--brand-gold) !important;
}

/* Video Card Enhancement */
.tour-sidebar .card {
  border-radius: 16px !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tour-sidebar .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-burgundy) 0%, var(--brand-gold) 50%, var(--brand-burgundy) 100%);
  transform: scaleX(0);
  transition: transform 0.6s ease;
  z-index: 1;
}

.tour-sidebar .card:hover::before {
  transform: scaleX(1);
}

.tour-sidebar .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(78, 14, 16, 0.15) !important;
}

/* Add subtle pattern to content cards */
.content-card {
  background-image:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(78, 14, 16, 0.03) 0%, transparent 50%);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Loading animation for images */
.gallery-image {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Tour Meta Section Enhancement */
.tour-meta-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--brand-light-gold);
}

.tour-meta-label {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-burgundy);
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tour-meta-label i {
  color: var(--brand-gold);
  font-size: 1.1rem;
}

/* Tour Dates Styling - Under Title */
.tour-dates {
  font-size: 0.95rem;
  color: var(--brand-burgundy);
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #fef3e7 0%, #fff8f0 100%);
  border-radius: 8px;
  border-left: 3px solid var(--brand-gold);
}

.tour-dates i {
  color: var(--brand-gold);
  font-size: 1.1rem;
}

/* Inline Meta Badges - Duration & Destination Side by Side */
.tour-meta-inline {
  margin-bottom: 1rem;
}

.tour-meta-badge-inline {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-burgundy);
  border: 2px solid var(--brand-light-gold);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tour-meta-badge-inline:hover {
  background: var(--brand-gold);
  color: #fff;
  border-color: var(--brand-burgundy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.tour-meta-badge-inline i {
  color: var(--brand-gold);
  margin-right: 0.5rem;
  font-size: 1rem;
}

.tour-meta-badge-inline:hover i {
  color: #fff;
}

/* ========== MOBILE RESPONSIVE - HIDE FILTERS ========== */

/* Hide filter section on mobile devices (below 768px) */
@media (max-width: 767.98px) {
  .filter-form {
    display: none !important;
  }

  /* Remove sticky positioning on mobile since filter is hidden */
  section.py-4.bg-white.shadow-sm {
    position: relative !important;
    top: auto !important;
  }
}

/* ============================
   PRICING TABLE (Tour Detail)
   ============================ */

/* Fix table borders and vertical alignment */
.pricing-table {
  border-collapse: collapse;
  /* removes the white gap between borders */
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0e6d2;
}

.pricing-table th,
.pricing-table td {
  vertical-align: middle;
  /* centers the Option text */
  padding: 0.9rem 1rem;
  border: 1px solid #f0e6d2;
}

.pricing-table th {
  font-weight: 600;
  background: #f8f9fa;
  color: var(--brand-burgundy);
}

.pricing-table th small {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: normal;
  margin-top: 2px;
}

.pricing-table tbody tr:hover {
  background-color: #fdf7f7;
}
