/* ═══════════════════════════════════════════════════
   PREMIUM GLOBAL THEME (Synced with Home Page)
   ═══════════════════════════════════════════════════ */
:root {
  --color-bg: #050505;
  --color-bg-light: #f5f0e6;
  --color-surface: #111111;
  --color-surface-light: #1a1a1a;
  --color-accent: #e2b75a;
  --color-accent-bright: #ffdb80;
  --color-text: #ffffff;
  --color-text-dark: #1a1a1a;
  --color-text-muted: #8a8a8a;
  --color-text-muted-light: #6a6a6a;
  --color-glass: rgba(255, 255, 255, 0.04);
  --color-glass-border: rgba(255, 255, 255, 0.08);
  --color-glass-hover: rgba(255, 255, 255, 0.08);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --radius-full: 50px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); overflow-x: hidden; min-height: 100vh; }

/* ═══════════════════════════════════════════════════
   HEADER STYLES
   ═══════════════════════════════════════════════════ */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2000 !important;
  padding: 1.25rem 2rem !important;
  background: transparent !important;
  border: none !important;
  transition: all 0.5s var(--ease-out);
}

.header.scrolled {
  padding: 0.75rem 2rem !important;
}

.header-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(10, 10, 10, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50px !important;
  padding: 0.75rem 1.5rem !important;
  transition: all 0.5s var(--ease-out);
}

.header.scrolled .header-container {
  background: rgba(10, 10, 10, 0.9) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

#logo {
  max-width: 45px;
  max-height: 45px;
  border-radius: 50%;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
}

.logo-text-container h1 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  line-height: 1.2;
}

.logo-text-container .tagline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-menu { display: flex; align-items: center; }

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

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════
   MEGA MENU STYLES
   ═══════════════════════════════════════════════════ */
.dropdown {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 90vw;
  max-width: 1100px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
  z-index: 1000;
  padding: 2.5rem 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.dropdown:hover .mega-menu, .dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-container {
  max-width: 85rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr 300px;
  gap: 3rem;
  padding: 0 2rem;
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
}

.mega-column-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-list {
  list-style: none;
}

.category-item {
  padding: 0.75rem 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.category-item:hover,
.category-item.active {
  color: var(--color-accent);
  padding-left: 0.5rem;
}

.trek-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  list-style: none;
}

.trek-list-item a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.trek-list-item a:hover {
  color: #fff;
  padding-left: 5px;
}

.featured-trek {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-trek img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.featured-trek-content {
  padding: 1.2rem;
}

.featured-trek-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.auth-nav-items {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-link {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.login-link {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.login-link:hover {
  background: #fff;
  color: #000;
}

/* ═══════════════════════════════════════════════════
   FOOTER STYLES
   ═══════════════════════════════════════════════════ */
.footer {
  background: var(--color-surface);
  padding: 8rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 4rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: #fff;
  margin-bottom: 2rem;
}

.footer-col-links {
  list-style: none;
}

.footer-col-links li {
  margin-bottom: 1rem;
}

.footer-col-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

.newsletter-form h3 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.newsletter-input {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input input {
  flex: 1;
  padding: 0.75rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-body);
  outline: none;
}

.newsletter-input button {
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }

.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.social-links svg { width: 16px; height: 16px; fill: rgba(255, 255, 255, 0.5); }
.social-links a:hover svg { fill: var(--color-bg); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright { color: var(--color-text-muted); font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { color: var(--color-text-muted); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════
   PREMIUM WHATSAPP FAB
   ═══════════════════════════════════════════════════ */
.enquiry-button {
  position: fixed; bottom: 30px; right: 30px;
  width: 60px; height: 60px;
  background: #25D366; color: white;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 1000; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.enquiry-button:hover { transform: scale(1.1) rotate(5deg); background: #20BA5A; }
.whatsapp-icon { width: 32px; height: 32px; fill: white; }

/* ═══════════════════════════════════════════════════
   MOBILE RESPONSIVENESS (Synced with Home)
   ═══════════════════════════════════════════════════ */
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 2.5rem; height: 2.5rem; gap: 5px; cursor: pointer; z-index: 102;
}

.hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s var(--ease-out); }
.hamburger span:nth-child(2) { width: 16px; }

@media (max-width: 768px) {
  .header { padding: 0.5rem; }
  .header-container { padding: 0.4rem 0.5rem; gap: 0.4rem; }
  .logo-text-container .tagline { font-size: 0.5rem; letter-spacing: 1px; }
  .logo-text-container h1 { font-size: 0.85rem; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  
  .nav-menu-mobile {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 2000;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    visibility: hidden; /* Prevent flickering or being seen when closed */
  }

  .nav-menu-mobile.active {
    transform: translateX(0);
    visibility: visible;
  }
  
  .nav-menu-mobile .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-menu-mobile .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
}

@media (min-width: 769px) {
  .nav-menu-mobile {
    display: none !important;
  }
}