/* =====================================================
   TrueVue Studio — Nav & Footer Styles
   Edit here to update nav/footer across all pages
   ===================================================== */

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 60px;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(23,29,28,0);
  backdrop-filter: blur(0px);
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-bottom 0.5s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(23,29,28,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img {
  height: 32px;
  object-fit: contain;
}
.nav-logo-fallback {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  display: none;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  justify-content: center;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--main);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--main);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover {
  background: #6e78ff;
  transform: scale(1.03);
  box-shadow: 0 0 30px var(--main-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(23,29,28,0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--white); }
.mobile-menu .mobile-book {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  background: var(--main);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: #0a0c0b;
  padding: 64px 80px 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-brand img { height: 28px; margin-bottom: 16px; display: block; }
.footer-brand p {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.35);
  max-width: 260px; line-height: 1.7;
}
.footer-links { display: flex; gap: 80px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.5); text-decoration: none;
  margin-bottom: 12px; transition: color 0.3s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.25); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-socials a:hover {
  border-color: var(--main);
  color: var(--main);
  box-shadow: 0 0 16px rgba(88,99,248,0.3);
}

/* ── MOBILE NAV ──────────────────────────────────── */
@media(max-width:900px){
  nav { padding: 0 20px; grid-template-columns: 1fr auto; }
  .nav-links, .nav-right { display: none !important; }
  .hamburger { display: flex; }
  footer { padding: 48px 24px 32px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── LANG TOGGLE ──────────────────────────────────── */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 5px 12px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  transition: border-color 0.2s, background 0.2s;
}
.lang-toggle:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}
.lang-toggle [data-lang] {
  transition: color 0.2s;
}
.lang-toggle [data-lang].active {
  color: var(--white);
  font-weight: 600;
}
.lang-sep {
  color: rgba(255,255,255,0.15);
  font-weight: 300;
}

.mobile-lang {
  margin: 8px auto 0;
  font-size: 13px;
  padding: 8px 20px;
}
