/* =========================================================================
   VIJAY ADVENTURE - DESIGN SYSTEM & STYLES (PURE CSS)
   ========================================================================= */

/* --- CSS Variables / Tokens --- */
:root {
  /* Colors */
  --color-primary: #10B981; /* Emerald Green */
  --color-primary-dark: #059669;
  --color-accent: #F59E0B; /* Amber/Sunset */
  --color-bg: #0F172A; /* Deep slate background - rich Dark Mode */
  --color-surface: #1E293B; /* Cards / Surface */
  --color-surface-light: #334155;
  --color-text: #F8FAFC;
  --color-text-muted: #94A3B8;
  
  /* Glassmorphism */
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Typography Helpers */
.highlight {
  color: var(--color-primary);
}

.lead-text {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* --- Components --- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-text);
  background: transparent;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

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

.btn-full {
  width: 100%;
}

.pill-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  border-radius: 50%; /* if it's a circular icon */
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: #fff;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-fast);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.3) 0%,
    rgba(15, 23, 42, 0.8) 60%,
    rgba(15, 23, 42, 1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  margin-top: 4rem; /* Offset for navbar */
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
  animation: fadeUp 1s 0.2s ease forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeUp 1s 0.4s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.6;
  animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 12px;
  position: relative;
  margin-bottom: 0.5rem;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: #fff;
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 16px; opacity: 0; }
}

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

/* --- Layout Wrappers --- */
.app-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* --- Treks Specifics --- */
.trek-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.trek-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* Trek Card - Glassmorphism & Hover FX */
.trek-card {
  background: var(--color-surface);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  position: relative;
  cursor: pointer;
}

.trek-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

.trek-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.trek-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trek-card:hover .trek-card-img-wrap img {
  transform: scale(1.08);
}

.trek-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  color: #fff;
}

.trek-card-content {
  padding: 1.5rem;
}

.trek-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trek-card-meta {
  display: flex;
  gap: 1rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.trek-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.trek-card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Experience Section --- */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--color-surface);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.experience-visuals {
  position: relative;
  height: 600px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1rem;
  position: absolute;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.glass-card img {
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.visual-1 {
  width: 70%;
  height: 60%;
  top: 0;
  right: 0;
  z-index: 2;
  transform: rotate(2deg);
  transition: var(--transition-smooth);
}

.visual-2 {
  width: 70%;
  height: 60%;
  bottom: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-3deg);
  transition: var(--transition-smooth);
}

.experience-visuals:hover .visual-1 {
  transform: rotate(0) scale(1.05);
  z-index: 3;
}
.experience-visuals:hover .visual-2 {
  transform: rotate(0) scale(1.05);
}

/* --- Reviews Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.reviewer-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
  font-family: var(--font-body);
}

.reviewer-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.review-rating {
  font-size: 0.875rem;
}

.review-rating span {
  color: var(--color-text-muted);
  margin-left: 0.5rem;
}

.review-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  flex-grow: 1;
}

.review-photos {
  margin-top: 0.5rem;
}

.review-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

/* --- Footer --- */
.footer {
  background: #020617; /* Even darker */
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 1rem;
  max-width: 300px;
}

.footer h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links a, .footer-contact p {
  display: block;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* --- Modal Overlay --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--color-surface);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(40px);
  transition: var(--transition-smooth);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}
.modal-content::-webkit-scrollbar-track {
  background: var(--color-surface);
}
.modal-content::-webkit-scrollbar-thumb {
  background: var(--color-text-muted);
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.modal-close:hover {
  background: #fff;
  color: #000;
}

.modal-hero {
  position: relative;
  height: 350px;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-surface) 0%, transparent 100%);
}

.modal-hero-text {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
}

.modal-badge {
  background: var(--color-primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.modal-hero-text h2 {
  font-size: 3rem;
  margin: 0;
}

.modal-body {
  padding: 2rem;
}

.modal-info-bar {
  display: flex;
  gap: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-item .label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item strong {
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

.modal-description p {
  color: #cbd5e1;
  margin-bottom: 2rem;
}

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

.split-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 16px;
}

.split-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

/* Modal Gallery */
.modal-gallery-container {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
}

.modal-gallery-container h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.modal-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.modal-gallery::-webkit-scrollbar {
  height: 8px;
}
.modal-gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.modal-gallery::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

.modal-gallery img {
  height: 220px;
  width: 320px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.modal-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .experience-visuals {
    height: 400px;
    margin-top: 2rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .modal-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple hidden for now, we'll keep it basic */
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .modal-info-bar {
    flex-direction: column;
    gap: 1rem;
  }
  .modal-hero-text h2 {
    font-size: 2rem;
  }
}
