@import url('/css/brand.css');

/* ===== Hero ===== */
#banner.hero-hpk {
  position: relative;
  min-height: min(92vh, 720px);
  height: auto;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(5, 42, 51, 0.82) 0%, rgba(10, 74, 87, 0.55) 45%, rgba(255, 77, 46, 0.35) 100%),
    url(../images/banner.jpg) center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#banner.hero-hpk::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 183, 0, 0.22), transparent 40%),
    linear-gradient(180deg, transparent 40%, rgba(5, 42, 51, 0.55) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 1.25rem;
  max-width: 720px;
  animation: hpkFadeUp 0.7s ease both;
}

.hero-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.35rem;
}

.hero-brand .accent {
  color: var(--hpk-gold);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: #fff;
  margin: 0 0 0.65rem;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0;
}

#search-banner-trip {
  position: relative;
  z-index: 3;
  background: rgba(247, 251, 252, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px !important;
  box-shadow: var(--hpk-shadow);
  margin-bottom: 1.75rem;
  padding: 0.5rem 0.25rem 0.75rem;
  animation: hpkFadeUp 0.85s 0.12s ease both;
}

#search-banner-trip .form-select,
#search-banner-trip .form-control {
  background: #fff !important;
  border: 1px solid var(--hpk-line);
  border-radius: 12px;
  font-weight: 500;
  color: var(--hpk-ink);
}

#search-banner-trip .form-select:focus,
#search-banner-trip .form-control:focus {
  border-color: var(--hpk-teal);
  box-shadow: 0 0 0 0.2rem rgba(18, 138, 158, 0.18);
}

.border-item {
  border-right: none;
  align-items: center;
  gap: 0.35rem;
}

.border-item i {
  color: var(--hpk-coral);
}

.select-search {
  background-color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}

#search-banner-trip hr {
  opacity: 0.15;
  border-color: var(--hpk-ink);
}

.type-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--hpk-line);
  background: #fff;
  color: var(--hpk-deep);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.type-chip:hover {
  border-color: var(--hpk-teal);
  color: var(--hpk-teal);
}

.type-chip:has(input:checked),
.type-chip.is-active {
  background: linear-gradient(135deg, var(--hpk-coral), var(--hpk-coral-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 77, 46, 0.28);
}

.type-chip input {
  display: none;
}

.type-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

#btn-search {
  background: linear-gradient(135deg, var(--hpk-coral) 0%, var(--hpk-coral-deep) 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  min-height: 3.4rem;
  box-shadow: 0 12px 26px rgba(255, 77, 46, 0.32);
  transition: transform 0.2s ease, filter 0.2s ease;
  animation: hpkPulseSoft 2.8s ease-in-out infinite;
}

#btn-search:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
  animation: none;
}

/* ===== Sections ===== */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.section-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0;
}

.section-head p {
  color: rgba(5, 42, 51, 0.65);
  margin: 0.35rem 0 0;
  max-width: 36rem;
}

.popular-trip-item {
  background: #fff;
  border: 1px solid var(--hpk-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.popular-trip-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--hpk-shadow);
  border-color: rgba(255, 77, 46, 0.35);
}

.popular-trip-item img {
  border-radius: 0 !important;
  height: 100% !important;
  min-height: 9rem;
}

.popular-trip-item .card-title {
  color: var(--hpk-ink);
}

.popular-trip-item .trip-info .card-text {
  color: var(--hpk-coral);
  font-weight: 700;
}

#nha-xe .carousel {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--hpk-shadow);
}

#nha-xe .carousel-caption h3 {
  font-family: var(--font-display);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.place-tile {
  position: relative;
  height: 18rem;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(5, 42, 51, 0.12);
  transition: transform 0.25s ease;
}

.place-tile:hover {
  transform: translateY(-5px);
}

.place-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-tile .card-img-overlay {
  background: linear-gradient(180deg, transparent 35%, rgba(5, 42, 51, 0.75) 100%);
}

.place-tile h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  width: 90%;
  text-align: center;
}

#nen-tang-ket-noi {
  background:
    linear-gradient(135deg, var(--hpk-deep) 0%, #0d6678 55%, #c43a22 140%);
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--hpk-shadow);
}

#nen-tang-ket-noi h1,
#nen-tang-ket-noi h2,
#nen-tang-ket-noi p {
  color: #fff !important;
}

#nen-tang-ket-noi hr {
  border-color: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

.card-nhan-xet {
  background: linear-gradient(160deg, var(--hpk-deep), #146778);
  border: none;
  border-radius: 20px;
  box-shadow: var(--hpk-shadow);
  transition: transform 0.25s ease;
}

.card-nhan-xet:hover {
  transform: translateY(-4px);
}

#cmt {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

@media (max-width: 991px) {
  #banner.hero-hpk {
    min-height: auto;
    padding-bottom: 0.5rem;
  }

  .hero-copy {
    padding-top: 3.5rem;
  }

  .border-item {
    margin-bottom: 0.25rem;
  }

  #btn-search {
    width: 100%;
    margin-bottom: 0.75rem;
  }
}
