
/* ===== Cards Layout ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin: 50px 0;
}

.card {
  background: #fff;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 15px 0 10px;
  color: #dca95d;
}

.card .price {
  font-weight: bold;
  margin-bottom: 15px;
  color: #6a5acd;
}

.btn-see {
  display: inline-block;
  margin-bottom: 15px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #dca95d, #f1c27d);
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-see:hover {
  background: linear-gradient(135deg, #f1c27d, #dca95d);
  transform: translateY(-3px) scale(1.05);
}

/* ===== Detail Section ===== */
.detail-container {
  display: none; /* hidden by default */
  max-width: 900px;
  margin: 50px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  overflow: hidden;
  flex-wrap: wrap;
  display: flex;
}

.detail-img {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
}

.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  flex: 1;
  padding: 30px;
}

.detail-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #6a5acd;
}

.detail-info ul {
  list-style: disc inside;
  margin-bottom: 20px;
}

.detail-info ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.detail-price {
  font-size: 24px;
  font-weight: bold;
  color: #dca95d;
  margin-bottom: 25px;
}

.btn-back {
  display: inline-block;
  margin-left: 30px;
  padding: 10px 25px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #dca95d, #f1c27d);
  transition: all 0.3s ease-in-out;
}

.btn-back:hover {
  background: linear-gradient(135deg, #f1c27d, #dca95d);
  transform: translateY(-3px) scale(1.05);
}

/* ====== Container ====== */
.detail-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 50px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* ====== Image ====== */
.detail-img {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
}

.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ====== Details ====== */
.detail-info {
  flex: 1;
  padding: 30px;
  background: #fafafa;
}

.detail-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #6a5acd;
}

/* ====== Fancy bullet points ====== */
.fancy-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.fancy-features li {
  background: #fff;
  margin-bottom: 10px;
  padding: 12px 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.fancy-features li i {
  color: #dca95d;
  margin-right: 10px;
  font-size: 18px;
}

.fancy-features li:hover {
  background: #fff3e0;
  transform: scale(1.02);
}

/* ====== Price ====== */
.detail-price {
  font-size: 24px;
  font-weight: bold;
  color: #dca95d;
  margin-bottom: 25px;
}

/* ====== Buttons ====== */
.btn-back, .btn-book {
  display: inline-block;
  margin-right: 15px;
  padding: 10px 25px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease-in-out;
}

.btn-back {
  background: linear-gradient(135deg, #dca95d, #f1c27d);
}

.btn-back:hover {
  background: linear-gradient(135deg, #f1c27d, #dca95d);
  transform: translateY(-3px) scale(1.05);
}

.btn-book {
  background: linear-gradient(135deg, #6a5acd, #836fff);
}

.btn-book:hover {
  transform: translateY(-3px) scale(1.05);
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .detail-container {
    flex-direction: column;
  }

  .detail-img, .detail-info {
    max-width: 100%;
    border-radius: 12px;
  }
}
