/* ============================================================
   CINEVISUAL — Mobile Nav Additional Styles
   ============================================================ */

/* ─── MOBILE NAV DRAWER ────────────────────────────────────── */
#mobile-nav {
  position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
  background: var(--cream); z-index: 999; padding: 100px 40px 40px;
  transition: right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex; flex-direction: column;
}
#mobile-nav.open { right: 0; }
#mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
#mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav-link {
  display: block; padding: 20px 0;
  font-family: var(--serif); font-size: 2rem; font-weight: 700;
  color: var(--dark); transition: color 0.25s ease;
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.25s ease;
}
#mobile-nav.open .mobile-nav-link {
  opacity: 1; transform: translateX(0);
}
#mobile-nav.open li:nth-child(1) .mobile-nav-link { transition-delay: 0.1s; }
#mobile-nav.open li:nth-child(2) .mobile-nav-link { transition-delay: 0.15s; }
#mobile-nav.open li:nth-child(3) .mobile-nav-link { transition-delay: 0.2s; }
#mobile-nav.open li:nth-child(4) .mobile-nav-link { transition-delay: 0.25s; }
#mobile-nav.open li:nth-child(5) .mobile-nav-link { transition-delay: 0.3s; }
.mobile-nav-link:hover { color: var(--muted); }

/* Hamburger to X animation */
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── CONTACT FORM SUCCESS STATE ───────────────────────────── */
.form-success {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 60px 20px;
  min-height: 300px; gap: 16px;
}
.form-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(74, 222, 128, 0.15); border: 2px solid #4ade80;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.form-success h3 {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  color: var(--cream);
}
.form-success p { font-size: 0.9rem; color: rgba(236,238,227,0.6); max-width: 300px; }

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ─── CURSOR GLOW (DESKTOP) ────────────────────────────────── */
.cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,26,26,0.04) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* ─── LOADING STATE ─────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; background: var(--cream);
  z-index: 9998; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 900;
  color: var(--dark); letter-spacing: -0.02em;
}
.loader-bar { width: 120px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loader-bar-fill {
  height: 100%; background: var(--dark); border-radius: 2px;
  animation: loadFill 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes loadFill {
  from { width: 0; } to { width: 100%; }
}
