/* TOURS PAGE - BEAUTIFUL & STRUCTURED */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f7f9fc;
  color: #2d3748;
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* FILTER BAR */
.filter-bar {
  padding: 30px 0;
  background: white;
  border-bottom: 2px solid #f0f4f8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.filter-controls {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  flex: 1;
}

.filter-item label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #003580;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-item label i {
  color: #0071c2;
}

.filter-item select {
  padding: 13px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  color: #2d3748;
  font-weight: 500;
  cursor: pointer;
}

.filter-item select:hover {
  border-color: #cbd5e0;
}

.filter-item select:focus {
  outline: none;
  border-color: #0071c2;
  box-shadow: 0 0 0 4px rgba(0, 113, 194, 0.12);
}

.btn-filter {
  padding: 13px 36px;
  background: linear-gradient(135deg, #0071c2 0%, #003580 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.2);
  white-space: nowrap;
}

.btn-filter:hover {
  background: linear-gradient(135deg, #00609e 0%, #00224d 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 53, 128, 0.35);
}

.btn-filter:active {
  transform: translateY(-1px);
}

/* TOURS SECTION */
.tours-section {
  padding: 60px 0 100px;
  background: #f7f9fc;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: -0.5px;
}

.view-toggle {
  display: flex;
  gap: 8px;
  background: white;
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.view-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #718096;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.view-btn:hover {
  background: #f7fafc;
  color: #0071c2;
}

.view-btn.active {
  background: linear-gradient(135deg, #0071c2 0%, #003580 100%);
  color: white;
}

/* TOURS GRID */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
}

/* TOUR CARD */
.tour-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 53, 128, 0.15);
  border-color: rgba(0, 113, 194, 0.2);
}

/* Tour Image */
.tour-image {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-image img {
  transform: scale(1.08);
}

/* Tour Badge */
.tour-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tour-badge.bestseller {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.tour-badge.popular {
  background: linear-gradient(135deg, #0071c2 0%, #003580 100%);
  color: white;
}

.tour-badge.new {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.tour-badge.exclusive {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.wishlist-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-btn i {
  font-size: 1.1rem;
  color: #e74c3c;
}

/* Image Gallery Indicator */
.image-gallery-indicator {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

/* TOUR CONTENT */
.tour-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Category Tags */
.tour-category {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.category-tag {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-tag.adventure {
  background: #fef3c7;
  color: #92400e;
}

.category-tag.cultural {
  background: #dbeafe;
  color: #1e40af;
}

.category-tag.wildlife {
  background: #d1fae5;
  color: #065f46;
}

.category-tag.beach {
  background: #e0e7ff;
  color: #3730a3;
}

.category-tag.historical {
  background: #fce7f3;
  color: #9f1239;
}

.tour-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.tour-location i {
  color: #0071c2;
  font-size: 0.85rem;
}
.tour-description {
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Tour Highlights */
.tour-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  background: #f7fafc;
  border-radius: 8px;
  border-left: 3px solid #0071c2;
}

.tour-highlights span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #4a5568;
  font-weight: 500;
}

.tour-highlights i {
  color: #10b981;
  font-size: 0.9rem;
}

/* Tour Meta */
.tour-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.tour-duration,
.tour-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #4a5568;
  font-weight: 500;
}

.tour-duration i {
  color: #0071c2;
}

.tour-rating i {
  color: #f59e0b;
}

/* Tour Footer */
.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.tour-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tour-price .from {
  font-size: 0.8rem;
  color: #718096;
  font-weight: 500;
}

.tour-price h4 {
  font-size: 2rem;
  font-weight: 800;
  color: #003580;
  line-height: 1;
  margin: 0;
}

.tour-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: #718096;
}

.btn-book-tour {
  padding: 13px 26px;
  background: linear-gradient(135deg, #0071c2 0%, #003580 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.2);
  white-space: nowrap;
}

.btn-book-tour:hover {
  background: linear-gradient(135deg, #00609e 0%, #00224d 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 53, 128, 0.35);
}

.btn-book-tour:active {
  transform: translateY(0);
}

/* WHY CHOOSE US SECTION */
.why-choose-section {
  padding: 80px 0;
  background: white;
}

.why-choose-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.why-choose-card {
  text-align: center;
  padding: 40px 30px;
  background: #f7fafc;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.why-choose-card:hover {
  background: white;
  border-color: #0071c2;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 53, 128, 0.12);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0071c2 0%, #003580 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 2rem;
}

.why-choose-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
}

.why-choose-card p {
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FOOTER */
footer {
  background: white;
  padding: 30px 20px;
  text-align: center;
  color: #333;
  border-top: 1px solid #e0e0e0;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .tours-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-item {
    min-width: 100%;
  }
  
  .btn-filter {
    width: 100%;
    justify-content: center;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .tours-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .tour-image {
    height: 220px;
  }
  
  .tour-content h3 {
    font-size: 1.2rem;
  }
  
  .tour-price h4 {
    font-size: 1.6rem;
  }
  
  .tour-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .btn-book-tour {
    width: 100%;
    justify-content: center;
  }
}
