@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }

.aff-ref-banner-global {
  background: linear-gradient(90deg, #eff6ff, #fef9c3);
  border-bottom: 1px solid #93c5fd;
  padding: 10px 16px;
}
.aff-ref-banner-global-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: #1e40af;
  position: relative;
  padding-right: 36px;
}
.aff-ref-dismiss {
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  background: rgba(30, 64, 175, 0.12);
  color: #1e40af;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.aff-ref-dismiss:hover { background: rgba(30, 64, 175, 0.22); }
.aff-ref-banner-global strong { display: block; margin-bottom: 2px; }
.aff-ref-banner-global p { margin: 0; color: #475569; line-height: 1.45; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.top-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}

.top-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  overflow: visible;
  flex-wrap: nowrap;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-name { font-size: 22px; font-weight: 800; color: #2563eb; letter-spacing: -0.5px; }

.top-nav { display: flex; gap: 20px; flex-wrap: nowrap; align-items: center; overflow: visible; flex: 1 1 auto; min-width: 0; }
.top-nav a { font-size: 14px; font-weight: 500; color: #475569; transition: .2s; }
.top-nav a:hover, .top-nav a.active { color: #2563eb; }

.header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn { background: none; border: none; font-size: 18px; cursor: pointer; color: #475569; }
.btn-login { padding: 9px 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; font-weight: 600; color: #334155; }
.auth-user-box { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; max-width: min(100%, 320px); }
.btn-user-dash {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}
.btn-user-dash:hover { filter: brightness(1.08); }
.btn-logout-mini, .btn-home-mini { font-size: 12px; padding: 8px 10px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.btn-logout-mini { color: #64748b; border-color: #e2e8f0; }
.btn-home-mini { color: #334155; }
.btn-partner { padding: 9px 18px; background: #2563eb; color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; }
.btn-partner:hover { background: #1d4ed8; }

.register-dropdown { position: relative; }

.btn-register {
  padding: 9px 18px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn-register:hover { background: #1d4ed8; }

.register-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  z-index: 200;
}

.register-menu.open { display: block; }

.register-menu a {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  transition: 0.15s;
}

.register-menu a:hover { background: #eff6ff; color: #2563eb; }
.register-menu a.register-all { font-size: 12px; font-weight: 500; color: #64748b; border-bottom: none; }
.register-menu a.register-all:hover { color: #2563eb; }

/* HERO */
.hero-banner {
  position: relative;
  min-height: 420px;
  background: linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.5)),
    url('../images/lyson.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 100px;
  text-align: center;
}

.hero-banner h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.search-panel {
  max-width: 900px;
  width: 100%;
  margin: -50px auto 0;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.search-panel .box {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 10px;
}

.booking-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  grid-template-columns: unset;
}
.booking-tabs .tab {
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #64748b;
}
.booking-tabs .tab.active { background: #003580; color: #fff; border-color: #003580; }

.search-panel input,
.search-panel select {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
}

.search-panel button {
  padding: 14px 28px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 24px auto 0;
  padding: 0 20px;
}

.trust-item {
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.trust-item .ico { font-size: 22px; }

/* CATEGORY ICONS */
.cat-icons {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  padding: 50px 0 20px;
}

.cat-icon {
  text-align: center;
  cursor: pointer;
  transition: .2s;
}

.cat-icon:hover { transform: translateY(-3px); }

.cat-icon .circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.cat-icon span { font-size: 13px; font-weight: 600; color: #475569; }

.c-blue { background: #dbeafe; }
.c-orange { background: #ffedd5; }
.c-green { background: #dcfce7; }
.c-purple { background: #ede9fe; }
.c-cyan { background: #cffafe; }
.c-pink { background: #fce7f3; }
.c-yellow { background: #fef9c3; }

/* SECTIONS */
.section { padding: 36px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.section-head a { font-size: 14px; color: #2563eb; font-weight: 600; }

.section-title-link {
  color: inherit;
  text-decoration: none;
}
.section-title-link:hover { color: #2563eb; }

.card-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.place-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: .25s;
}

.place-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.place-card img { width: 100%; height: 160px; object-fit: cover; object-position: center; background: #f1f5f9; }
.place-card .info { padding: 14px; }
.place-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.place-card p { font-size: 12px; color: #64748b; }
.place-card .price { color: #2563eb; font-weight: 700; font-size: 15px; margin-top: 8px; }

.culture-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.culture-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  text-align: center;
}

.culture-card img { width: 100%; height: 90px; object-fit: cover; object-position: center; background: #f1f5f9; }
.culture-card p { padding: 8px; font-size: 12px; font-weight: 600; }

.culture-grid-rich { grid-template-columns: repeat(5, 1fr); }
.culture-card-rich { text-align: left; }
.culture-card-rich img { height: 120px; object-fit: cover; object-position: center; background: #f1f5f9; }
.culture-card-rich .culture-body { padding: 12px 14px 14px; }
.culture-card-rich h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.culture-card-rich p { font-size: 12px; color: #64748b; line-height: 1.45; margin-bottom: 8px; }
.culture-card-rich a { font-size: 12px; color: #2563eb; font-weight: 600; }

/* Tourism news */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}
.news-card img { width: 100%; height: 140px; object-fit: cover; object-position: center; background: #f1f5f9; }
.news-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.news-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  width: fit-content;
}
.news-card h3 { font-size: 14px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.news-excerpt { font-size: 12px; color: #64748b; line-height: 1.45; flex: 1; }
.news-meta { display: flex; justify-content: space-between; font-size: 11px; color: #94a3b8; margin: 10px 0 8px; gap: 8px; flex-wrap: wrap; }
.news-link { font-size: 12px; color: #2563eb; font-weight: 600; }

/* Transport chips */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.transport-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  transition: .2s;
}
.transport-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); color: #2563eb; }
.transport-icon { font-size: 28px; }

.fnb-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.fnb-tab {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  color: #64748b;
}
.fnb-tab.active { background: #2563eb; color: #fff; border-color: #2563eb; }

.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.review-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.review-card .user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-card .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #2563eb; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.review-card .stars { color: #f59e0b; font-size: 12px; margin-bottom: 6px; }
.review-card p { font-size: 13px; color: #64748b; line-height: 1.5; }

.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.promo-card {
  border-radius: 14px;
  padding: 20px;
  color: #fff;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.promo-card p { font-size: 12px; opacity: .9; }
.promo-1 { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.promo-2 { background: linear-gradient(135deg, #059669, #047857); }
.promo-3 { background: linear-gradient(135deg, #d97706, #b45309); }
.promo-4 { background: linear-gradient(135deg, #7c3aed, #6d28d9); }

.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.triple-col h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.triple-col h3 a { font-size: 13px; color: #2563eb; font-weight: 600; }

.mini-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: .2s;
}

.mini-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.mini-card img { width: 72px; height: 72px; border-radius: 8px; flex-shrink: 0; object-fit: cover; background: #f1f5f9; }
.mini-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.mini-card .meta { font-size: 11px; color: #64748b; }
.mini-card .price { color: #2563eb; font-weight: 700; font-size: 13px; margin-top: 4px; }

/* GUIDE CTA (thay CTV) */
.guide-cta {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 20px;
  padding: 48px 40px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.guide-cta h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.guide-cta h2 em { color: #2563eb; font-style: normal; }

.guide-benefits { list-style: none; }
.guide-benefits li {
  padding: 8px 0;
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-benefits li::before { content: '✓'; color: #2563eb; font-weight: 800; }

.btn-guide {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  background: #2563eb;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
}

.guide-illus {
  text-align: center;
  font-size: 120px;
  line-height: 1;
}

/* PARTNERS */
.partners { text-align: center; padding: 40px 0; }
.partners h3 { font-size: 16px; font-weight: 800; margin-bottom: 24px; color: #64748b; }
.partner-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: center; }
.partner-logos span { font-size: 18px; font-weight: 800; color: #94a3b8; }

/* FOOTER → assets/css/footer.css */

@media (max-width: 992px) {
  .top-nav { display: none; }
  .search-panel .box { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .cat-icons { grid-template-columns: repeat(4, 1fr); }
  .card-scroll, .review-grid, .promo-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-grid, .culture-grid-rich { grid-template-columns: repeat(3, 1fr); }
  .transport-grid { grid-template-columns: repeat(4, 1fr); }
  .triple-grid, .guide-cta { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .hero-banner h1 { font-size: 28px; }
  .card-scroll, .review-grid, .promo-grid, .news-grid { grid-template-columns: 1fr; }
  .transport-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: 1fr; }
}
