/* ========================================
   Hit Factory — Cover Band Website
   ======================================== */

:root {
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-2: #1a1a1a;
  --color-text: #ffffff;
  --color-text-muted: #999999;
  --color-accent: #e23a6e;
  --color-accent-2: #6c3ce0;
  --color-accent-glow: rgba(226, 58, 110, 0.4);
  --color-blue: #00b4ff;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Font overrides for non-Latin scripts */
.font-georgian {
  --font-display: 'Noto Sans Georgian', 'Oswald', sans-serif;
  --font-body: 'Noto Sans Georgian', 'Inter', system-ui, sans-serif;
}
.font-armenian {
  --font-display: 'Noto Sans Armenian', 'Oswald', sans-serif;
  --font-body: 'Noto Sans Armenian', 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

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

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: clamp(16px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: clamp(1px, 0.5vw, 4px);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  transition: var(--transition);
  position: relative;
}

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-text);
}

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

.nav-lang {
  display: flex;
  gap: 2px;
  background: var(--color-surface-2);
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--color-accent);
  color: var(--color-text);
}

.lang-btn:hover:not(.active) {
  color: var(--color-text);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 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.4) 0%,
      rgba(10, 10, 10, 0.2) 40%,
      rgba(17, 17, 17, 0.7) 70%,
      var(--color-surface) 100%
    ),
    linear-gradient(90deg,
      rgba(226, 58, 110, 0.1) 0%,
      transparent 50%,
      rgba(108, 60, 224, 0.1) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 clamp(16px, 5vw, 48px);
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.9;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  font-size: clamp(60px, 15vw, 180px);
  font-weight: 700;
  letter-spacing: clamp(4px, 1.5vw, 12px);
  color: var(--color-text);
}

.hero-title-line.accent {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2), var(--color-blue), var(--color-accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 300;
  letter-spacing: clamp(3px, 1vw, 8px);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.hero-description {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* CTA Button */
.btn {
  display: inline-block;
  padding: 16px 48px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: var(--color-text);
  box-shadow: 0 4px 30px var(--color-accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--color-accent-glow);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* ========================================
   Section Common
   ======================================== */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-top: 12px;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--color-surface);
}

/* Video in about section */
.about-video {
  margin-bottom: 64px;
}

.about-video .video-wrapper {
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-hero-text {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
}

.about-hero-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* About content - two column */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.about-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-text), var(--color-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text-block p {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.8;
}

/* Stats bar */
.about-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 48px 0;
  margin-bottom: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-plus {
  font-size: 36px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

/* Band members */
.about-members {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

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

.member-image {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(30%);
}

.member-card:hover .member-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.member-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
  transition: var(--transition);
}

.member-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 280px;
  gap: 8px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

/* Gallery spans removed — auto-fill handles layout */

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0);
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(10, 10, 10, 0.3);
}

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 16px;
  transition: var(--transition);
  opacity: 0.7;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 40px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* ========================================
   Video Section — Lite YouTube
   ======================================== */
.video-section {
  background: var(--color-surface);
}

.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Lite YouTube embed */
.lite-youtube {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  cursor: pointer;
  background: #000;
}

.lite-youtube-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: filter 0.3s ease;
  pointer-events: none;
}

.lite-youtube:hover .lite-youtube-poster {
  filter: brightness(0.7);
}

.lite-youtube-playbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  background: transparent;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition);
  opacity: 0.9;
}

.lite-youtube:hover .lite-youtube-playbtn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.lite-youtube-bg {
  fill: red;
}

.lite-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fallback local video */
.video-wrapper video {
  width: 100%;
  display: block;
  background: #000;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: blur(4px);
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(10,10,10,0.85) 50%, var(--color-bg) 100%);
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-description {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 18px;
  max-width: 560px;
  margin: -32px auto 56px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-messengers {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  color: var(--color-text-muted);
  opacity: 0.5;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: var(--transition);
  text-align: center;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  border-radius: 16px;
  margin-bottom: 20px;
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-text-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: var(--color-text-muted);
  transition: var(--transition);
}

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

.footer-copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ========================================
   Animations (scroll reveal)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .about-members {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    font-size: 16px;
  }

  .nav-lang {
    order: 2;
    gap: 1px;
    padding: 2px;
  }

  .lang-btn {
    padding: 4px 5px;
    font-size: 10px;
  }

  .nav-container {
    padding: 0 12px;
    gap: 8px;
  }

  .section {
    padding: 80px 0;
  }

  .hero-description {
    font-size: 14px;
  }

  .about-hero-image {
    height: 260px;
  }

  .about-members {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .about-members {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .nav-lang {
    gap: 1px;
    padding: 2px;
  }

  .lang-btn {
    padding: 4px 6px;
    font-size: 10px;
  }
}
