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

/* CSS Variables */
:root {
  --color-bg-base: #0b0f19;
  --color-bg-surface: rgba(17, 24, 39, 0.7);
  --color-bg-surface-hover: rgba(31, 41, 55, 0.85);
  
  /* Indian Theme Palette: Warm Sunrise Gold & Deep Sea Teal */
  --color-primary: #f59e0b; /* Amber/Saffron */
  --color-primary-rgb: 245, 158, 11;
  --color-secondary: #06b6d4; /* Teal/Cyan */
  --color-secondary-rgb: 6, 182, 212;
  
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  
  --font-family-body: 'Inter', sans-serif;
  --font-family-title: 'Outfit', sans-serif;
  
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --transition-speed: 0.3s;
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Timeline variables for scroll-driven support detection */
  --in-oklab: ;
  --in-oklch: ;
}

@supports (linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--color-bg-base);
  font-family: var(--font-family-body);
  color: var(--color-text-main);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--color-primary-rgb), 0.3);
  border-radius: var(--border-radius-md);
  border: 2px solid var(--color-bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--color-primary-rgb), 0.6);
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--color-bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-lg);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding var(--transition-speed) ease, background-color var(--transition-speed) ease, backdrop-filter var(--transition-speed) ease, border-bottom var(--transition-speed) ease;
  padding: 1.5rem 2rem;
}

header.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-family-title);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
}

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

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

.nav-link:hover, .nav-link.active {
  color: var(--color-text-main);
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem 2rem;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(var(--color-secondary-rgb), 0.08) 0%, transparent 40%);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  line-height: 1.1;
  background: linear-gradient(to right var(--in-oklch), #ffffff 40%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  text-wrap: pretty;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-family: var(--font-family-title);
  outline-offset: 4px;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #f57c00);
  color: #0b0f19;
  box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--color-primary-rgb), 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: var(--glass-border);
  color: var(--color-text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero Highlight Video Display */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: var(--glass-border);
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Stats Counter Section */
.stats {
  padding: 4rem 2rem;
  position: relative;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 800;
  font-family: var(--font-family-title);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
}

.section-title {
  font-size: clamp(2rem, 1.5rem + 1vw, 2.75rem);
  color: var(--color-text-main);
}

.section-desc {
  color: var(--color-text-muted);
}

/* Video Showcase (Featured Videos) */
.videos-showcase {
  padding: 6rem 2rem;
  background: radial-gradient(circle at center, rgba(var(--color-secondary-rgb), 0.03) 0%, transparent 70%);
}

.video-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.video-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.video-card:hover {
  transform: translateY(-5px);
  background: var(--color-bg-surface-hover);
}

.video-thumbnail-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.video-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.video-card:hover .video-play-overlay {
  opacity: 1;
}

.play-icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(var(--color-primary-rgb), 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.4);
  transform: scale(0.9);
  transition: transform var(--transition-speed) ease;
}

.video-card:hover .play-icon-circle {
  transform: scale(1);
}

.play-icon-circle svg {
  fill: #0b0f19;
  margin-left: 4px;
}

.video-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.video-title {
  font-size: 1.25rem;
  color: var(--color-text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}

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

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
}

/* Shorts Section */
.shorts {
  padding: 6rem 2rem;
  background: rgba(17, 24, 39, 0.3);
}

.shorts-scroller-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.shorts-scroller {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
  scrollbar-width: thin;
}

.short-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  border: var(--glass-border);
  cursor: pointer;
  box-shadow: var(--glass-shadow);
}

.short-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.short-card:hover .short-thumbnail {
  transform: scale(1.05);
}

.short-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.9), transparent);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
}

.short-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.4;
}

.short-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ef4444; /* red for youtube shorts icon */
  text-transform: uppercase;
}

/* Connect / Joint the Trip Section */
.connect {
  padding: 6rem 2rem;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(var(--color-primary-rgb), 0.04) 0%, transparent 60%);
}

.connect-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.connect-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
  transition: all var(--transition-speed) ease;
}

.connect-card:hover {
  transform: translateY(-5px);
  background: var(--color-bg-surface-hover);
  border-color: rgba(var(--color-primary-rgb), 0.3);
}

.connect-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(var(--color-primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.connect-card:nth-child(2) .connect-icon {
  background: rgba(var(--color-secondary-rgb), 0.1);
  color: var(--color-secondary);
}

.connect-card h3 {
  font-size: 1.75rem;
  color: var(--color-text-main);
}

.connect-card p {
  color: var(--color-text-muted);
  max-width: 320px;
  font-size: 0.975rem;
}

/* Lightbox Modal (For Videos and Shorts) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.modal-content {
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  border: var(--glass-border);
}

.modal-shorts-content {
  max-width: 400px;
  aspect-ratio: 9 / 16;
}

.modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close:hover {
  color: var(--color-primary);
}

/* Footer */
footer {
  padding: 4rem 2rem 2rem 2rem;
  background: #070a12;
  border-top: var(--glass-border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
}

.footer-brand .logo {
  font-size: 1.75rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  transition: all var(--transition-speed) ease;
}

.social-btn:hover {
  background: var(--color-primary);
  color: #0b0f19;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Scroll-Driven / Animation triggers when supported */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fade-in-up {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
    }
    
    .scroll-animate {
      animation: fade-in-up auto linear backwards;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
    }
  }
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-tagline {
    margin: 0 auto;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 6rem 2rem 3rem 2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: var(--glass-border);
    z-index: -1;
    transform: translateY(-100%);
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
