/**
 * Nepal Trip Services - Modern Luxury Hero Section Styles
 * 100% Exact Aesthetic Replication of preview design.PNG
 */

:root {
  --hero-cream-bg: #FAF7F2;
  --hero-cream-card: #FFFFFF;
  --hero-navy: #0F2435;
  --hero-gold: #D4A359;
  --hero-orange: #E86B00;
  --hero-amber: #F59E0B;
  --hero-text-dark: #111827;
  --hero-text-muted: #64748B;
  --hero-text-light: #94A3B8;
  --hero-border-light: rgba(15, 36, 53, 0.08);
  --hero-radius-xl: 18px;
  --hero-radius-lg: 12px;
  --hero-radius-md: 8px;
  --hero-radius-full: 9999px;
  --hero-transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ==========================================================================
   SEAMLESS HEADER TO HERO CONNECTION (ZERO GAP ELIMINATION)
   ========================================================================== */
html, body {
  background-color: var(--hero-cream-bg) !important;
}

.desk-mob-header {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.top-header {
  margin-bottom: 0 !important;
  background-color: #ffffff !important;
}

.navigation,
#all-my-navs {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.navigation .navbar {
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: none !important;
  border-bottom: none !important;
}

.landing-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  background-color: var(--hero-cream-bg) !important;
  display: block !important;
}

.landing-page > header {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: block !important;
  background-color: var(--hero-cream-bg) !important;
}

/* Hero Section Base */
.luxury-hero {
  position: relative;
  background-color: var(--hero-cream-bg) !important;
  background: linear-gradient(180deg, #FAF7F2 0%, #FFFDF9 100%) !important;
  margin-top: 0 !important;
  border-top: none !important;
  padding: 35px 0 115px 0;
  overflow: hidden;
}

/* Bottom Wavy Transition Divider with Enhanced Orange Wave Effect */
.luxury-hero-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 105px;
  overflow: hidden;
  line-height: 0;
  z-index: 6;
  pointer-events: none;
}

.luxury-hero-wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 -6px 14px rgba(232, 107, 0, 0.15));
}

/* Background Mountain Illustration at Bottom Left - Overlaps behind Search Box */
.luxury-hero-bg-art {
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 330px;
  max-width: 32vw;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: multiply;
  z-index: 1;
}

.luxury-hero .container {
  position: relative;
  z-index: 2;
}

/* Main Grid: Left Content (1.1fr) & Right 3-Column Mosaic (1.2fr) */
.luxury-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  align-items: center;
  gap: 45px;
}

/* ==========================================================================
   LEFT COLUMN: HEADLINE, SUBTITLE, SEARCH CARD, SOCIAL PROOF
   ========================================================================== */

.luxury-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 8;
}

/* Headline */
.luxury-hero-title {
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  font-weight: 800;
  color: var(--hero-text-dark);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

/* Subtitle */
.luxury-hero-subtitle {
  font-size: 1.05rem;
  color: var(--hero-text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 28px;
  font-weight: 400;
}

/* Modern Single-Row Search Card - Extended Width to Overlap Left Image Box */
.luxury-hero-search {
  position: relative;
  z-index: 15;
  width: calc(100% + 75px);
  max-width: 660px;
  background: #FFFFFF;
  border: 1px solid var(--hero-border-light);
  border-radius: 16px;
  box-shadow: 0 16px 36px -6px rgba(15, 36, 53, 0.08), 0 4px 14px rgba(0, 0, 0, 0.03);
  padding: 8px 10px 8px 18px;
  margin-bottom: 28px;
  transition: var(--hero-transition);
}

.luxury-hero-search:hover {
  box-shadow: 0 20px 42px -6px rgba(15, 36, 53, 0.12), 0 6px 18px rgba(0, 0, 0, 0.04);
  border-color: rgba(15, 36, 53, 0.14);
}

.luxury-search-form {
  display: block;
  width: 100%;
}

/* Single Inline Row with All 4 Items */
.search-inline-row {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.search-field-item {
  display: flex;
  flex-direction: column;
  padding: 4px 8px;
  min-width: 0;
}

.search-field-trip {
  flex: 1.25 1 0;
}

.search-field-duration {
  flex: 1 1 0;
}

.search-field-price {
  flex: 1 1 0;
}

.search-field-divider {
  width: 1px;
  height: 32px;
  background: rgba(15, 36, 53, 0.08);
  flex-shrink: 0;
  margin: 0 2px;
}

.search-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hero-text-dark);
  letter-spacing: 0.01em;
  margin-bottom: 2px;
  white-space: nowrap;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-field-input {
  border: none !important;
  padding: 0 !important;
  font-size: 0.88rem;
  color: var(--hero-text-muted);
  background: transparent !important;
  width: 100%;
  outline: none;
  box-shadow: none !important;
  cursor: pointer;
  font-weight: 500;
}

.search-field-select {
  border: none !important;
  padding: 0 !important;
  font-size: 0.88rem;
  color: var(--hero-text-muted);
  background: transparent !important;
  cursor: pointer;
  outline: none;
  box-shadow: none !important;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%2364748B' d='M0 0l4 4 4-4z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 2px center !important;
  padding-right: 14px !important;
  font-weight: 500;
}

.search-action-item {
  flex-shrink: 0;
  margin-left: 6px;
}

.search-submit-btn {
  background-color: #0E1A26;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 13px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(14, 26, 38, 0.28);
  transition: var(--hero-transition);
  white-space: nowrap;
}

.search-submit-btn:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

/* Social Proof & Rating Stack */
.luxury-hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 170px; /* Offset to the right of the mountain climber artwork */
  margin-top: 4px;
}

.customer-avatars {
  display: flex;
  align-items: center;
}

.customer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  margin-left: -12px;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(15, 36, 53, 0.12);
}

.customer-avatar:first-child {
  margin-left: 0;
}

.customer-proof-text {
  display: flex;
  flex-direction: column;
}

.customer-proof-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--hero-text-dark);
  line-height: 1.25;
}

.tripadvisor-rating-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--hero-text-muted);
  margin-top: 2px;
}

.ta-icon {
  height: 16px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   RIGHT COLUMN: 3-COLUMN PHOTO COLLAGE MATCHING IMAGE DESIGN LAYOUT
   ========================================================================== */

.luxury-hero-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
  width: 100%;
  padding-top: 25px;
  padding-bottom: 20px;
}

/* Flight Trajectory Dotted Curved Line & Paper Airplane */
.mosaic-flight-path {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 110%;
  height: 120%;
  pointer-events: none;
  z-index: 1;
}

.mosaic-paper-plane {
  position: absolute;
  top: 10px;
  left: 32%;
  color: var(--hero-gold);
  font-size: 1.35rem;
  transform: rotate(20deg);
  filter: drop-shadow(0 4px 10px rgba(212, 163, 89, 0.35));
  animation: planeHover 3.5s ease-in-out infinite alternate;
  z-index: 6;
}

@keyframes planeHover {
  0% { transform: translate(0, 0) rotate(18deg); }
  100% { transform: translate(8px, -10px) rotate(24deg); }
}

/* Column 1: Mountain Card (Staggered Lower) + Floating Orange Play Button */
.mosaic-col-left {
  position: relative;
  margin-top: 115px;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.mosaic-orange-play-btn {
  position: absolute;
  top: -22px;
  left: -22px;
  width: 54px;
  height: 54px;
  background-color: var(--hero-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  font-size: 17px;
  padding-left: 3px;
  box-shadow: 0 8px 24px rgba(232, 107, 0, 0.45);
  cursor: pointer;
  transition: var(--hero-transition);
  z-index: 10;
}

.mosaic-orange-play-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  animation: orangePulse 2.2s infinite;
}

@keyframes orangePulse {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.6); opacity: 0; }
}

.mosaic-orange-play-btn:hover {
  background-color: var(--hero-navy);
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(15, 36, 53, 0.4);
}

/* Column 2: 2 Stacked Portrait Cards (Highest Top, Lowest Bottom) */
.mosaic-col-mid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
  z-index: 2;
}

/* Column 3: Sadhu / Cultural Heritage Card (Intermediate Offset) */
.mosaic-col-right {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

/* Image Card Styles - Clean Border Radius & Subtle Shadow */
.mosaic-img-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 36, 53, 0.12);
  transition: var(--hero-transition);
  width: 100%;
}

.mosaic-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mosaic-img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 36, 53, 0.18);
  z-index: 5;
}

.mosaic-img-card:hover img {
  transform: scale(1.06);
}

/* Precise Card Heights matching Image Design Layout */
.card-mountain {
  height: 330px;
}

.card-hiker {
  height: 250px;
}

.card-stupa {
  height: 260px;
}

.card-sadhu {
  height: 340px;
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */

@media (max-width: 1199px) {
  .luxury-hero {
    padding: 35px 0 100px 0;
  }
  .luxury-hero-wave-divider {
    height: 90px;
  }
  .luxury-hero-grid {
    gap: 30px;
  }
  .luxury-hero-title {
    font-size: 2.6rem;
  }
  .luxury-hero-search {
    width: calc(100% + 45px);
    max-width: 620px;
  }
  .mosaic-col-left {
    margin-top: 90px;
  }
  .mosaic-col-right {
    margin-top: 60px;
  }
  .card-mountain {
    height: 290px;
  }
  .card-hiker {
    height: 220px;
  }
  .card-stupa {
    height: 230px;
  }
  .card-sadhu {
    height: 300px;
  }
}

@media (max-width: 991px) {
  .luxury-hero {
    padding: 30px 0 85px 0;
  }
  .luxury-hero-wave-divider {
    height: 70px;
  }
  .luxury-hero-bg-art {
    width: 230px;
    max-width: 36vw;
    max-height: 320px;
    opacity: 0.10;
  }
  .luxury-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .luxury-hero-content {
    align-items: center;
    text-align: center;
  }
  .luxury-hero-subtitle {
    max-width: 100%;
  }
  .luxury-hero-search {
    width: 100%;
    max-width: 600px;
  }
  .luxury-hero-social-proof {
    margin-left: 0;
    justify-content: center;
  }
  .luxury-hero-mosaic {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 15px;
  }
  .mosaic-col-left {
    margin-top: 70px;
  }
  .mosaic-col-right {
    margin-top: 50px;
  }
  .card-mountain {
    height: 260px;
  }
  .card-hiker {
    height: 190px;
  }
  .card-stupa {
    height: 200px;
  }
  .card-sadhu {
    height: 270px;
  }
}

@media (max-width: 767px) {
  .luxury-hero-search {
    padding: 12px 14px;
    border-radius: 14px;
  }
  .search-inline-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .search-field-item {
    padding: 4px 6px;
  }
  .search-field-trip {
    flex: 1 1 100%;
    border-bottom: 1px solid rgba(15, 36, 53, 0.08);
    padding-bottom: 8px;
  }
  .search-field-duration {
    flex: 1 1 calc(50% - 10px);
  }
  .search-field-price {
    flex: 1 1 calc(50% - 10px);
  }
  .search-field-divider {
    display: none;
  }
  .search-action-item {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
  }
  .search-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
}

@media (max-width: 575px) {
  .luxury-hero {
    padding: 25px 0 70px 0;
  }
  .luxury-hero-wave-divider {
    height: 52px;
  }
  .luxury-hero-bg-art {
    width: 160px;
    max-width: 42vw;
    max-height: 230px;
    opacity: 0.08;
  }
  .luxury-hero-title {
    font-size: 2.1rem;
  }
  .luxury-hero-social-proof {
    margin-left: 0;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .luxury-hero-mosaic {
    gap: 10px;
  }
  .mosaic-col-left {
    margin-top: 45px;
  }
  .mosaic-col-right {
    margin-top: 30px;
  }
  .card-mountain {
    height: 180px;
  }
  .card-hiker {
    height: 130px;
  }
  .card-stupa {
    height: 140px;
  }
  .card-sadhu {
    height: 190px;
  }
  .mosaic-orange-play-btn {
    width: 40px;
    height: 40px;
    font-size: 13px;
    top: -14px;
    left: -14px;
  }
}
