/* ===============================
   DOMESTIC TOUR PREMIUM DESIGN
================================= */

/* GRID */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* CARD */
.popular-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* IMAGE */
.card-banner {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

/* DARK OVERLAY EFFECT */
.card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  opacity: 0.9;
}

/* TOP TAG */
.card-top {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.card-date {
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.card-group {
  background: #ffcc00;
  color: #000;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* CONTENT OVERLAY */
.card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  color: #fff;
  z-index: 2;
}

/* TITLE */
.card-price {
  display: inline-block;
  background: #00b894;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

/* DETAILS */
.card-days {
  font-size: 15px;
  margin-bottom: 6px;
}

.card-cost {
  font-size: 14px;
  margin-bottom: 12px;
  color: #f1f1f1;
}

/* BUTTON */
.book-btn {
  display: inline-block;
  padding: 7px 16px;
  background: #ffcc00;
  color: #000;
  border-radius: 25px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

/* BUTTON HOVER */
.book-btn:hover {
  background: #000;
  color: #ffcc00;
}

/* HOVER EFFECT */
.popular-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.popular-card:hover img {
  transform: scale(1.15);
  filter: brightness(70%);
}

/* GLASS EFFECT (SUBTLE) */
.popular-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.2),
    rgba(255,255,255,0.05)
  );
  opacity: 0;
  transition: 0.4s;
  z-index: 1;
}

.popular-card:hover::before {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .tour-grid {
    grid-template-columns: 1fr;
  }
}