:root {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --primary: #1B4332;
  --primary-light: #2D6A4F;
  --accent: #C97A1E;
  --text: #1F2937;
  --muted: #6B7280;
  --border: #E7E5E0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: linear-gradient(180deg, #FBFBF9 0%, #F4F2EC 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, .section-title {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
}

/* Refined, Calm Himalayan Background */
.himalaya-backdrop {
  position: fixed;
  inset: auto 0 0 0;
  height: 42vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}
.himalaya-backdrop svg { width: 100%; height: 100%; display: block; }
.ridge-far  { fill: rgba(27, 67, 50, 0.05); animation: breathe 14s ease-in-out infinite; }
.ridge-mid  { fill: rgba(27, 67, 50, 0.08); animation: breathe 11s ease-in-out infinite reverse; }
.ridge-near { fill: rgba(45, 106, 79, 0.06); }

@keyframes breathe {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(6px); }
}

/* Header & Logo */
header {
  background: rgba(251, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0.75rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}
.brand h1 { font-size: 1.35rem; color: var(--primary); line-height: 1.1; }
.brand span { font-size: 0.75rem; color: var(--accent); font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; }

nav a {
  margin-left: 1.1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
}
nav a:hover { color: var(--accent); }

.sub-header-bar {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.08); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.75); color: #fff; background: transparent; }
.btn-primary { background: var(--primary); color: #fff; }

/* Layout & Cards */
.container { max-width: 1200px; margin: auto; padding: 3.2rem 1.2rem; }
.section-title { font-size: 2.1rem; color: var(--primary); margin-bottom: 0.35rem; }
.section-sub { color: var(--muted); margin-bottom: 1.8rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,67,50,0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27,67,50,0.09); }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-body { padding: 1.25rem; }

/* Homepage Slideshow */
.slideshow-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.slideshow-track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.4rem 0.2rem 1rem;
  scrollbar-width: none;
}
.slideshow-track::-webkit-scrollbar { display: none; }
.slide-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}
.slide-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.slide-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
}
.slide-btn:hover { background: var(--primary); color: #fff; }

/* Filters Bar */
.filter-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.8rem;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 1.8rem;
}
.filter-bar input, .filter-bar select { margin-bottom: 0; }

/* Expandable Itinerary Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  padding: 1.2rem;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; justify-content: center; align-items: flex-start; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 820px;
  width: 100%;
  margin: 2rem auto;
  padding: 1.8rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #F3F4F6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
  margin: 1rem 0 1.4rem;
}
.modal-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

/* Split Contact + Map */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.map-box iframe { width: 100%; height: 220px; border-radius: 10px; transition: height 0.35s ease; }
.map-box.expanded iframe { height: 460px; }

/* Forms */
input, select, textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  background: #FAF9F6;
}

/* Smooth Fade-In */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

footer { background: #14221B; color: #D1D5DB; padding: 2.5rem 1.2rem; margin-top: 3rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1rem 0; }
.footer-links a { color: #9CA3AF; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

.wa-float {
  position: fixed; bottom: 22px; right: 22px; background: #25D366; color: #fff;
  padding: 0.75rem 1.15rem; border-radius: 50px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(37,211,102,0.35); z-index: 99;
}

@media (max-width: 768px) {
  .contact-split, .filter-bar { grid-template-columns: 1fr; }
  .slide-card { flex: 0 0 85%; }
  nav { display: flex; flex-wrap: wrap; gap: 0.5rem; }
}