/*
Theme Name: Journey Masterz Himachal Tours
Theme URI: https://himachal.journeymasterz.com/
Author: Journey Masterz
Author URI: https://himachal.journeymasterz.com/
Description: Official responsive single-page landing page theme for Journey Masterz Himachal Tours (himachal.journeymasterz.com) with quotation inquiry management, 12 tour packages, and direct WhatsApp / Call actions.
Version: 1.1.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: journey-masterz-himachal
Tags: travel, tour-operator, landing-page, one-column, custom-colors, custom-menu, featured-images, full-width-template
*/

:root {
  --jm-green: #145b48;
  --jm-green2: #0e4035;
  --jm-orange: #f2a33a;
  --jm-ink: #18312c;
  --jm-muted: #4b5b54;
  --jm-pale: #f4f8f5;
  --jm-white: #fff;
  --jm-shadow: 0 16px 45px rgba(18, 57, 46, 0.12);
  --jm-radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--jm-ink);
  line-height: 1.6;
  background: #fff;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.jm-wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.jm-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7eeea;
}

.jm-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.4px;
  font-size: 1.15rem;
  color: var(--jm-ink);
}

.jm-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(145deg, var(--jm-green), #2b8a6b);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.jm-brand small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.7px;
  color: var(--jm-muted);
  font-weight: 700;
}

.jm-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.jm-links a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 650;
  color: var(--jm-ink);
  transition: color 0.15s;
}

.jm-links a:hover {
  color: var(--jm-green);
}

.jm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  background: var(--jm-green);
  color: white;
  font-size: 0.92rem;
}

.jm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 91, 72, 0.2);
}

.jm-btn-orange {
  background: var(--jm-orange);
  color: #242c22;
}

.jm-btn-orange:hover {
  background: #f09724;
}

.jm-btn-outline {
  background: #fff;
  color: var(--jm-green);
  border: 1px solid #d4e2db;
}

.jm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #0c2b23;
  color: #fff;
}

.jm-hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(transparent, #fff);
  z-index: 1;
  opacity: 0.12;
}

.jm-hero-grid {
  min-height: 630px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 42px;
  align-items: center;
  padding-block: 76px;
  position: relative;
  z-index: 2;
}

.jm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  font-weight: 750;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
}

.jm-hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -2.5px;
  margin: 22px 0;
  font-weight: 850;
}

.jm-hero h1 span {
  color: #ffd18a;
}

.jm-hero p {
  font-size: 1.15rem;
  line-height: 1.55;
  color: #e5f0ea;
  margin: 0;
  max-width: 580px;
}

.jm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.jm-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 27px;
  font-size: 0.88rem;
  color: #fff;
}

.jm-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jm-trust span:before {
  content: "✓";
  color: var(--jm-orange);
  font-weight: 900;
}

.jm-form-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--jm-ink);
  border-radius: 26px;
  padding: 28px 30px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
}

.jm-form-card h2 {
  font-size: 1.45rem;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
  color: var(--jm-ink);
  font-weight: 800;
}

.jm-form-card > p {
  color: var(--jm-muted);
  font-size: 0.88rem;
  margin: 0 0 20px;
}

.jm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.jm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jm-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #18372d;
}

.jm-field input,
.jm-field select,
.jm-field textarea {
  border: 1px solid #c9d8d0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  color: #18312c;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.jm-field input:focus,
.jm-field select:focus,
.jm-field textarea:focus {
  outline: none;
  border-color: var(--jm-green);
  box-shadow: 0 0 0 3px rgba(20, 91, 72, 0.15);
}

.jm-field textarea {
  min-height: 72px;
  resize: vertical;
}

.jm-field-full {
  grid-column: 1 / -1;
}

.jm-consent {
  font-size: 0.77rem;
  color: var(--jm-muted);
  grid-column: 1 / -1;
  line-height: 1.4;
}

.jm-consent a {
  color: var(--jm-green);
  text-decoration: underline;
  font-weight: 600;
}

.jm-section {
  padding: 82px 0;
}

.jm-section-soft {
  background: var(--jm-pale);
}

.jm-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.jm-kicker {
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 850;
  color: var(--jm-green);
}

.jm-section h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.13;
  letter-spacing: -1.2px;
  margin: 10px 0 14px;
  font-weight: 850;
  color: var(--jm-ink);
}

.jm-section-head p {
  color: var(--jm-muted);
  margin: 0;
  font-size: 1.05rem;
}

.jm-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.jm-package {
  overflow: hidden;
  background: white;
  border: 1px solid #e5ece7;
  border-radius: var(--jm-radius);
  box-shadow: 0 8px 26px rgba(21, 60, 47, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.jm-package:hover {
  transform: translateY(-5px);
  box-shadow: var(--jm-shadow);
}

.jm-package-image {
  height: 205px;
  background: #dfe9e2 center / cover no-repeat;
  position: relative;
}

.jm-package-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.jm-package-body h3 {
  margin: 0 0 7px;
  font-size: 1.22rem;
  color: #18372d;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.jm-package-body p {
  color: var(--jm-muted);
  font-size: 0.92rem;
  margin: 0 0 16px;
  line-height: 1.5;
}

.jm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.jm-pills span {
  background: #edf5ef;
  color: #285c49;
  border-radius: 99px;
  padding: 5px 11px;
  font-size: 0.75rem;
  font-weight: 750;
}

.jm-price {
  font-size: 1.5rem;
  font-weight: 850;
  line-height: 1.2;
  color: var(--jm-green);
  margin: 10px 0 12px;
}

.jm-price small {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--jm-muted);
  margin-top: 4px;
}

.jm-inclusions {
  padding-left: 18px;
  margin: 0 0 18px;
  color: var(--jm-muted);
  font-size: 0.82rem;
}

.jm-inclusions li {
  margin: 0 0 7px;
}

.jm-card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #edf1ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jm-card-bottom strong {
  font-size: 0.92rem;
  color: var(--jm-green);
}

.jm-card-bottom a,
.jm-card-bottom button {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--jm-green);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.jm-card-bottom a:hover,
.jm-card-bottom button:hover {
  text-decoration: underline;
}

.jm-destinations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.jm-destination {
  min-height: 205px;
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: white;
  text-decoration: none;
  font-weight: 850;
  font-size: 1.1rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.jm-destination:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(5, 28, 23, 0.82));
  transition: opacity 0.2s;
}

.jm-destination:hover:before {
  opacity: 0.95;
}

.jm-destination span {
  position: relative;
  z-index: 2;
}

.jm-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.jm-benefit {
  padding: 24px;
  background: #fff;
  border: 1px solid #e4ece6;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.jm-benefit-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: #e9f5ed;
  border-radius: 14px;
  font-size: 1.35rem;
}

.jm-benefit h3 {
  font-size: 1.05rem;
  margin: 15px 0 7px;
  font-weight: 800;
  color: #18372d;
}

.jm-benefit p {
  font-size: 0.88rem;
  color: var(--jm-muted);
  margin: 0;
  line-height: 1.5;
}

.jm-cta-band {
  background: linear-gradient(120deg, #104b3c, #23785b);
  border-radius: 26px;
  padding: 42px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 16px 40px rgba(16, 75, 60, 0.2);
}

.jm-cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 8px;
  line-height: 1.12;
  font-weight: 850;
  color: white;
}

.jm-cta-band p {
  margin: 0;
  color: #d9eee3;
  font-size: 1rem;
}

.jm-policy {
  max-width: 900px;
  margin: auto;
}

.jm-policy h3 {
  margin: 24px 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #18372d;
}

.jm-policy p,
.jm-policy li {
  color: var(--jm-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.jm-photo-credits {
  padding: 22px 0;
  background: #f3f7f4;
  color: #51655c;
  font-size: 0.78rem;
  line-height: 1.6;
  border-top: 1px solid #e7eeea;
}

.jm-photo-credits a {
  color: var(--jm-green);
  text-decoration: underline;
}

.jm-footer {
  background: linear-gradient(90deg, rgba(8, 38, 31, 0.96), rgba(8, 38, 31, 0.78));
  background-color: #08261f;
  color: #e8f2ed;
  padding: 45px 0 95px;
}

.jm-footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.jm-footer p {
  color: #b8cdc4;
  font-size: 0.88rem;
  max-width: 520px;
  margin: 10px 0;
}

.jm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.jm-footer a {
  color: #e8f2ed;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.jm-footer a:hover {
  text-decoration: underline;
}

.jm-float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.jm-float {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 850;
  color: #fff;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.jm-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.jm-float-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.jm-float-call {
  background: #145b48;
}

.jm-float-wa {
  background: #20b866;
}

.jm-menu-toggle {
  display: none;
}

/* Responsive Queries */
@media (max-width: 900px) {
  .jm-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 55px;
  }
  .jm-form-card {
    max-width: 680px;
  }
  .jm-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jm-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .jm-destinations {
    grid-template-columns: repeat(2, 1fr);
  }
  .jm-links {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .jm-wrap {
    width: min(100% - 28px, 1160px);
  }
  .jm-nav {
    min-height: 66px;
    flex-wrap: wrap;
  }
  .jm-brand {
    font-size: 1rem;
  }
  .jm-mark {
    width: 37px;
    height: 37px;
  }
  .jm-links {
    display: none;
    width: 100%;
    padding: 10px 0 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .jm-links.is-open {
    display: flex;
  }
  .jm-menu-toggle {
    display: inline-flex;
    background: #edf5ef;
    border: 0;
    color: var(--jm-green);
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
  }
  .jm-nav-cta {
    display: none;
  }
  .jm-hero-grid {
    padding-block: 42px;
  }
  .jm-hero h1 {
    letter-spacing: -1.4px;
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
  .jm-hero p {
    font-size: 1rem;
  }
  .jm-form-card {
    padding: 20px;
    border-radius: 20px;
  }
  .jm-form-grid {
    grid-template-columns: 1fr;
  }
  .jm-field-full,
  .jm-consent {
    grid-column: auto;
  }
  .jm-section {
    padding: 60px 0;
  }
  .jm-card-grid {
    grid-template-columns: 1fr;
  }
  .jm-package-image {
    height: 220px;
  }
  .jm-destinations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .jm-destination {
    min-height: 165px;
    padding: 13px;
    font-size: 1rem;
  }
  .jm-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .jm-benefit {
    padding: 18px;
  }
  .jm-cta-band {
    padding: 26px;
    align-items: flex-start;
    flex-direction: column;
  }
  .jm-footer-row {
    flex-direction: column;
  }
  .jm-float-actions {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: center;
    gap: 8px;
  }
  .jm-float {
    flex: 1;
    max-width: 190px;
    min-height: 47px;
    padding: 0 13px;
    font-size: 0.88rem;
  }
  .jm-float-icon {
    font-size: 1.05rem;
  }
}
