/* ============================================
   Home Page Sections
   Hero · Categories · Tours · Values · Gallery
   Steps · Testimonial
   ============================================ */

/* ————— HERO ————— */
.hero-home {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
  margin: 0 var(--s3);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--s8) var(--s7) var(--s9);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px var(--s4);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-normal);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--s5);
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-medium);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--s4);
}

.hero-subtitle {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: var(--s7);
  max-width: 380px;
}

.hero-actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}

/* Hero nav arrows */
.hero-arrows {
  position: absolute;
  bottom: var(--s7);
  left: var(--s7);
  z-index: 2;
  display: flex;
  gap: var(--s2);
}

.hero-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}

.hero-arrow-btn:hover {
  background: rgba(255,255,255,0.25);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--s7); right: var(--s7);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-xs);
}

.hero-scroll-hint .scroll-dot {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
}

/* ————— CATEGORY CHIPS ————— */
.cat-section {
  padding: var(--s6) 0 var(--s3);
  background: var(--bg);
}

/* ————— VALUES / BENEFITS ————— */
.values-section {
  padding: var(--s10) 0;
  background: var(--bg);
  text-align: center;
}

.values-section .section-header {
  margin-bottom: var(--s8);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
  padding: 0 var(--s6);
  max-width: var(--max-w);
  margin: 0 auto;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s3);
}

.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon img {
  width: 32px;
  height: 32px;
  opacity: 0.6;
}

.value-item h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
  margin-bottom: var(--s1);
}

.value-item p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 200px;
}

/* ————— ADVENTURES GRID ————— */
.adventures-section {
  padding: var(--s8) 0;
  background: var(--bg-alt);
}

.adventures-section .section-header {
  padding: 0 var(--s6);
  margin-bottom: var(--s6);
}

.adventures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  padding: 0 var(--s6);
}

.adventure-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration-slow) var(--ease);
}

.adventure-card:hover { transform: translateY(-3px); }
.adventure-card:active { transform: scale(0.97); }

.adventure-card.featured {
  grid-column: 1 / -1;
  min-height: 200px;
}

.adventure-bg {
  position: absolute;
  inset: 0;
  background: var(--gray);
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease);
}

.adventure-card:hover .adventure-bg { transform: scale(1.03); }

.adventure-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}

.adventure-body {
  position: relative;
  z-index: 1;
  padding: var(--s5);
}

.adventure-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: var(--fw-medium);
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--s2);
  border: 1px solid rgba(255,255,255,0.25);
}

.adventure-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

.adventure-card.featured .adventure-title { font-size: var(--fs-md); }

/* Placeholder backgrounds for adventures */
.adv-trek      { background-color: #3a3a3a; }
.adv-adventure { background-color: #4a4a4a; }
.adv-culture   { background-color: #353535; }
.adv-spiritual { background-color: #404040; }
.adv-nature    { background-color: #2f2f2f; }
.adv-tea       { background-color: #383838; }

/* ————— POPULAR PACKAGES ————— */
.packages-section {
  padding: var(--s9) 0;
  background: var(--bg);
}

.packages-section .see-all {
  padding: 0 var(--s6);
  margin-bottom: var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.see-all-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--s2) var(--s5);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-full);
  transition: all var(--duration) var(--ease);
}

.see-all-link:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ————— STATS ————— */
.stats-section {
  padding: var(--s9) 0;
  background: var(--bg-alt);
}

.stats-section .container { position: relative; z-index: 1; }

/* ————— WHY CHOOSE US ————— */
.why-section {
  padding: var(--s9) 0;
  background: var(--bg);
}

.why-section .section-header {
  padding: 0 var(--s6);
  margin-bottom: var(--s6);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: 0 var(--s6);
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--bg-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-mid);
  transition: transform var(--duration-slow) var(--ease);
}

.why-item:hover { transform: translateY(-2px); }

.why-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--gray);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item-text h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: 3px;
  color: var(--text);
}

.why-item-text p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ————— GALLERY MOSAIC ————— */
.gallery-section {
  padding: var(--s9) 0;
  background: var(--bg-alt);
}

.gallery-section .section-header {
  padding: 0 var(--s6);
  margin-bottom: var(--s6);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  padding: 0 var(--s6);
}

.gallery-tile {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}

.gallery-tile.tall { grid-row: span 2; }

.gallery-tile-inner {
  width: 100%; height: 100%;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: var(--s4);
  position: relative;
  overflow: hidden;
}

.gallery-tile.tall .gallery-tile-inner { min-height: 260px; }

.gallery-tile-bg {
  position: absolute;
  inset: 0;
  background: var(--gray);
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease);
}

.gallery-tile:hover .gallery-tile-bg { transform: scale(1.04); }

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%);
}

.gallery-tile-label {
  position: relative;
  z-index: 1;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--white);
}

.gtile-1 { background-color: #3a3a3a; }
.gtile-2 { background-color: #444; }
.gtile-3 { background-color: #333; }
.gtile-4 { background-color: #4a4a4a; }
.gtile-5 { background-color: #3e3e3e; }

/* ————— HOW TO BOOK ————— */
.how-section {
  padding: var(--s9) 0;
  background: var(--bg);
}

.how-section .section-header {
  padding: 0 var(--s6);
  margin-bottom: var(--s7);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 var(--s6);
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  left: 38px; top: 22px; bottom: 22px;
  width: 1px;
  background: var(--gray-mid);
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s5);
  padding: var(--s5) 0;
  position: relative;
}

.step-number {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--white);
  background: var(--black);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-text { flex: 1; padding-top: var(--s2); }

.step-text h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
  margin-bottom: 3px;
}

.step-text p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ————— TESTIMONIAL ————— */
.testimonial-section {
  padding: var(--s8) 0;
  background: var(--bg-alt);
}

.testimonial-section .container { padding: 0 var(--s6); }

/* ————— RESPONSIVE: HOME ————— */
@media (min-width: 481px) {
  .hero-home { margin: 0 var(--s4); }
  .adventure-card { min-height: 170px; }
  .adventure-card.featured { min-height: 220px; }
  .gallery-tile.tall .gallery-tile-inner { min-height: 300px; }
}

@media (min-width: 641px) {
  .hero-home { min-height: 88vh; }
  .hero-content { padding: var(--s11) var(--s8) var(--s11); }
  .hero-title { font-size: 3.5rem; }

  .values-grid { grid-template-columns: repeat(4, 1fr); }

  .adventures-grid { grid-template-columns: repeat(3, 1fr); }
  .adventure-card.featured { grid-column: 1 / -1; min-height: 240px; }

  .why-list { display: grid; grid-template-columns: 1fr 1fr; }

  .steps-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s5); }
  .steps-list::before { display: none; }
  .step-item { flex-direction: column; align-items: center; text-align: center; }
  .step-text { padding-top: 0; }

  .gallery-mosaic { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 769px) {
  .hero-title { font-size: 4rem; }
}

@media (min-width: 1025px) {
  .hero-title { font-size: 4.5rem; }
  .hero-home { margin: 0 var(--s5); border-radius: 0 0 var(--r-2xl) var(--r-2xl); }
}
