/* CineCockpit — Shared Site Styles */

/* -------- Scroll Progress Bar -------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #00e1ab;
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* -------- Reveal Animations -------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #scroll-progress {
    display: none;
  }
  .mobile-menu-panel {
    transition: none !important;
  }
}

/* -------- Sticky Nav Scroll State -------- */
.nav-scrolled {
  border-bottom-color: rgba(255,255,255,0.10) !important;
  background-color: rgba(10,10,10,0.97) !important;
}

/* -------- Mobile Menu -------- */
.mobile-menu-panel {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #0d0d0d;
  border-bottom: 1px solid #1f1f1f;
  z-index: 49;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-menu-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-panel a {
  display: block;
  color: #a1a1aa;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  padding: 0.5rem 0;
  border-bottom: 1px solid #1a1a1a;
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-menu-panel a:last-child {
  border-bottom: none;
}
.mobile-menu-panel a:hover,
.mobile-menu-panel a.nav-active {
  color: #ffffff;
}
.mobile-menu-panel .mob-cta {
  margin-top: 0.5rem;
  display: inline-block;
  background: #00e1ab;
  color: #000;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  border-bottom: none !important;
}

/* -------- Hamburger Button -------- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  padding: 2px;
}
.hamburger span {
  display: block;
  height: 1px;
  background: #a1a1aa;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s;
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: #fff;
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: #fff;
}

/* -------- Nav Active State -------- */
nav a.nav-active {
  color: #ffffff !important;
}

/* -------- Card Hover Lift -------- */
.card-lift {
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card-lift:hover {
  transform: translateY(-3px);
  border-color: #333333 !important;
}

/* -------- Counter Animation -------- */
[data-count] {
  display: inline-block;
}

/* -------- Form Focus -------- */
.form-field {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  color: #f5f5f5;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-field:focus {
  border-color: rgba(0, 225, 171, 0.4);
  box-shadow: 0 0 0 2px rgba(0, 225, 171, 0.06);
}
.form-field::placeholder {
  color: #52525b;
}
textarea.form-field {
  resize: vertical;
  min-height: 120px;
}
