/* ============================================================
   destinations.css
   Styles riêng cho trang Destinations — Vietnam Unlock
   Bao gồm: Breadcrumb · Destination Hero · Region Blocks ·
            Destination Cards · Featured Badge · Responsive
   ============================================================ */



/* ── SECTION: DESTINATIONS HERO (banner đầu trang) ─────────── */
.dest-hero {
  background: var(--olive);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.dest-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}

.dest-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  font-style: italic;
  font-family: 'Inter', sans-serif;
}


/* ── SECTION: DESTINATIONS GRID WRAPPER ────────────────────── */
.destinations {
  padding: 64px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}


/* ── SECTION: REGION BLOCKS (North / Central / South) ──────── */
.region-block {
  margin-bottom: 72px;
}

/* Label tên khu vực (ALL CAPS) */
.region-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--near-black);
  margin-bottom: 24px;
  display: block;
}


/* ── SECTION: DESTINATION CARD GRIDS ────────────────────────── */

/* Base grid */
.dest-grid {
  display: grid;
  gap: 20px;
}

/* Northern Vietnam: 3 cột hàng đầu */
.north-grid { grid-template-columns: repeat(3, 1fr); }

/* Northern Vietnam: 2 cột hàng thứ 2 */
.north-second-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Central Vietnam: 4 cột */
.central-grid { grid-template-columns: repeat(4, 1fr); }

/* Southern Vietnam: 4 cột */
.south-grid { grid-template-columns: repeat(4, 1fr); }


/* ── SECTION: DESTINATION CARD (individual card) ────────────── */
.dest-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

/* Wrapper giữ tỉ lệ ảnh (aspect ratio 4:3 ~ 72%) */
.dest-card .img-wrap {
  width: 100%;
  padding-top: 72%;
  position: relative;
  overflow: hidden;
}

.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Zoom nhẹ khi hover */
.dest-card:hover img {
  transform: scale(1.06);
}

/* Overlay text ở dưới card */
.card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 25px 20px 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, transparent 100%);
}

.card-info h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 2px;
}

.card-info p {
  font-size: 14px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}


/* ── SECTION: FEATURED CARD BADGE (Alex IRL Fave) ─────────── */

/* Viền vàng cho card được highlight */
.dest-card.featured-card {
  box-shadow: 0 0 0 2px var(--gold);
}

/* Badge label "ALEX IRL FAVE" tự động chèn trước title */
.dest-card.featured-card .card-info::before {
  content: 'ALEX IRL FAVE';
  display: block;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  width: fit-content;
}


/* ── SECTION: RESPONSIVE — destinations.html specific ─────────
   Breakpoints cho card grids và page layout.
   ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

  /* Hero: giảm padding */
  .dest-hero   { padding: 48px 20px 36px; }

  /* Destinations wrapper: giảm padding */
  .destinations { padding: 32px 20px 60px; }

  /* Card grids: từ 3/4 cột → 2 cột */
  .north-grid,
  .central-grid,
  .south-grid  { grid-template-columns: 1fr 1fr; }

  /* Second row của North: 1 cột */
  .north-second-row { grid-template-columns: 1fr; }

  /* Pagination: stack vertically on small screens */
  .vu-pagination { padding: 32px 0 48px; }
}


/* ── SECTION: PAGINATION ───────────────────────────────────────
   Dùng chung cho trang category archive.
   Màu sắc đồng bộ với design token: --olive, --amber, --cream.
   ─────────────────────────────────────────────────────────── */
.vu-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 48px 0 24px;
  flex-wrap: wrap;
}

/* Mọi link số trang và Prev/Next */
.vu-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--near-black);
  background: var(--cream-light);
  border: 1px solid rgba(61, 74, 45, 0.15);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Hover */
.vu-pagination .page-numbers:hover {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

/* Trang hiện tại */
.vu-pagination .page-numbers.current {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
  font-weight: 700;
  cursor: default;
}

/* Dấu ... */
.vu-pagination .page-numbers.dots {
  background: transparent;
  border: none;
  color: rgba(31, 26, 20, 0.4);
  cursor: default;
  min-width: 24px;
  padding: 0;
}

/* Prev / Next — style đặc biệt hơn */
.vu-pagination .prev.page-numbers,
.vu-pagination .next.page-numbers {
  padding: 0 20px;
  letter-spacing: 0.02em;
}
