/* Tour List Page Styles */

/* Sidebar Filters */
.tour-sidebar-filters {
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 20px;
}

.filter-section {
  margin-bottom: 0;
}

.filter-title {
  font-size: 20px;
  font-weight: 600;
  color: #181A1F;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E5E5;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #181A1F;
  margin-bottom: 12px;
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #626262;
  transition: color 0.2s ease;
}

.filter-checkbox:hover {
  color: #181A1F;
}

.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: #E95440;
}

.filter-date-inputs input,
.filter-price-range input {
  font-size: 14px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 10px 12px;
  transition: all 0.2s ease;
}

.filter-date-inputs input:focus,
.filter-price-range input:focus {
  border-color: #E95440;
  outline: none;
  box-shadow: 0 0 0 3px rgba(233, 84, 64, 0.1);
}

.filter-price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-separator {
  color: #626262;
  font-size: 14px;
}

.filter-price-range input {
  flex: 1;
}

.form-select.tour-filter-input {
  font-size: 14px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 10px 12px;
  transition: all 0.2s ease;
}

.form-select.tour-filter-input:focus {
  border-color: #E95440;
  outline: none;
  box-shadow: 0 0 0 3px rgba(233, 84, 64, 0.1);
}

/* Toolbar */
.tour-toolbar {
  padding: 16px 0;
  border-bottom: 1px solid #E5E5E5;
}

.tour-view-toggle {
  display: inline-flex;
  gap: 4px;
  background: #F0F2F6;
  border-radius: 8px;
  padding: 4px;
}

.view-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #626262;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover {
  color: #181A1F;
  background: rgba(0, 0, 0, 0.05);
}

.view-btn.active {
  background: #fff;
  color: #E95440;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tour-sort-select {
  font-size: 14px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 6px 32px 6px 12px;
}

/* Tour Cards */
.tour-item {
  transition: transform 0.3s ease;
}

/* Grid View (Default) */
.tour-grid-view .tour-item {
  margin-bottom: 30px;
}

/* List View */
.tour-list-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tour-list-view .tour-item {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  margin-bottom: 0;
}

.tour-list-view .tour-card {
  display: flex;
  flex-direction: row;
  height: auto;
  min-height: 200px;
}

.tour-list-view .tour-card-image {
  width: 300px;
  min-width: 300px;
  padding-top: 0;
  height: 100%;
  min-height: 200px;
  flex-shrink: 0;
}

.tour-list-view .tour-card-image img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-list-view .tour-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.tour-list-view .tour-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.tour-list-view .tour-card-title {
  font-size: 22px;
  margin-bottom: 0;
}

.tour-list-view .tour-card-location,
.tour-list-view .tour-card-duration {
  margin-bottom: 0;
}

.tour-list-view .tour-card-description {
  font-size: 15px;
  margin-bottom: 16px;
  flex: 1;
}

.tour-list-view .tour-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #E5E5E5;
}

/* Responsive adjustments for list view */
@media (max-width: 991px) {
  .tour-list-view .tour-card {
    flex-direction: column;
  }
  
  .tour-list-view .tour-card-image {
    width: 100%;
    min-width: 100%;
    height: 250px;
    min-height: 250px;
  }
}

.tour-card {
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  border-color: #E95440;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.tour-card-image {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #F0F2F6;
}

.tour-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.05);
}

.tour-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tour-card:hover .tour-card-overlay {
  opacity: 1;
}

.tour-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #181A1F;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  align-self: flex-start;
}

.tour-type-badge i {
  font-size: 14px;
  color: #E95440;
}

.tour-type-badge.tour-type-scheduled i {
  color: #006D77;
}

.tour-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #181A1F;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  align-self: flex-end;
}

.tour-date-badge i {
  font-size: 14px;
  color: #E95440;
}

.tour-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card-header {
  margin-bottom: 12px;
}

.tour-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #181A1F;
  margin-bottom: 8px;
  line-height: 1.4;
}

.tour-card-title a {
  color: #181A1F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tour-card-title a:hover {
  color: #E95440;
}

.tour-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #626262;
  margin-bottom: 6px;
}

.tour-card-location i {
  font-size: 16px;
  color: #E95440;
}

.tour-card-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #626262;
  font-weight: 500;
}

.tour-card-duration i {
  font-size: 16px;
  color: #006D77;
}

.tour-card-description {
  font-size: 14px;
  color: #626262;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #E5E5E5;
  margin-top: auto;
}

.tour-card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price-from {
  font-size: 11px;
  color: #626262;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount {
  font-size: 22px;
  font-weight: 700;
  color: #E95440;
  line-height: 1.2;
}

.tour-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #181A1F;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tour-card-link:hover {
  color: #E95440;
  gap: 8px;
}

.tour-card-link svg {
  transition: transform 0.2s ease;
}

.tour-card-link:hover svg {
  transform: translateX(2px);
}

/* Empty State */
.tour-empty-state {
  padding: 80px 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.tour-empty-icon-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, #E95440 0%, #FF6B5A 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(233, 84, 64, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(233, 84, 64, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(233, 84, 64, 0.3);
  }
}

.tour-empty-icon {
  width: 60px;
  height: 60px;
  color: #fff;
}

.tour-empty-title {
  font-size: 28px;
  font-weight: 700;
  color: #181A1F;
  margin-bottom: 16px;
  line-height: 1.3;
}

.tour-empty-text {
  font-size: 18px;
  color: #626262;
  margin-bottom: 8px;
  line-height: 1.6;
}

.tour-empty-subtext {
  font-size: 16px;
  color: #8E8E93;
  margin-bottom: 32px;
  line-height: 1.6;
}

.tour-empty-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-contact {
  background: #E95440;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(233, 84, 64, 0.3);
}

.btn-contact:hover {
  background: #D8432F;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(233, 84, 64, 0.4);
}

.btn-contact i {
  font-size: 18px;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
  font-size: 18px;
}

/* Responsive adjustments for empty state */
@media (max-width: 767px) {
  .tour-empty-state {
    padding: 60px 20px;
  }
  
  .tour-empty-icon-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
  }
  
  .tour-empty-icon {
    width: 50px;
    height: 50px;
  }
  
  .tour-empty-title {
    font-size: 24px;
  }
  
  .tour-empty-text {
    font-size: 16px;
  }
  
  .tour-empty-subtext {
    font-size: 14px;
  }
  
  .tour-empty-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-contact,
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* Load More Button */
.btn-load-more {
  min-width: 200px;
  padding: 12px 32px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
  .tour-sidebar-filters {
    position: static;
    margin-bottom: 30px;
  }
  
  .tour-toolbar {
    flex-direction: column;
    gap: 16px;
  }
  
  .tour-toolbar .col-md-6 {
    text-align: left !important;
  }
  
  .tour-view-toggle {
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .tour-card-content {
    padding: 16px;
  }
  
  .tour-card-title {
    font-size: 18px;
  }
  
  .filter-group {
    margin-bottom: 20px;
  }
}
