/* ═══════════════════════════════════════════════════════════════════════════
   TRAVEL BLOG — Kilimanjaro Legends Tours
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Shared ─── */
.b-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--obsidian);
  margin-bottom: 12px;
}

.b-section-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
  max-width: 560px;
}

.b-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.3s;
}

.b-link span {
  transition: transform 0.3s;
  display: inline-block;
}

.b-link:hover span {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.b-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.b-hero__bg {
  position: absolute;
  inset: 0;
}

.b-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.b-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.65) 100%);
}

.b-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}

.b-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.b-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.b-hero__breadcrumb a:hover {
  color: var(--gold);
}

.b-hero__breadcrumb--active {
  color: var(--white);
}

.b-hero__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.b-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}

.b-hero__desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   2. CATEGORIES
   ═══════════════════════════════════════════════════════════════════════════ */
.b-categories {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 60px;
  z-index: 100;
}

.b-categories__scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.b-categories__scroll::-webkit-scrollbar {
  display: none;
}

.b-categories__btn {
  flex-shrink: 0;
  padding: 18px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gray);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.b-categories__btn:hover {
  color: var(--obsidian);
}

.b-categories__btn--active {
  color: var(--obsidian);
  border-bottom-color: var(--gold);
}


/* ═══════════════════════════════════════════════════════════════════════════
   3. FEATURED ARTICLE
   ═══════════════════════════════════════════════════════════════════════════ */
.b-featured {
  padding: 80px 0;
  background: var(--cream);
}

.b-featured__split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.b-featured__image-col {
  display: block;
  overflow: hidden;
}

.b-featured__image-wrap {
  overflow: hidden;
}

.b-featured__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.b-featured__image-col:hover .b-featured__image {
  transform: scale(1.04);
}

.b-featured__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.b-featured__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--obsidian);
  margin-bottom: 16px;
}

.b-featured__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 20px;
}

.b-featured__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 24px;
}

.b-featured__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray);
  opacity: 0.4;
}

.b-featured__link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.3s;
}

.b-featured__link span {
  transition: transform 0.3s;
  display: inline-block;
}

.b-featured__link:hover span {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════════════════════════
   4. LATEST ARTICLES
   ═══════════════════════════════════════════════════════════════════════════ */
.b-latest {
  padding: 80px 0;
  background: var(--white);
}

.b-latest__header {
  margin-bottom: 48px;
}

.b-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ─── Article Card ─── */
.b-card {
  display: flex;
  flex-direction: column;
}

.b-card__image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.b-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.b-card__image-wrap:hover .b-card__image {
  transform: scale(1.06);
}

.b-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
}

.b-card__content {
  padding: 20px 0 0;
}

.b-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--obsidian);
  margin-bottom: 8px;
}

.b-card__title a {
  color: var(--obsidian);
  transition: color 0.3s;
}

.b-card__title a:hover {
  color: var(--gold);
}

.b-card__excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 12px;
}

.b-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}

.b-card__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray);
  opacity: 0.4;
}

.b-card__link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.3s;
}

.b-card__link span {
  transition: transform 0.3s;
  display: inline-block;
}

.b-card__link:hover span {
  transform: translateX(3px);
}


/* ═══════════════════════════════════════════════════════════════════════════
   5. KILIMANJARO STORIES
   ═══════════════════════════════════════════════════════════════════════════ */
.b-kili {
  padding: 80px 0;
  background: var(--cream);
}

.b-kili__header {
  margin-bottom: 48px;
}

.b-kili__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.b-kili__card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.b-kili__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.b-kili__image-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.b-kili__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.b-kili__card:hover .b-kili__image {
  transform: scale(1.06);
}

.b-kili__content {
  padding: 28px;
}

.b-kili__category {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.b-kili__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--obsidian);
  margin-bottom: 10px;
}

.b-kili__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 16px;
}

.b-kili__read {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
}

.b-kili__read span {
  transition: transform 0.3s;
  display: inline-block;
}

.b-kili__card:hover .b-kili__read span {
  transform: translateX(3px);
}

.b-kili__cta {
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════════════════════
   6. SAFARI STORIES
   ═══════════════════════════════════════════════════════════════════════════ */
.b-safari {
  padding: 80px 0;
  background: var(--white);
}

.b-safari__header {
  margin-bottom: 48px;
}

.b-safari__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.b-safari__card {
  display: block;
  background: var(--cream);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.b-safari__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.b-safari__image-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.b-safari__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.b-safari__card:hover .b-safari__image {
  transform: scale(1.06);
}

.b-safari__content {
  padding: 28px;
}

.b-safari__category {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.b-safari__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--obsidian);
  margin-bottom: 10px;
}

.b-safari__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 16px;
}

.b-safari__read {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
}

.b-safari__read span {
  transition: transform 0.3s;
  display: inline-block;
}

.b-safari__card:hover .b-safari__read span {
  transform: translateX(3px);
}

.b-safari__cta {
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════════════════════
   7. TRAVEL TIPS
   ═══════════════════════════════════════════════════════════════════════════ */
.b-tips {
  padding: 80px 0;
  background: var(--cream);
}

.b-tips__header {
  text-align: center;
  margin-bottom: 48px;
}

.b-tips__header .b-section-subtitle {
  margin: 0 auto;
}

.b-tips__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.b-tips__item {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.b-tips__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.b-tips__item svg {
  color: var(--gold);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.b-tips__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--obsidian);
  margin-bottom: 8px;
}

.b-tips__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}


/* ═══════════════════════════════════════════════════════════════════════════
   8. SEARCH
   ═══════════════════════════════════════════════════════════════════════════ */
.b-search {
  padding: 80px 0;
  background: var(--white);
}

.b-search__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.b-search__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  color: var(--obsidian);
  margin-bottom: 28px;
}

.b-search__form {
  display: flex;
  gap: 0;
}

.b-search__input {
  flex: 1;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-right: none;
  background: var(--cream);
  color: var(--obsidian);
  outline: none;
  transition: border-color 0.3s;
}

.b-search__input:focus {
  border-color: var(--gold);
}

.b-search__input::placeholder {
  color: #999;
}

.b-search__btn {
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--obsidian);
  color: var(--white);
  border: 1px solid var(--obsidian);
  cursor: pointer;
  transition: background 0.3s;
}

.b-search__btn:hover {
  background: var(--charcoal);
}


/* ═══════════════════════════════════════════════════════════════════════════
   9. NEWSLETTER
   ═══════════════════════════════════════════════════════════════════════════ */
.b-newsletter {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.b-newsletter__bg {
  position: absolute;
  inset: 0;
}

.b-newsletter__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b-newsletter__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.88);
}

.b-newsletter__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.b-newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.b-newsletter__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

.b-newsletter__form {
  display: flex;
  gap: 0;
}

.b-newsletter__input {
  flex: 1;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
}

.b-newsletter__input:focus {
  border-color: var(--gold);
}

.b-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.b-newsletter__btn {
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--gold);
  color: var(--obsidian);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.3s;
}

.b-newsletter__btn:hover {
  background: #d4b275;
}


/* ═══════════════════════════════════════════════════════════════════════════
   10. PAGINATION
   ═══════════════════════════════════════════════════════════════════════════ */
.b-pagination {
  padding: 40px 0 80px;
  background: var(--white);
}

.b-pagination__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.b-pagination__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--obsidian);
  transition: color 0.3s;
}

.b-pagination__link:hover {
  color: var(--gold);
}

.b-pagination__link--disabled {
  opacity: 0.3;
  pointer-events: none;
}

.b-pagination__numbers {
  display: flex;
  gap: 8px;
}

.b-pagination__num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.b-pagination__num:hover {
  color: var(--obsidian);
  border-color: var(--obsidian);
}

.b-pagination__num--active {
  background: var(--obsidian);
  color: var(--white);
  border-color: var(--obsidian);
}


/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--obsidian);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s, transform 0.3s;
  box-shadow: 0 4px 16px rgba(196, 162, 101, 0.4);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .b-featured__split {
    gap: 40px;
  }

  .b-featured__image {
    height: 360px;
  }

  .b-latest__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b-kili__grid,
  .b-safari__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b-tips__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .b-hero {
    height: 420px;
  }

  .b-hero__content {
    padding-bottom: 40px;
  }

  .b-hero__title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .b-featured__split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .b-featured__image {
    height: 280px;
  }

  .b-latest__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .b-kili__grid,
  .b-safari__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .b-tips__grid {
    grid-template-columns: 1fr;
  }

  .b-search__form {
    flex-direction: column;
    gap: 0;
  }

  .b-search__input {
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: none;
  }

  .b-newsletter__form {
    flex-direction: column;
    gap: 0;
  }

  .b-newsletter__input {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
  }

  .b-newsletter {
    padding: 80px 0;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .b-hero {
    height: 380px;
  }

  .b-hero__desc {
    font-size: 14px;
  }

  .b-categories__btn {
    padding: 14px 16px;
    font-size: 12px;
  }

  .b-featured__title {
    font-size: 22px;
  }

  .b-card__title {
    font-size: 17px;
  }

  .b-card__excerpt {
    font-size: 13px;
  }

  .b-kili__content,
  .b-safari__content {
    padding: 20px;
  }

  .b-kili__title,
  .b-safari__title {
    font-size: 18px;
  }

  .b-tips__item {
    padding: 24px 20px;
  }

  .b-pagination__link {
    font-size: 13px;
  }

  .b-pagination__num {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}
