/* ==========================================
   Kunlun Outdoors - Main Stylesheet
   A premium outdoor adventure travel company
   ========================================== */

/* ==========================================
   CSS Variables / Design System
   ========================================== */
:root {
  /* Primary Colors */
  --color-primary: #2C3E50;      /* Kunlun Gray */
  --color-secondary: #1a1a2e;    /* Snow Line White */
  --color-accent: #E67E22;       /* Canyon Ochre */
  --color-text: #4a5568;         /* Deep Gray */
  --color-bg: #ffffff;           /* Ink Black */
  --color-success: #27AE60;      /* Forest Green */
  --color-light: #F8F9FA;        /* Light Background */
  
  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  --gradient-accent: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(230, 126, 34, 0.3);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================
   Utility Classes
   ========================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: var(--space-sm);
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: #4a5568;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.text-accent {
  color: var(--color-accent);
}

.bg-dark {
  background-color: #ffffff;
}

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

/* ==========================================
   Navigation
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: var(--transition-smooth);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-logo {
  height: 45px;
  width: auto;
  display: block;
  transition: var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* When nav-logo is used, hide text and icon inside .logo */
.logo:has(.nav-logo) {
  gap: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--color-secondary);
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-accent);
}
/* Light theme: nav link colors */
.navbar.transparent .nav-link,
.navbar.transparent .logo { color: #fff; }
.navbar.scrolled .nav-link,
.navbar.scrolled .logo { color: #1a1a2e; }
.navbar.scrolled .nav-link:hover { color: #E67E22; }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(230, 126, 34, 0.5);
}

.btn-outline {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 3px;
  transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: var(--space-lg);
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    width: 100%;
    justify-content: center;
  }
  
  .hamburger {
    display: flex;
    z-index: 1001;
  }

  /* Touch optimization for buttons */
  .btn {
    min-height: 44px;
    padding: 0.85rem 1.5rem;
  }
}

/* ==========================================
   Hero Slider
   ========================================== */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26, 26, 46, 0.4), rgba(26, 26, 46, 0.7));
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 900px;
  z-index: 10;
}

.hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: white;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.5s;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.7s;
}

.hero-cta {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.9s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 20;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.slider-dot:hover,
.slider-dot.active {
  background: var(--color-accent);
  border-color: white;
  transform: scale(1.2);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-md);
  z-index: 20;
}

.slider-arrow {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: white;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ==========================================
   Destinations Section
   ========================================== */
.destinations {
  background: var(--color-bg);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.destination-card {
  position: relative;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.destination-card:hover img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(to top, rgba(26, 26, 46, 0.95), transparent);
  transition: var(--transition-smooth);
}

.destination-card:hover .destination-overlay {
  background: linear-gradient(to top, rgba(230, 126, 34, 0.9), transparent);
}

.destination-name {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.destination-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.destination-card:hover .destination-description {
  opacity: 1;
  transform: translateY(0);
}

.destination-treks {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--color-accent);
  transition: var(--transition-fast);
}

.destination-card:hover .destination-treks {
  background: white;
  color: var(--color-accent);
}

@media (max-width: 1200px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .destination-card {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  
  .destination-card {
    height: 300px;
  }
}

/* ==========================================
   Featured Treks Section
   ========================================== */
.featured-treks {
  background: linear-gradient(to bottom, var(--color-bg), #0f0f1a);
}

.treks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.trek-card {
  background: rgba(44, 62, 80, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.trek-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 126, 34, 0.3);
}

.trek-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.trek-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.trek-card:hover .trek-image img {
  transform: scale(1.1);
}

.trek-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 0.4rem 0.8rem;
  background: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-transform: uppercase;
}

.trek-content {
  padding: var(--space-md);
}

.trek-name {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--color-secondary);
}

.trek-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trek-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  color: #4a5568;
}

.trek-meta-item i {
  color: var(--color-accent);
}

.difficulty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
}

.difficulty-easy {
  background: rgba(39, 174, 96, 0.2);
  color: #2ECC71;
}

.difficulty-moderate {
  background: rgba(243, 156, 18, 0.2);
  color: #F39C12;
}

.difficulty-challenging {
  background: rgba(231, 76, 60, 0.2);
  color: #E74C3C;
}

.trek-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trek-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.trek-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #718096;
}

.trek-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-accent);
  font-weight: 600;
  transition: var(--transition-fast);
}

.trek-link:hover {
  gap: var(--space-sm);
}

@media (max-width: 1200px) {
  .treks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .treks-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Why Choose Us Section
   ========================================== */
.why-choose-us {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(230, 126, 34, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(44, 62, 80, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(44, 62, 80, 0.2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 126, 34, 0.3);
  background: rgba(44, 62, 80, 0.3);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-glow);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.feature-description {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials {
  background: linear-gradient(135deg, #2C3E50 0%, #1A1A2E 100%);
  position: relative;
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: var(--space-lg);
  text-align: center;
}

.testimonial-content {
  font-size: 1.4rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 6rem;
  color: var(--color-accent);
  opacity: 0.3;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--color-accent);
}

.testimonial-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.9rem;
  color: var(--color-accent);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--color-accent);
  width: 30px;
  border-radius: 5px;
}

/* ==========================================
   CTA Section (Newsletter)
   ========================================== */
.cta-section {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(44, 62, 80, 0.85));
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content .section-title {
  margin-bottom: var(--space-md);
}

.cta-content .section-subtitle {
  margin-bottom: var(--space-lg);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  white-space: nowrap;
}

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: #f5f6f8;
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-md);
  background: #e8ecf1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #4a5568;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: white;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: #1a1a2e;
}

.footer-column ul li {
  margin-bottom: var(--space-sm);
}

.footer-column a {
  color: #4a5568;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: #4a5568;
}

.footer-contact i {
  color: var(--color-accent);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: #718096;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  color: #718096;
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-contact li {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   Page Header (for inner pages)
   ========================================== */
.page-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  margin-top: 0;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.9));
}

.page-header-content {
  position: relative;
  text-align: center;
  z-index: 10;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-sm);
}

.page-breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  color: #4a5568;
}

.page-breadcrumb a:hover {
  color: var(--color-accent);
}

/* ==========================================
   Filter Bar
   ========================================== */
.filter-bar {
  background: rgba(44, 62, 80, 0.5);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.filter-group label {
  color: #4a5568;
  font-size: 0.9rem;
}

.filter-group select {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: #e8ecf1;
  color: white;
  cursor: pointer;
}

.filter-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* ==========================================
   Trek Detail Page
   ========================================== */
.trek-overview {
  background: rgba(44, 62, 80, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.overview-item {
  text-align: center;
}

.overview-item i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.overview-item h4 {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: var(--space-xs);
}

.overview-item p {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

.trek-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
}

.trek-sidebar {
  background: rgba(44, 62, 80, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.sidebar-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #718096;
}

.itinerary-day {
  background: rgba(44, 62, 80, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border-left: 4px solid var(--color-accent);
}

.itinerary-day h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}

.inclusions-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.inclusion-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(39, 174, 96, 0.1);
  border-radius: var(--radius-md);
  color: #2ECC71;
}

.inclusion-item.excluded {
  background: rgba(231, 76, 60, 0.1);
  color: #E74C3C;
}

@media (max-width: 992px) {
  .trek-details {
    grid-template-columns: 1fr;
  }
  
  .trek-sidebar {
    position: static;
  }
  
  .trek-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   Contact Page
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-form {
  background: rgba(44, 62, 80, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: #e8ecf1;
  color: white;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-card {
  background: rgba(44, 62, 80, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-info-card i {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.contact-info-card p {
  color: #4a5568;
}

.map-container {
  height: 300px;
  background: rgba(44, 62, 80, 0.5);
  border-radius: var(--radius-lg);
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   About Page
   ========================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.about-text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.team-member {
  text-align: center;
}

.team-member-image {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto var(--space-md);
  border: 4px solid var(--color-accent);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.team-member p {
  color: var(--color-accent);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    height: 300px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Animations
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.loading {
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================
   Responsive Adjustments
   ========================================== */
@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) 0;
  }

  /* Hero Slider */
  .hero-slider {
    min-height: 500px;
    height: 85vh;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }

  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  
  .hero-content {
    padding: 0 var(--space-sm);
  }
  
  .slider-arrows {
    display: none;
  }
  
  .scroll-indicator {
    display: none;
  }

  /* Global touch optimization */
  .btn {
    width: 100%;
    min-height: 44px;
    padding: 0.85rem 1.5rem;
  }

  .btn-lg {
    padding: 1rem 1.5rem;
  }

  .trek-link {
    padding: 12px;
  }

  a {
    padding: 2px 0;
  }

  /* Contact page */
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    min-height: 44px;
  }

  /* Page header */
  .page-header {
    height: 300px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  /* Trek overview stats */
  .trek-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .overview-item p {
    font-size: 1.1rem;
  }

  /* Testimonials */
  .testimonial-content {
    font-size: 1.1rem;
  }

  .testimonial-slide {
    padding: var(--space-md);
  }

  /* About page */
  .about-text h2 {
    font-size: 1.8rem;
  }

  /* Feature cards */
  .feature-card {
    padding: var(--space-md);
  }

  /* Inclusions list */
  .inclusions-list {
    grid-template-columns: 1fr;
  }

  /* Section subtitle */
  .section-subtitle {
    font-size: 1rem;
  }

  /* Destination card */
  .destination-card {
    height: 280px;
  }
}

/* ==========================================
   Small Mobile (480px)
   ========================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-md) 0;
  }

  .hero-slider {
    min-height: 400px;
    height: 80vh;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .treks-grid {
    gap: var(--space-md);
  }

  .trek-content {
    padding: var(--space-sm);
  }

  .trek-name {
    font-size: 1.1rem;
  }

  .trek-overview {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-sm);
    gap: var(--space-sm);
  }

  .overview-item i {
    font-size: 1.5rem;
  }

  .overview-item p {
    font-size: 1rem;
  }

  .destination-card {
    height: 220px;
  }

  .destination-name {
    font-size: 1.2rem;
  }

  .feature-card {
    padding: var(--space-sm);
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .feature-title {
    font-size: 1rem;
  }

  .page-header {
    height: 250px;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .contact-form {
    padding: var(--space-md);
  }

  .testimonial-content {
    font-size: 1rem;
  }

  .testimonial-content::before {
    font-size: 4rem;
    top: -30px;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  .footer {
    padding: var(--space-lg) 0 var(--space-sm);
  }

  .slider-nav {
    bottom: 20px;
  }
}


/* ==========================================
   Light Theme Overrides
   ========================================== */
body { color: #4a5568; }
h1, h2, h3, h4, h5, h6 { color: #1a1a2e; }
a { color: #4a5568; }
a:hover { color: #E67E22; }

/* Loading spinner */
.loading { background: #ffffff !important; }
.loading-spinner { border-color: #e2e8f0; border-top-color: #E67E22; }

/* Navbar on light bg */
.navbar.scrolled { background: rgba(255,255,255,0.97) !important; box-shadow: 0 1px 10px rgba(0,0,0,0.08); }
.navbar.scrolled .nav-link { color: #1a1a2e; }
.navbar.scrolled .logo { color: #1a1a2e; }
.navbar.transparent .nav-link { color: #fff; }
.navbar.transparent .logo { color: #fff; }

/* Hamburger */
.hamburger span { background: #1a1a2e; }
.navbar.transparent .hamburger span { background: #fff; }

/* Footer light */
.footer { background: #f5f6f8; border-top: 1px solid #e2e8f0; }
.footer-brand p { color: #4a5568; }
.footer-column h4 { color: #1a1a2e; }
.footer-column a { color: #4a5568; }
.footer-column a:hover { color: #E67E22; }
.footer-contact li { color: #4a5568; }
.footer-bottom { border-top: 1px solid #e2e8f0; }
.footer-bottom p { color: #718096; }
.footer-bottom-links a { color: #718096; }
.footer-bottom-links a:hover { color: #E67E22; }
.footer-social a { background: #e8ecf1; color: #4a5568; }
.footer-social a:hover { background: #E67E22; color: #fff; }

/* Page header (inner pages) */
.page-header { background: #f8f9fa; }
.page-header h1 { color: #1a1a2e; }
.page-header p { color: #4a5568; }
.page-header .breadcrumb a { color: #E67E22; }
.page-header .breadcrumb span { color: #718096; }

/* Make intro cards clickable */
.kl-intro-card { cursor: pointer; }
.kl-intro-card-overlay { pointer-events: none; }
.kl-intro-card-bg,
.kl-intro-card-overlay,
.kl-intro-card-content { pointer-events: none; }
.kl-intro-card-link { pointer-events: auto; }
