/* ============================================================
   GLOBE TREKKER — shared stylesheet
   Use on every page: globe-trekker.html, blog post, etc.
   ============================================================ */

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

/* ── Design tokens ── */
:root {
  --orange:      #eb0029;
  --orange-dark: #FF6A3E;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
        --cream: #eeeae4;
      --cream-dark: #e5e0d8;
      --dark: #1a1a2e;
      --dark2: #2d2d45;
      --red: #e8242a;
      --red-light: #ff4d52;
      --muted: #7a7a8a;
      --white: #ffffff;
      --border: rgba(26,26,46,0.1);
      --shadow-sm: 0 4px 16px rgba(0,0,0,0.07);
      --shadow-md: 0 12px 40px rgba(0,0,0,0.1);
      --shadow-lg: 0 24px 64px rgba(0,0,0,0.13);

  --sand:  #F5F2ED;
  --white: #ffffff;

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   24px;
  --radius-full: 9999px;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--sand);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; object-fit: cover; }
ul  { list-style: none; }
svg { display: inline-block; vertical-align: middle; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 1100px; }

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg      { padding: 0.875rem 2rem; font-size: 1.0625rem; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: scale(1.03); }
.btn-dark    { background: var(--gray-900); color: var(--white); }
.btn-dark:hover { background: var(--gray-800); }
.btn-outline { background: transparent; color: var(--gray-700); border: 1px solid var(--gray-300); }
.btn-outline:hover { background: var(--gray-100); }

/* ── Icon button ── */
.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--gray-200); }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 242, 237, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.logo {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-btn { display: none; }

@media (max-width: 768px) {
  .site-nav, .btn-dark.signin { display: none; }
  .menu-btn { display: flex; }
}

/* ── Hero ── */
.hero { padding: 8rem 1.5rem 5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 2rem; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero-title .accent { color: var(--orange); }
.hero-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 36rem;
}

.hero-images { position: relative; height: 560px; }

.hero-img-main,
.hero-img-top-right,
.hero-img-bottom-right {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s;
}
.hero-img-main {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 18rem; height: 24rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  z-index: 3;
}
.hero-img-main:hover { transform: translate(-50%, -50%) scale(1.04); }
.hero-img-top-right {
  top: 0; right: 0;
  width: 12rem; height: 16rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  z-index: 2;
}
.hero-img-bottom-right {
  bottom: 0; right: 2rem;
  width: 11rem; height: 14rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  z-index: 2;
}
.hero-img-top-right:hover,
.hero-img-bottom-right:hover { transform: scale(1.04); }
.hero-images img { width: 100%; height: 100%; }

.plane-path {
  position: absolute;
  top: 2rem; left: 0; right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 40%;
}
.plane-icon { color: var(--orange); animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-images { height: 380px; }
}

/* ── Destinations ── */
.destinations { padding: 5rem 1.5rem; }

.filter-tabs { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.filter-tab {
  padding: 0.4rem 1.125rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.filter-tab.active { background: var(--gray-900); color: var(--white); }
.filter-tab:not(.active) {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.filter-tab:not(.active):hover { background: var(--gray-100); }

.toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 1.75rem;
}
.nav-btn {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-300);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-700);
  transition: background 0.2s;
}
.nav-btn:hover { background: var(--gray-100); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cards-grid { grid-template-columns: 1fr; } }

.dest-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.dest-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-2px); }

.dest-card-img { position: relative; height: 16rem; overflow: hidden; }
.dest-card-img img { width: 100%; height: 100%; transition: transform 0.5s; }
.dest-card:hover .dest-card-img img { transform: scale(1.08); }
.dest-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.dest-card:hover .dest-card-img::after { opacity: 1; }

.dest-card-body { padding: 1.25rem 1.5rem; }
.dest-card-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.375rem; transition: color 0.2s; }
.dest-card:hover .dest-card-title { color: var(--orange); }
.dest-card-loc { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--gray-500); }

/* ── Stories ── */
.stories { padding: 5rem 1.5rem; background: var(--white); }

.stories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .stories-grid { grid-template-columns: 1fr; } }

.featured-story { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.featured-story:hover .featured-img-wrap img { transform: scale(1.06); }

.featured-img-wrap { position: relative; height: 20rem; overflow: hidden; }
.featured-img-wrap img { width: 100%; height: 100%; transition: transform 0.5s; }

.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}
.img-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  color: var(--white);
}
.img-meta-row { display: flex; align-items: center; gap: 1.25rem; font-size: 0.8125rem; margin-bottom: 0.75rem; }
.meta-item { display: flex; align-items: center; gap: 0.375rem; }

.featured-story-title { font-size: 1.375rem; font-weight: 700; line-height: 1.3; transition: color 0.2s; }
.featured-story:hover .featured-story-title { color: var(--orange); }
.featured-story-body { padding: 1.25rem 1.5rem; }
.featured-story-body p { color: var(--gray-600); margin-bottom: 1rem; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: gap 0.2s;
}
.read-more:hover { gap: 0.625rem; }

.side-stories { display: flex; flex-direction: column; gap: 1.25rem; }
.side-story {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: box-shadow 0.25s;
  cursor: pointer;
}
.side-story:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); }
.side-story-thumb { width: 8rem; height: 8rem; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden; }
.side-story-thumb img { width: 100%; height: 100%; transition: transform 0.4s; }
.side-story:hover .side-story-thumb img { transform: scale(1.08); }
.side-story-content { display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.side-story-title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.375rem; transition: color 0.2s; }
.side-story:hover .side-story-title { color: var(--orange); }
.side-story-excerpt {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-story-byline { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--gray-500); }

/* ── Trekker Highlights ── */
.highlights { padding: 5rem 1.5rem; }

.highlights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .highlights-grid { grid-template-columns: 1fr; } }

.highlighter-profile { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.avatar {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(255,122,78,0.25);
}
.avatar img { width: 100%; height: 100%; }
.profile-name  { font-size: 1.375rem; font-weight: 700; }
.profile-title { font-size: 0.9375rem; color: var(--gray-500); }
.highlights-desc { font-size: 1.0625rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 1.75rem; }

.hl-images { position: relative; height: 480px; }

.hl-img-a {
  position: absolute;
  top: 0; left: 0;
  width: 18rem; height: 20rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  cursor: pointer;
  transition: transform 0.4s;
}
.hl-img-a:hover { transform: scale(1.04); }
.hl-img-a img  { width: 100%; height: 100%; }

.play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.32);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.hl-img-a:hover .play-overlay { background: rgba(0,0,0,0.44); }
.play-btn {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.hl-img-a:hover .play-btn { transform: scale(1.1); }

.hl-img-b {
  position: absolute;
  bottom: 0; right: 0;
  width: 20rem; height: 24rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  transition: transform 0.4s;
}
.hl-img-b:hover { transform: scale(1.04); }
.hl-img-b img  { width: 100%; height: 100%; }

/* ── Newsletter ── */
.newsletter { position: relative; padding: 8rem 1.5rem; overflow: hidden; }
.newsletter-bg { position: absolute; inset: 0; }
.newsletter-bg img { width: 100%; height: 100%; }
.newsletter-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72), rgba(0,0,0,0.5));
}
.newsletter-content { position: relative; z-index: 1; max-width: 48rem; margin: 0 auto; text-align: center; }
.newsletter-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.newsletter-desc  { font-size: 1.0625rem; color: #e5e7eb; margin-bottom: 2rem; }
.newsletter-form  { display: flex; gap: 0.75rem; max-width: 36rem; margin: 0 auto 1rem; }
.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.95);
  border: none;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--gray-900);
  outline: none;
  transition: box-shadow 0.2s;
}
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(255,122,78,0.35); }
.newsletter-form input::placeholder { color: var(--gray-500); }
.newsletter-note { font-size: 0.8125rem; color: #d1d5db; }
@media (max-width: 560px) { .newsletter-form { flex-direction: column; } }

/* ── Footer ── */
.site-footer { background: var(--gray-900); color: #9ca3af; padding: 4rem 1.5rem 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .footer-logo { font-size: 1.375rem; font-weight: 800; color: var(--white); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.9375rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a  { font-size: 0.875rem; color: #9ca3af; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8125rem; color: #6b7280; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af;
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--orange); color: var(--white); }

/* ── Blog post page ── */
.blog-wrap { padding-top: 5.5rem; }

.back-bar { padding: 1.5rem 1.5rem 0; }
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.back-btn:hover { color: var(--orange); }

.hero-image {
  margin: 1.5rem auto 0;
  position: relative;
  height: 24rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}
.hero-image img { width: 100%; height: 100%; }
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}
.category-badge {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  z-index: 1;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: var(--orange);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: capitalize;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 2.5rem;
  margin: 2rem auto 5rem;
}
@media (min-width: 640px) { .article-card { padding: 3rem; } }

.article-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}
.author-row   { display: flex; align-items: center; gap: 0.875rem; }
.author-avatar {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255,122,78,0.25);
}
.author-avatar img { width: 100%; height: 100%; }
.author-name  { font-weight: 600; font-size: 0.9375rem; }
.author-bio   { font-size: 0.8125rem; color: var(--gray-500); margin-top: 1px; }
.meta-items   { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--gray-600); }
.meta-dot     { color: var(--gray-400); }

/* ── Article prose ── */
.prose { color: var(--gray-700); font-size: 1.0625rem; line-height: 1.8; }
.prose p  { margin-bottom: 1.25rem; }
.prose h2 { font-size: 1.375rem; font-weight: 700; color: var(--gray-900); margin: 2.25rem 0 0.75rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ul li { margin-bottom: 0.375rem; }

/* ── Tags ── */
.tags-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 2rem 0 0; }
.tag-icon { color: var(--gray-400); flex-shrink: 0; }
.tag {
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.tag:hover { background: var(--gray-200); }

/* ── Share bar ── */
.share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--gray-200);
  margin-top: 2rem;
  padding-top: 1.5rem;
}
.share-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1rem; }
.share-btns  { display: flex; align-items: center; gap: 0.625rem; }
.share-btn {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  color: var(--gray-700);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.share-btn.facebook:hover { background: #1877f2; color: var(--white); }
.share-btn.twitter:hover  { background: #0ea5e9; color: var(--white); }
.share-btn.linkedin:hover { background: #0a66c2; color: var(--white); }
.share-btn.share:hover    { background: var(--orange); color: var(--white); }