/* ── HERO ─────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px 60px;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,14,35,.72) 0%, rgba(10,14,35,.55) 100%),
    url('../img/hero-ha-long.webp') center/cover no-repeat;
  z-index: 0;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
}

.home-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 14px;
}
.home-hero__eyebrow-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.home-hero__eyebrow-link:hover { border-bottom-color: currentColor; }

.home-hero__title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 16px;
}

.home-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  margin: 0 0 32px;
}

/* Search bar */
.home-hero__search-inner {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

.home-hero__search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #aaa;
}

.home-hero__search-inner input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #333;
  background: transparent;
  font-family: inherit;
  min-width: 0;
}

.home-hero__search-inner input::placeholder { color: #bbb; }

.home-hero__search-inner button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: opacity .15s;
}

.home-hero__search-inner button:hover { opacity: .88; }

/* Stats row */
.home-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  color: rgba(255,255,255,.85);
}

.home-hero__stat { text-align: center; }
.home-hero__stat strong { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.home-hero__stat span  { font-size: 12px; opacity: .7; }
.home-hero__stat-sep   { width: 1px; height: 32px; background: rgba(255,255,255,.25); }

/* ── SHARED SECTION STYLES ───────────────────────────────── */
.home-section { padding: 60px 0; }
.home-section:nth-child(even) { background: #f9f9fb; }

.home-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.home-section__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 28px;
}

.home-section__head .home-section__title { margin: 0; }

.home-section__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.home-section__link:hover { text-decoration: underline; }

/* ── CATEGORIES ──────────────────────────────────────────── */
.home-cats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.home-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.home-cat-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.home-cat-card__icon  { font-size: 28px; }
.home-cat-card__name  { font-size: 13px; font-weight: 700; color: var(--primary); text-align: center; }
.home-cat-card__count { font-size: 11px; color: #aaa; }

/* ── BROWSE BY DESTINATION ───────────────────────────────── */
.home-dests__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.home-dest-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 10px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.home-dest-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.home-dest-card--soon {
  opacity: .65;
  cursor: default;
  pointer-events: none;
}

.home-dest-card__name  { font-size: 13px; font-weight: 700; color: var(--primary); text-align: center; line-height: 1.3; }
.home-dest-card__count { font-size: 11px; color: #aaa; }

/* ── VENDOR SPOTLIGHT ────────────────────────────────────── */
.home-vendors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.home-vendor-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}

.home-vendor-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  transform: translateY(-2px);
}

.home-vendor-card__logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #f0f0f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-vendor-card__logo-img { width: 100%; height: 100%; object-fit: cover; }

.home-vendor-card__initials {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.home-vendor-card__info { flex: 1; min-width: 0; }

.home-vendor-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 3px;
}

.home-vendor-card__location {
  font-size: 12px;
  color: #888;
  margin: 0 0 8px;
}

.home-vendor-card__excerpt {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-vendor-card__tours {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: #fff0f3;
  padding: 3px 8px;
  border-radius: 20px;
}

/* ── WHY US ──────────────────────────────────────────────── */
.home-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.home-why__item {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
}

.home-why__item h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 8px; }
.home-why__item p  { font-size: 14px; color: #666; line-height: 1.6; margin: 0; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .home-dests__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
  .home-hero { min-height: 480px; padding: 70px 16px 48px; }
  .home-hero__search-inner { border-radius: 12px; flex-wrap: wrap; padding: 12px 16px; }
  .home-hero__search-inner button { width: 100%; border-radius: 8px; }
  .home-hero__stats { gap: 16px; }
  .home-cats__grid { grid-template-columns: repeat(3, 1fr); }
  .home-dests__grid { grid-template-columns: repeat(3, 1fr); }
  .home-vendors__grid { grid-template-columns: 1fr; }
  .home-why__grid { grid-template-columns: 1fr; }
  .home-section { padding: 40px 0; }
}

@media (prefers-color-scheme: dark) {
  .home-section:nth-child(even) { background: #16161f; }
  .home-cat-card { background: #1e1e2e; border-color: #2e2e3e; }
  .home-cat-card__name { color: #e0e0f0; }
  .home-dest-card { background: #1e1e2e; border-color: #2e2e3e; }
  .home-dest-card__name { color: #e0e0f0; }
  .home-vendor-card { background: #1e1e2e; border-color: #2e2e3e; }
  .home-vendor-card__name { color: #e0e0f0; }
  .home-vendor-card__excerpt { color: #aaa; }
  .home-why__item { background: #1e1e2e; border-color: #2e2e3e; }
  .home-why__item h3 { color: #e0e0f0; }
  .home-why__item p { color: #aaa; }
  .home-hero__search-inner { background: #1e1e2e; }
  .home-hero__search-inner input { color: #e0e0f0; }
}
