/* ==========================================================================
   HIMALAYAN TRIPCRAFT - DESIGN SYSTEM & MASTER STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-dark: #0f172a;
  --primary-blue: #0284c7;
  --primary-deep: #0369a1;
  --accent-saffron: #f97316;
  --accent-gold: #eab308;
  --accent-green: #10b981;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-focus: #38bdf8;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.logo-subtext {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: -0.1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Spacing */
.section {
  padding: 4.5rem 0;
}

.section-muted {
  background-color: var(--bg-muted);
}

.section-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.section-dark h2, .section-dark h3 {
  color: #ffffff;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.logo-badge {
  background: linear-gradient(135deg, var(--accent-saffron), var(--accent-gold));
  color: #ffffff;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-blue);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 1.5rem;
}

.btn-book-now {
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: var(--transition);
}

.btn-book-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-deep));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-saffron), #ea580c);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--border-light);
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: rgba(2, 132, 199, 0.05);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-dark);
}

/* Hero & Auto-scrolling Carousel */
.hero {
  padding: 3rem 0 4rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-muted) 100%);
  overflow: hidden;
}

.hero-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: rgba(2, 132, 199, 0.1);
  color: var(--primary-blue);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Auto Carousel Marquee & Manual Controls */
.carousel-wrapper {
  width: 100%;
  overflow-x: auto;
  position: relative;
  padding: 1rem 0;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.carousel-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.carousel-container-outer {
  position: relative;
  width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--primary-blue);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

.carousel-btn-prev {
  left: 1.5rem;
}

.carousel-btn-next {
  right: 1.5rem;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
}

.carousel-wrapper:hover .carousel-track {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-card {
  width: 320px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  transition: var(--transition);
}

.carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.carousel-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.carousel-body {
  padding: 1.25rem;
}

.carousel-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.carousel-teaser {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Card Grids */
.grid {
  display: grid;
  gap: 2rem;
}

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

/* Package Card */
.package-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.package-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.package-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.package-duration-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.package-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.package-card-price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-deep);
  font-family: 'Outfit', sans-serif;
}

/* Secondary / Other Destinations Lighter Card */
.secondary-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.secondary-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
}

.secondary-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.secondary-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Package Detail Page Layout */
.package-detail-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem 0;
}

.package-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.package-detail-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.package-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.meta-pill {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 3rem 0;
}

.gallery-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-img:hover {
  transform: scale(1.03);
}

/* Timeline / Accordion Itinerary */
.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.itinerary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.itinerary-day {
  font-weight: 700;
  color: var(--primary-deep);
  font-size: 1.05rem;
}

/* Tariff Table */
.tariff-table-wrapper {
  overflow-x: auto;
  margin-bottom: 3rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.tariff-table th, .tariff-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.tariff-table th {
  background-color: var(--bg-muted);
  font-weight: 700;
  color: var(--primary-dark);
}

.tariff-table tr:hover {
  background-color: rgba(2, 132, 199, 0.02);
}

/* Vehicle Rental Grid */
.vehicle-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.vehicle-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.vehicle-body {
  padding: 1.5rem;
}

.vehicle-name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.vehicle-rate {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 1rem;
}

/* Booking Form */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Global Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 1.75rem;
  z-index: 999;
  display: flex;
  gap: 1rem;
}

.floating-whatsapp {
  right: 1.75rem;
}

.floating-call {
  left: 1.75rem;
}

.btn-float {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
}

.btn-float-wa {
  background: #25D366;
}

.btn-float-wa:hover {
  background: #128C7E;
  transform: scale(1.05);
}

.btn-float-call {
  background: var(--primary-dark);
}

.btn-float-call:hover {
  background: var(--primary-blue);
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding: 4rem 0 5.5rem 0;
  margin-top: auto;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.section-ownership {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 4rem 0;
  border-top: 3px solid var(--accent-gold);
  position: relative;
  overflow: hidden;
}

.ownership-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  max-width: 850px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.ownership-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.ownership-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.ownership-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ownership-address {
  font-size: 0.98rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ownership-watermark-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.15em;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  user-select: none;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.25rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .site-watermark-badge { font-size: 0.7rem; padding: 0.3rem 0.75rem; max-width: 90%; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-title { font-size: 1.85rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .package-header-content { flex-direction: column; align-items: flex-start; }
  .floating-actions { flex-direction: column; }
  .ownership-title { font-size: 1.75rem; }
  .ownership-card { padding: 2rem 1.25rem; }
  .ownership-watermark-stamp { font-size: 2.5rem; }
  .site-watermark-badge { display: none; }
}

