/**
 * hotel_card_v2.css
 * V2 테마별/지역별 호텔 카드 스타일
 * callback_hotel_type2_v2.php 출력 HTML 대응
 * 
 * 적용법: <link rel="stylesheet" href="/css/common/hotel_card_v2.css">
 * 또는 req_custom_v2.css에 병합
 */

/* ========== 호텔 카드 V2 ========== */
.hotel-card-v2 {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none !important;
  height: 100%;
}
.hotel-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(45, 147, 236, 0.2);
  text-decoration: none !important;
}

/* 이미지 영역 */
.hotel-card-v2-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e5e7eb;
}
.hotel-card-v2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.hotel-card-v2:hover .hotel-card-v2-img img {
  transform: scale(1.08);
}

/* 텍스트 영역 */
.hotel-card-v2-body {
  padding: 16px 14px;
  text-align: center;
}
.hotel-card-v2-name {
  font-family: 'SCoreDream', 'Noto Sans KR', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1f2937;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hotel-card-v2-name-en {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 더보기 버튼 */
.btn-more-hotels-v2 {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #2d93ec;
  border-radius: 30px;
  color: #2d93ec;
  font-family: 'SCoreDream', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-more-hotels-v2:hover {
  background: #2d93ec;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(45, 147, 236, 0.3);
}

/* 탭 스타일 V2 */
.hotels_t_w {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  border: none;
  padding: 0;
  list-style: none;
}
.hotels_t_w li {
  padding: 10px 22px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 25px;
  color: #4b5563;
  font-family: 'SCoreDream', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  list-style: none;
}
.hotels_t_w li:hover {
  border-color: #2d93ec;
  color: #2d93ec;
  background: #f0f7ff;
}
.hotels_t_w li.active,
.hotels_t_w li.active a {
  background: #2d93ec;
  border-color: #2d93ec;
  color: #fff;
  box-shadow: 0 4px 15px rgba(45, 147, 236, 0.3);
}
.hotels_t_w li a {
  color: inherit;
  text-decoration: none;
}

/* 로딩 */
.hotels_c_w .loading_circle {
  text-align: center;
  padding: 60px 0;
  color: #9ca3af;
}
.hotels_c_w .loading_circle::after {
  content: '';
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid #e5e7eb;
  border-top-color: #2d93ec;
  border-radius: 50%;
  animation: hotelCardSpin 0.8s linear infinite;
}
@keyframes hotelCardSpin {
  to { transform: rotate(360deg); }
}

/* ========== 반응형 ========== */
@media (max-width: 991.98px) {
  .hotel-card-v2-img {
    height: 170px;
  }
}
@media (max-width: 767.98px) {
  .hotel-card-v2-img {
    height: 140px;
  }
  .hotel-card-v2-body {
    padding: 12px 10px;
  }
  .hotel-card-v2-name {
    font-size: 13px;
  }
  .hotel-card-v2-name-en {
    font-size: 11px;
  }
  .hotels_t_w {
    gap: 8px;
  }
  .hotels_t_w li {
    padding: 8px 16px;
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .hotel-card-v2-img {
    height: 120px;
  }
}
