/* =============================================
   ANALOGFILM — SHARED NAV
   Single source of truth for the top navigation.
   Linked (last) by about.html / gallery.html / contact.html
   so every page renders an identical nav. Values are
   hardcoded here so it does not depend on any page's CSS vars.
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 61px;
  background: rgba(241,243,242,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(20,32,31,0.10);
  transition: background 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.navbar.scrolled { background: rgba(241,243,242,0.95); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
}

.nav-logo {
  font-family: "Inter", "Pretendard", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #14201F;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-logo-icon { height: 22px; width: auto; display: block; }

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
  position: relative;
  padding: 2px 0;
  font-family: "Inter", "Pretendard", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20,32,31,0.58);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: #14201F; }

.hamburger {
  display: none;
  color: #14201F;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #F1F3F2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  color: #14201F;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.mobile-nav a {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(20,32,31,0.42);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: #14201F; }

@media (max-width: 768px) {
  .navbar { height: 64px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 20px; }
}
