/* ================================================
   DEEP SINGH GLR — HOLLYWOOD CINEMATIC DESIGN
   ================================================ */

/* --- Custom Properties --- */
:root {
  /* Colors — dark cinematic palette with neon accents */
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-alt: #1a1a1a;
  --color-border: rgba(255,255,255,0.08);
  --color-text: #f0ece4;
  --color-text-muted: #8a8780;
  --color-text-faint: #4a4844;
  --color-accent: #c8a44e;
  --color-accent-hover: #e0be64;
  --color-neon-purple: #b44dff;
  --color-neon-green: #00ff88;

  /* Typography */
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'General Sans', -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 8rem;

  /* Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-hero: clamp(3.5rem, 10vw, 9rem);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-glow: 0 0 40px rgba(200, 164, 78, 0.3);
  --shadow-neon: 0 0 60px rgba(180, 77, 255, 0.2);

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

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* --- Film Grain Overlay --- */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* --- Section Labels --- */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-5) 0;
  transition: background var(--transition-smooth), backdrop-filter var(--transition-smooth);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
}
.nav-links {
  display: flex;
  gap: var(--space-8);
}
.nav-links a {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 24px; }
.nav-toggle span { display: block; height: 2px; background: var(--color-text); border-radius: 2px; transition: var(--transition-fast); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.1) 40%, rgba(10,10,10,0.7) 70%, rgba(10,10,10,0.95) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.6) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-6) var(--space-16);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
  padding: var(--space-2) var(--space-4);
  background: rgba(200, 164, 78, 0.1);
  border: 1px solid rgba(200, 164, 78, 0.3);
  border-radius: 4px;
  display: inline-block;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: var(--space-6);
}
.hero-line {
  display: block;
  font-size: var(--text-hero);
}
.hero-line-1 { color: var(--color-text); }
.hero-line-2 { color: var(--color-accent); }
.hero-line-3 {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-text);
  opacity: 0.6;
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: var(--space-8);
  font-style: italic;
}
.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  z-index: 2;
}
.hero-scroll span {
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-glow {
  background: var(--color-accent);
  color: #0a0a0a;
  box-shadow: 0 0 30px rgba(200, 164, 78, 0.3);
}
.btn-glow:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 0 50px rgba(200, 164, 78, 0.5);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}
.btn-outline:hover {
  background: rgba(200, 164, 78, 0.1);
  transform: translateY(-2px);
}

/* --- Text Links --- */
.text-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200, 164, 78, 0.4);
  transition: text-decoration-color var(--transition-fast), color var(--transition-fast);
}
.text-link:hover {
  color: var(--color-accent-hover);
  text-decoration-color: var(--color-accent-hover);
}
.text-link strong { color: inherit; }

/* ============ ABOUT ============ */
.about {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.about-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-neon);
}
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.about-image-caption {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(10, 10, 10, 0.7);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}
.about-text { padding: var(--space-6) 0; }
.about-description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}
.about-description strong { color: var(--color-text); }
.about-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
}
.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ CINEMATIC DIVIDER ============ */
.divider-section {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.divider-bg {
  position: absolute;
  inset: 0;
}
.divider-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.3) contrast(1.2);
}
.divider-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-6);
}
.divider-text span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.4;
}

/* ============ MUSIC ============ */
.music {
  padding: var(--space-16) 0;
  background: var(--color-surface);
}
.music-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}
.tracks-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.track-card {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.track-card:first-child {
  border-top: 1px solid var(--color-border);
}
.track-card:hover {
  padding-left: var(--space-4);
}
.track-card:hover .track-name {
  color: var(--color-accent);
}
.track-card:hover .track-arrow {
  transform: translateX(8px);
  color: var(--color-accent);
}
.track-number {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 600;
  letter-spacing: 0.1em;
  min-width: 2rem;
}
.track-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  flex: 1;
  transition: color var(--transition-fast);
}
.track-arrow {
  font-size: var(--text-lg);
  color: var(--color-text-faint);
  transition: all var(--transition-fast);
}

/* ============ FLEET ============ */
.fleet {
  padding: var(--space-16) 0 var(--space-12);
  background: var(--color-bg);
}
.fleet-scroll {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--space-6);
  scrollbar-width: none;
}
.fleet-scroll::-webkit-scrollbar { display: none; }
.fleet-item {
  flex: 0 0 400px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: grab;
}
.fleet-item-wide {
  flex: 0 0 600px;
}
.fleet-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.fleet-item:hover img {
  transform: scale(1.05);
}
.fleet-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-5) var(--space-5);
  background: linear-gradient(transparent, rgba(10,10,10,0.9));
}
.fleet-item-label h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.fleet-item-label p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ GALLERY ============ */
.gallery {
  padding: var(--space-16) 0;
  background: var(--color-surface);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: var(--space-4);
  padding: 0 var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
  filter: saturate(0.8);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1);
}
.gallery-item-tall {
  grid-row: span 2;
}
.gallery-item-wide {
  grid-column: span 2;
}

/* ============ CONNECT ============ */
.connect {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.connect-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.connect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}
.connect-card:hover {
  border-color: rgba(200, 164, 78, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.connect-card:hover::before {
  transform: scaleX(1);
}
.connect-icon {
  font-size: 2rem;
  margin-bottom: var(--space-5);
}
.connect-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.connect-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.connect-arrow {
  font-size: var(--text-xl);
  color: var(--color-accent);
  margin-top: var(--space-5);
  transition: transform var(--transition-fast);
}
.connect-card:hover .connect-arrow {
  transform: translateX(8px);
}

/* ============ FOOTER ============ */
.footer {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.footer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-sub {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.15em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .fleet-item { flex: 0 0 340px; }
  .fleet-item-wide { flex: 0 0 480px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.97);
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    z-index: 999;
  }
  .nav-links.open a {
    font-size: var(--text-lg);
    color: var(--color-text);
  }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero-content { padding-bottom: var(--space-10); }
  .hero-line { font-size: clamp(2.5rem, 14vw, 5rem); }
  .hero-scroll { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about-stats { gap: var(--space-5); }

  .section-title { font-size: var(--text-3xl); }

  .fleet-item { flex: 0 0 300px; }
  .fleet-item-wide { flex: 0 0 380px; }
  .fleet-item img { height: 250px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 var(--space-4);
  }
  .gallery-item-tall { grid-row: span 1; }
  .gallery-item-wide { grid-column: span 2; }
  .gallery-item img { height: 200px; }

  .connect-grid {
    grid-template-columns: 1fr;
  }

  .divider-section { height: 40vh; min-height: 280px; }
}

@media (max-width: 480px) {
  .hero-line { font-size: clamp(2rem, 15vw, 4rem); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .about-stats { flex-direction: column; gap: var(--space-4); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-wide { grid-column: span 1; }
}

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
