/**
 * Tours Grid - Compact Card Layout
 */

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tour-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tour-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.tour-card-image img {
  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-price {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-blue, #0284C7);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tour-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: #1e293b;
  line-height: 1.3;
}

.tour-card-description {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  flex-grow: 1;
}

.tour-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.tour-card-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.9rem;
}

.tour-card-duration svg {
  color: var(--primary-blue, #0284C7);
}

.tour-card-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.tour-card-highlights li {
  color: #475569;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  line-height: 1.4;
}

.tour-card-highlights li::before {
  content: '✓';
  color: var(--primary-blue, #0284C7);
  font-weight: bold;
  margin-right: 0.5rem;
}

.tour-card-btn {
  width: 100%;
  padding: 12px 24px;
  background: var(--primary-blue, #0284C7);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: auto;
}

.tour-card-btn:hover {
  background: #0369a1;
}

/* Responsive */
@media (max-width: 768px) {
  .tours-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tour-card-image {
    height: 200px;
  }

  .tour-card-title {
    font-size: 1.25rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1400px) {
  .tours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
