/* ==========================================================
   HIMALAYAN GLIDER — THEME
   Change colors ONLY here. Every component below reads from
   these variables, so a future re-theme never needs a hunt
   through individual pages.
   ========================================================== */
:root {
  --color-green: #4d726d;
  --color-dark-green: #385450;
  --color-blue: #007bc7;
  --color-dark-blue: #005b94;
  --color-dark: #343434;
  --color-white: #fff;
  --color-white-footer: #f0f0f0;
  --color-brown: #c7c3ab;
  --color-light-gray: #d8d8d8;
  --color-light-brown: #f3f2ed;
  --color-dark-gray: #484848;
  --color-lighter-gray: #a4a4a4;

  /* golden accent used for CTAs, derived to match the reference design */
  --color-gold: #b8935f;
  --color-gold-dark: #a17f4d;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --container-width: 1200px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--color-dark-gray);
  line-height: 1.6;
  background: var(--color-white);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-dark); font-weight: 600; }

/* container: now using Bootstrap's .container class instead of a custom one */
.hg-section { padding: 70px 0; }
.hg-section--tint { background: var(--color-light-brown); }
.hg-section--dark { background: var(--color-dark-green); color: var(--color-white-footer); }

.hg-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.hg-section-title { font-size: 34px; margin-bottom: 14px; }
.hg-section-desc { color: var(--color-lighter-gray); max-width: 700px; }
.hg-center { text-align: center; margin: 0 auto 40px; }

/* ---------- Buttons ---------- */
.hg-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: all .2s ease;
}
.hg-btn--gold { background: var(--color-gold); color: var(--color-white); }
.hg-btn--gold:hover { background: var(--color-gold-dark); }
.hg-btn--outline { background: transparent; border: 1px solid var(--color-dark); color: var(--color-dark); }
.hg-btn--outline:hover { background: var(--color-dark); color: var(--color-white); }
.hg-btn--outline-light { background: transparent; border: 1px solid var(--color-white); color: var(--color-white); }
.hg-btn--block { display: block; width: 100%; text-align: center; }

/* ---------- Topbar ---------- */
.hg-topbar { background: var(--color-dark-green); color: var(--color-white-footer); }
.hg-topbar a { color: var(--color-white-footer); }

/* ---------- Navbar (Bootstrap navbar handles layout/collapse — this just applies brand colors) ---------- */
/*.hg-navbar { z-index: 100; }*/
/*.hg-logo { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--color-dark); text-transform: uppercase; letter-spacing: .5px; }*/
/*.hg-logo img { height: 42px; width: auto; }*/
/*.hg-logo small { font-family: var(--font-body); font-size: 10px; letter-spacing: 1.5px; font-weight: 500; color: var(--color-lighter-gray); text-transform: uppercase; }*/
/*.navbar-nav .nav-link { font-weight: 500; color: var(--color-dark-gray); }*/
/*.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--color-green); }*/
/*.dropdown-item:active, .dropdown-item.active { background: var(--color-green); }*/
/*.hg-btn-gold { background: var(--color-gold); color: var(--color-white); border: none; font-weight: 600; }*/
/*.hg-btn-gold:hover { background: var(--color-gold-dark); color: var(--color-white); }*/

/* ---------- Send Enquiry Tab ---------- */
.hg-side-enquiry {
  position: fixed; right: 0; top: 45%; transform: translateY(-50%) rotate(-90deg); transform-origin: right center;
  background: var(--color-dark-green); color: var(--color-white); padding: 10px 20px; border-radius: 6px 6px 0 0;
  font-size: 13px; letter-spacing: .5px; z-index: 90; font-weight: 600;
}

/* ---------- Hero + Search ---------- */
.hg-hero { position: relative; color: var(--color-white); min-height: 560px; display: flex; align-items: flex-end; background-color: var(--color-dark-green); background-size: cover; background-position: center; overflow: hidden; }
.hg-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,28,.25), rgba(20,30,28,.75)); }
.hg-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hg-hero-inner { position: relative; z-index: 2; padding-bottom: 60px; width: 100%; }
.hg-hero-inner .hg-eyebrow { color: var(--color-brown); }
.hg-hero-inner h1 { color: var(--color-white); font-size: 42px; max-width: 650px; margin-bottom: 30px; }

.hg-search-box { background: rgba(255,255,255,.97); border-radius: var(--radius-md); padding: 22px; display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.hg-search-field { flex: 1; min-width: 180px; }
.hg-search-field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--color-lighter-gray); margin-bottom: 6px; }
.hg-search-field select, .hg-search-field input {
  width: 100%; border: 1px solid var(--color-light-gray); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; color: var(--color-dark);
}
.hg-search-box .hg-btn { white-space: nowrap; }

/* ---------- Cards: Destination / Tour ---------- */
.hg-grid { display: grid; gap: 26px; }
.hg-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hg-grid--2 { grid-template-columns: repeat(2, 1fr); }

.hg-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.06); transition: transform .2s ease; }
.hg-card:hover { transform: translateY(-4px); }
.hg-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--color-light-brown); }
.hg-card-media img { width: 100%; height: 100%; object-fit: cover; }
.hg-card-badge { position: absolute; top: 12px; left: 12px; background: var(--color-gold); color: var(--color-white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 3px; text-transform: uppercase; }
.hg-card-region { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.55); color: var(--color-white); font-size: 11px; padding: 4px 10px; border-radius: 3px; }
.hg-card-body { padding: 18px; }
.hg-card-title-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hg-card-title-row h3 { font-size: 19px; }
.hg-card-duration { font-size: 13px; color: var(--color-lighter-gray); white-space: nowrap; }
.hg-card-desc { font-size: 14px; color: var(--color-dark-gray); margin-bottom: 16px; min-height: 42px; }
.hg-card-actions { display: flex; gap: 10px; }
.hg-card-actions .hg-btn { flex: 1; text-align: center; padding: 10px 14px; font-size: 14px; }

/* ---------- Destination thumb (simple, home page) ---------- */
.hg-thumb { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; background: var(--color-light-brown); }
.hg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-thumb-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); color: var(--color-white); font-weight: 600; }

/* ---------- Region card with nested mini-destination chips (home page) ---------- */
.hg-region-card { border-radius: var(--radius-md); overflow: hidden; background: var(--color-white); border: 1px solid var(--color-light-gray); }
.hg-region-card-media { position: relative !important; aspect-ratio: 4/3; background: var(--color-light-brown); display: block; }
.hg-region-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-region-card-media .hg-thumb-label { font-size: 16px; }
.hg-region-mini-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; }
.hg-region-mini-link { font-size: 12px; padding: 5px 11px; border-radius: 20px; background: var(--color-light-brown); color: var(--color-dark-gray); font-weight: 500; }
.hg-region-mini-link:hover { background: var(--color-green); color: var(--color-white); }


/* ---------- Holiday type cards (home page — distinct style from destination cards) ---------- */
.hg-holiday-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1;
  display: flex; align-items: flex-end; color: var(--color-white); background: var(--color-dark-green);
}
.hg-holiday-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s ease, transform .3s ease; }
.hg-holiday-card:hover img { opacity: .55; transform: scale(1.05); }
.hg-holiday-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,25,24,.85), transparent 60%); }
.hg-holiday-card-body { position: relative; z-index: 2; padding: 16px; }
.hg-holiday-card-body h4 { color: var(--color-white); font-size: 16px; margin-bottom: 2px; }
.hg-holiday-card-body span { font-size: 12px; opacity: .85; }

/* ---------- Why Choose / Features ---------- */
.hg-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hg-feature { display: flex; gap: 16px; margin-bottom: 22px; }
.hg-feature-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--color-light-brown); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--color-green); }
.hg-feature h4 { font-size: 16px; margin-bottom: 4px; }
.hg-feature p { font-size: 14px; color: var(--color-lighter-gray); }

/* ---------- Stats ---------- */
.hg-stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.hg-stats strong { display: block; font-family: var(--font-heading); font-size: 40px; }
.hg-stats span { font-size: 14px; opacity: .85; }

/* ---------- Testimonials ---------- */
.hg-quote-card { background: var(--color-light-brown); border-radius: var(--radius-md); padding: 26px; }
.hg-quote-mark { font-size: 34px; color: var(--color-gold); font-family: var(--font-heading); line-height: 1; }
.hg-quote-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.hg-quote-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.hg-quote-person strong { display: block; font-size: 14px; }
.hg-quote-person span { font-size: 12px; color: var(--color-lighter-gray); }

/* ---------- Blog cards ---------- */
.hg-blog-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.hg-blog-media { aspect-ratio: 16/10; overflow: hidden; background: var(--color-light-brown); }
.hg-blog-media img { width: 100%; height: 100%; object-fit: cover; }
.hg-blog-body { padding: 18px; }
.hg-blog-date { font-size: 12px; color: var(--color-gold-dark); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.hg-blog-body h3 { font-size: 17px; margin-bottom: 10px; }
.hg-blog-readmore { font-size: 13px; font-weight: 600; color: var(--color-green); }

/* ---------- Contact / Enquiry form ---------- */
.hg-form-card { background: var(--color-light-brown); border-radius: var(--radius-md); padding: 36px; }
.hg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.hg-form-group label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--color-dark-gray); font-weight: 500; }
.hg-form-group input, .hg-form-group select, .hg-form-group textarea {
  width: 100%; border: 1px solid var(--color-light-gray); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 14px; background: var(--color-white); font-family: inherit;
}
.hg-form-group textarea { min-height: 110px; resize: vertical; }
.hg-form-note { font-size: 12px; color: #b34747; margin-top: 6px; min-height: 16px; }

/* ---------- Popup (Tour Planner) ---------- */
.hg-popup-overlay { position: fixed; inset: 0; background: rgba(20,25,24,.6); display: none; align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.hg-popup-overlay.is-open { display: flex; }
.hg-popup { background: var(--color-white); max-width: 560px; width: 100%; border-radius: var(--radius-md); padding: 34px; max-height: 90vh; overflow-y: auto; position: relative; }
.hg-popup-close { position: absolute; top: 16px; right: 18px; font-size: 22px; color: var(--color-lighter-gray); }
.hg-popup h3 { margin-bottom: 6px; }
.hg-popup p.hg-popup-sub { color: var(--color-lighter-gray); font-size: 14px; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.hg-footer { background: var(--color-dark); color: var(--color-white-footer); padding-top: 60px; }
.hg-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 40px; }
.hg-footer h4 { color: var(--color-white); font-size: 15px; margin-bottom: 18px; }
.hg-footer li { margin-bottom: 10px; font-size: 14px; }
.hg-footer a:hover { color: var(--color-gold); }
.hg-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: 13px; color: var(--color-lighter-gray); }
.hg-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.hg-footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ---------- Breadcrumb / Page header ---------- */
.hg-breadcrumb { background: var(--color-light-brown); padding: 14px 0; font-size: 13px; color: var(--color-lighter-gray); }
.hg-breadcrumb a:hover { color: var(--color-green); }
.hg-page-banner { position: relative; min-height: 320px; display: flex; align-items: center; color: var(--color-white); background-color: var(--color-dark-green); background-size: cover; background-position: center; overflow: hidden; }
.hg-page-banner::after { content: ''; position: absolute; inset: 0; background: rgba(30,25,40,.5); }
.hg-page-banner-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hg-page-banner-inner { position: relative; z-index: 2; }
.hg-page-banner .hg-eyebrow { color: var(--color-brown); }
.hg-page-banner h1 { color: var(--color-white); font-size: 38px; }

/* ---------- Accordion (itinerary / FAQ) ---------- */
.hg-accordion-item { border: 1px solid var(--color-light-gray); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.hg-accordion-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; background: var(--color-light-brown); font-weight: 600; color: var(--color-dark); }
.hg-accordion-body { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 20px; }
.hg-accordion-item.is-open .hg-accordion-body { max-height: 400px; padding: 16px 20px; }
.hg-accordion-item.is-open .hg-accordion-head .hg-chev { transform: rotate(180deg); }
.hg-chev { transition: transform .2s ease; }

/* ---------- Inclusion / Exclusion lists ---------- */
.hg-check-list li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.hg-check-list.is-yes li::before { content: '✓'; color: var(--color-green); font-weight: 700; }
.hg-check-list.is-no li::before { content: '✕'; color: #b34747; font-weight: 700; }

/* ---------- Sidebar (tour/destination detail) ---------- */
.hg-detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.hg-sidebar-card { background: var(--color-white); border: 1px solid var(--color-light-gray); border-radius: var(--radius-md); padding: 26px; position: sticky; top: 20px; }
.hg-sidebar-price { font-family: var(--font-heading); font-size: 34px; color: var(--color-dark); }
.hg-sidebar-info dt { font-size: 12px; color: var(--color-lighter-gray); text-transform: uppercase; margin-top: 14px; }
.hg-sidebar-info dd { font-size: 14px; font-weight: 600; color: var(--color-dark); }

/* ---------- Blog single: TOC + author ---------- */
.hg-blog-layout { display: grid; grid-template-columns: 2.4fr 1fr; gap: 50px; align-items: start; }
.hg-toc { background: var(--color-light-brown); border-radius: var(--radius-md); padding: 22px; position: sticky; top: 20px; }
.hg-toc h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.hg-toc li { margin-bottom: 10px; font-size: 14px; }
.hg-toc a { color: var(--color-dark-gray); }
.hg-toc a:hover { color: var(--color-green); }
.hg-author-box { display: flex; gap: 14px; background: var(--color-light-brown); border-radius: var(--radius-md); padding: 20px; margin-top: 30px; }
.hg-author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hg-author-box h5 { font-size: 15px; margin-bottom: 2px; }
.hg-author-box .role { font-size: 12px; color: var(--color-lighter-gray); margin-bottom: 8px; }
.hg-author-box p { font-size: 13px; }
.hg-author-linkedin { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--color-blue); margin-top: 8px; }
.hg-article-body h2 { font-size: 24px; margin: 30px 0 12px; }
.hg-article-body p { margin-bottom: 16px; }

/* ---------- Pagination ---------- */
.hg-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.hg-pagination a, .hg-pagination span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 14px; border: 1px solid var(--color-light-gray); }
.hg-pagination a:hover, .hg-pagination .is-active { background: var(--color-green); color: var(--color-white); border-color: var(--color-green); }

/* ---------- Region tabs (North/South India etc.) ---------- */
.hg-region-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.hg-region-tabs a { padding: 9px 18px; border-radius: 30px; border: 1px solid var(--color-light-gray); font-size: 14px; font-weight: 500; }
.hg-region-tabs a.is-active, .hg-region-tabs a:hover { background: var(--color-green); border-color: var(--color-green); color: var(--color-white); }

/* ---------- Destination page: Timeline itinerary ---------- */
.hg-timeline { position: relative; margin: 0 0 10px 6px; }
.hg-timeline-item { position: relative; padding-left: 32px; padding-bottom: 28px; }
.hg-timeline-item:last-child { padding-bottom: 0; }
.hg-timeline-item::before { /* connecting line */
  content: ''; position: absolute; left: 5px; top: 18px; bottom: -10px; width: 2px; background: var(--color-brown);
}
.hg-timeline-item:last-child::before { display: none; }
.hg-timeline-dot { position: absolute; left: 0; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-green); border: 3px solid var(--color-light-brown); box-shadow: 0 0 0 2px var(--color-green); }
.hg-timeline-title { font-weight: 700; color: var(--color-dark-green); margin-bottom: 4px; font-size: 15px; }
.hg-timeline-desc { font-size: 14px; color: var(--color-dark-gray); }

/* ---------- Destination page: Sidebar price + info cards ---------- */
.hg-sidebar-sticky { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.hg-price-card { background: var(--color-white); border: 1px solid var(--color-light-gray); border-radius: var(--radius-md); padding: 24px; }
.hg-info-card { background: var(--color-light-brown); border-radius: var(--radius-md); padding: 20px 24px; }
.hg-info-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dotted var(--color-light-gray); font-size: 14px; }
.hg-info-row:last-child { border-bottom: none; }
.hg-info-label { color: var(--color-green); font-weight: 500; }
.hg-info-value { color: var(--color-dark); font-weight: 600; text-align: right; }

/* ---------- Destinations mega-dropdown (sits inside a Bootstrap .dropdown-menu) ---------- */
.hg-mega { min-width: 480px; padding: 0; border: none; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.hg-mega-regions { width: 200px; border-right: 1px solid var(--color-light-gray); padding: 10px 0; flex-shrink: 0; }
.hg-mega-region-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; font-weight: 500; font-size: 14px; color: var(--color-dark-gray); cursor: pointer; }
.hg-mega-region-link:hover, .hg-mega-region-link.is-active { background: var(--color-light-brown); color: var(--color-green); }
.hg-mega-dest-panel { width: 260px; padding: 14px 20px; display: none; }
.hg-mega-dest-panel.is-active { display: block; }
.hg-mega-dest-panel a { display: block; padding: 7px 0; font-size: 14px; color: var(--color-dark-gray); }
.hg-mega-dest-panel a:hover { color: var(--color-green); }
.hg-mega-view-all { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--color-gold-dark); }

@media (max-width: 991.98px) {
  .hg-mega { min-width: 0; box-shadow: none; }
  .hg-mega-regions { width: 100%; border-right: none; }
  .hg-mega-dest-panel { width: 100%; display: block; padding: 4px 20px 10px 32px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hg-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hg-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hg-two-col, .hg-detail-layout, .hg-blog-layout { grid-template-columns: 1fr; }
  .hg-footer-grid { grid-template-columns: 1fr 1fr; }
  .hg-sidebar-sticky { position: static; }
  .hg-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .hg-grid--4, .hg-grid--3, .hg-grid--2 { grid-template-columns: 1fr; }
  .hg-form-row { grid-template-columns: 1fr; }
  .hg-footer-grid { grid-template-columns: 1fr; }
  .hg-hero-inner h1 { font-size: 28px; }
  .hg-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hg-stats strong { font-size: 30px; }
  .hg-topbar .hg-container { flex-direction: column; gap: 6px; align-items: flex-start; }
  .hg-topbar-left { flex-wrap: wrap; gap: 10px; }
}
