/* ============================================================
   SIMPLETREK — trek-styles.css
   Styles for annapurna-circuit-trek, poonhill-trek,
   khopra-trek, manaslu-trek, mardi-himal-trek,
   uppermustang-trek, and similar new-format trek pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

/* --- CSS Design Tokens --- */
:root {
  --clr-forest:   #1a3c2e;
  --clr-emerald:  #2d6a4f;
  --clr-lime:     #52b788;
  --clr-gold:     #d4a853;
  --clr-offwhite: #f5f2eb;
  --clr-slate:    #1c2b3a;
  --clr-slate2:   #263545;
  --clr-muted:    #6b7c8d;
  --clr-white:    #ffffff;
  --clr-danger:   #e05555;

  /* Per-page accent overrideable via inline :root */
  --accent:       #52b788;
  --accent-light: #c5e8d9;
  --accent-dark:  #2d6a4f;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-card:  0 4px 24px rgba(26,60,46,0.13);
  --shadow-float: 0 8px 40px rgba(26,60,46,0.22);

  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
  --navbar-h: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--clr-offwhite);
  color: var(--clr-slate);
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(26, 60, 46, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--clr-offwhite);
  letter-spacing: -0.01em;
}
.navbar .logo span { color: var(--clr-lime); }
.navbar .nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.navbar .nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.navbar .hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar .hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--clr-offwhite);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   STICKY CONTACT BAR
   ============================================================ */
.sticky-contact-bar {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}
.contact-btn.whatsapp {
  background: #25d366;
  color: #fff;
}
.contact-btn.email {
  background: var(--clr-lime);
  color: var(--clr-forest);
}
.contact-btn:hover { transform: scale(1.12); box-shadow: 0 6px 24px rgba(0,0,0,0.25); }

/* ============================================================
   TREK HERO
   ============================================================ */
.trek-hero {
  position: relative;
  height: 100vh;
  min-height: 520px;
  max-height: 800px;
  overflow: hidden;
  margin-top: var(--navbar-h);
}
.trek-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.trek-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 30, 20, 0.75) 0%,
    rgba(15, 30, 20, 0.35) 60%,
    rgba(15, 30, 20, 0.55) 100%
  );
}
.trek-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 40px 56px;
  background: linear-gradient(to top, rgba(10,20,14,0.85) 0%, transparent 100%);
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(82,183,136,0.18);
  border: 1px solid rgba(82,183,136,0.35);
  border-radius: 99px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-lime);
  font-weight: 700;
  margin-bottom: 16px;
}
.trek-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.trek-hero-content p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--clr-forest);
  border-bottom: 2px solid rgba(82,183,136,0.2);
  position: sticky;
  top: var(--navbar-h);
  z-index: 100;
}
.stats-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  flex: 1;
  min-width: 110px;
}
.stat-item:last-child { border-right: none; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.5);
  font-weight: 700;
}
.stat-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-offwhite);
}
.stat-value.accent { color: var(--clr-lime); font-family: var(--font-mono); }

/* Difficulty Badges */
.difficulty-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.diff-easy          { background: rgba(76,175,80,0.2);  color: #4caf50; }
.diff-easy-moderate { background: rgba(139,195,74,0.2); color: #8bc34a; }
.diff-moderate      { background: rgba(255,152,0,0.2);  color: #ff9800; }
.diff-hard          { background: rgba(244,67,54,0.2);  color: #f44336; }
.diff-challenging   { background: rgba(156,39,176,0.2); color: #ab47bc; }

/* ============================================================
   PAGE BODY (two-column layout)
   ============================================================ */
.page-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px 24px 80px;
  align-items: start;
}

/* ============================================================
   TREK CONTENT (main column)
   ============================================================ */
.trek-content {
  min-width: 0;
}
.trek-content section {
  margin-bottom: 52px;
}
.trek-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clr-slate);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent, var(--clr-lime));
  line-height: 1.2;
}
.trek-content p {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--clr-muted);
  margin-bottom: 16px;
}
.trek-content p:last-child { margin-bottom: 0; }
.trek-content strong { color: var(--clr-slate); font-weight: 600; }

/* ============================================================
   GALLERY (inside .trek-content)
   ============================================================ */
.trek-gallery {
  margin-bottom: 52px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.gallery-main {
  width: 100%;
  height: 460px;
  overflow: hidden;
  background: var(--clr-slate);
  position: relative;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-main img:hover { transform: scale(1.03); }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 10px;
  background: #fff;
}
.gallery-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.8;
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active {
  border-color: var(--accent, var(--clr-lime));
  opacity: 1;
  transform: scale(1.04);
}

/* ============================================================
   ITINERARY LIST
   ============================================================ */
.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.itinerary-day {
  padding: 20px 22px;
  background: #fff;
  border-left: 4px solid var(--accent, var(--clr-lime));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.itinerary-day:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 28px rgba(26,60,46,0.16);
}
.itinerary-day h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-slate);
  margin-bottom: 8px;
  line-height: 1.3;
}
.itinerary-day p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--clr-muted);
}
.day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.day-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(82,183,136,0.12);
  color: var(--accent, var(--clr-lime));
  border: 1px solid rgba(82,183,136,0.25);
}

/* ============================================================
   FEATURE GRID (highlights, includes)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
  color: var(--clr-slate);
  line-height: 1.55;
  transition: var(--transition);
}
.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}
.feature-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.2;
}

/* ============================================================
   WEATHER GRID
   ============================================================ */
.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.weather-card {
  padding: 22px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.weather-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}
.weather-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-slate);
  margin-bottom: 10px;
  line-height: 1.3;
}
.weather-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.trek-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--navbar-h) + 72px);
}

/* Booking Card */
.booking-card {
  background: linear-gradient(135deg, var(--clr-forest) 0%, var(--clr-emerald) 100%);
  color: var(--clr-offwhite);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-float);
  text-align: center;
}
.price-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.6);
  margin-bottom: 6px;
}
.booking-card .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--clr-lime);
  line-height: 1;
  margin-bottom: 6px;
}
.price-note {
  font-size: 0.78rem;
  color: rgba(245,242,235,0.6);
  line-height: 1.5;
  margin-bottom: 22px;
}
.btn-book {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--clr-lime);
  color: var(--clr-forest);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: var(--transition);
  margin-bottom: 10px;
}
.btn-book:hover {
  background: #3da876;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(82,183,136,0.4);
}
.btn-whatsapp {
  display: block;
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.12);
  color: var(--clr-offwhite);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.55);
}

/* Info Cards */
.info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.info-card h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.85rem;
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row-label {
  color: var(--clr-muted);
  font-weight: 500;
  flex-shrink: 0;
}
.info-row-value {
  color: var(--clr-slate);
  font-weight: 600;
  text-align: right;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-slate);
  color: var(--clr-offwhite);
  padding: 56px 24px 24px;
  margin-top: 0;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 36px;
}
.footer-section h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--clr-lime);
}
.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.85;
  transition: var(--transition);
}
.footer-section a:hover { color: var(--clr-lime); }
.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .page-body {
    grid-template-columns: 1fr 300px;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .navbar .nav-links { display: none; }
  .navbar .hamburger { display: flex; }

  .trek-hero { height: 70vh; min-height: 420px; }
  .trek-hero-content { padding: 32px 20px 40px; }

  .stats-bar-inner { gap: 0; }
  .stat-item { padding: 12px 14px; min-width: 90px; }

  .page-body {
    grid-template-columns: 1fr;
    padding: 32px 16px 60px;
    gap: 0;
  }

  /* Move sidebar above content on mobile */
  .trek-sidebar {
    position: static;
    order: -1;
    margin-bottom: 36px;
  }

  .gallery-main { height: 280px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .gallery-thumbs img { height: 70px; }

  .feature-grid { grid-template-columns: 1fr; }
  .weather-grid { grid-template-columns: 1fr 1fr; }

  .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .trek-hero { height: 60vh; }
  .trek-hero-content h1 { font-size: 2rem; }

  .stats-bar-inner { flex-wrap: wrap; }
  .stat-item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }

  .weather-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }

  .booking-card .price { font-size: 2.2rem; }
}