/* Global Navigation */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(13,13,13,0.95), rgba(13,13,13,0.8));
}
nav .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--warm-white);
  flex-shrink: 0;
}
nav .logo sup { font-size: 0.6em; opacity: 0.6; }
nav ul { 
  display: flex; 
  gap: 2rem; 
  list-style: none; 
  align-items: center;
  margin: 0;
  padding: 0;
}
nav a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  text-decoration: none;
  color: var(--warm-white);
  transition: opacity 0.3s;
  white-space: nowrap;
}
nav a:hover { opacity: 1; }
.nav-login {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--credible);
  border-radius: 4px;
  color: var(--credible) !important;
  opacity: 1 !important;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.nav-login:hover { background: var(--credible); color: var(--warm-white) !important; }

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--warm-white);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Global Footer */
footer { 
  padding: 4rem 4rem 2rem; 
  border-top: 1px solid rgba(255,255,255,0.06); 
  margin-top: 4rem; 
}
.footer-inner { max-width: 72rem; margin: 0 auto; }
.footer-grid { 
  display: grid; 
  grid-template-columns: 1.5fr 1fr 1fr 1fr; 
  gap: 3rem; 
  margin-bottom: 3rem; 
}
.footer-logo { 
  font-family: 'Cormorant Garamond', serif; 
  font-size: 1.25rem; 
  letter-spacing: 0.2em; 
  text-transform: uppercase; 
  display: block; 
  margin-bottom: 1rem; 
  text-decoration: none; 
  color: var(--warm-white); 
}
.footer-logo:hover { opacity: 0.8; }
.footer-logo sup { font-size: 0.6em; }
.footer-email { 
  font-size: 0.875rem; 
  opacity: 0.5; 
  text-decoration: none; 
  color: var(--warm-white); 
  transition: opacity 0.3s; 
}
.footer-email:hover { opacity: 1; }
.footer-column h4 { 
  font-size: 0.875rem; 
  font-weight: 500; 
  margin-bottom: 1rem; 
  opacity: 0.7; 
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: 0.75rem; }
.footer-column a { 
  font-size: 0.875rem; 
  opacity: 0.5; 
  text-decoration: none; 
  color: var(--warm-white); 
  transition: opacity 0.3s; 
}
.footer-column a:hover { opacity: 1; }
.footer-bottom { 
  padding-top: 2rem; 
  border-top: 1px solid rgba(255,255,255,0.06); 
}
.footer-copyright { font-size: 0.75rem; opacity: 0.3; }

/* Responsive - breakpoint at 992px for nav items */
@media (max-width: 992px) {
  nav { padding: 1rem 1.5rem; }
  .hamburger { display: flex; }
  nav ul {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--deep-black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 90;
  }
  nav ul.active { display: flex; }
  nav ul li a { font-size: 1.25rem; }
  .nav-login { font-size: 1rem !important; padding: 0.75rem 2rem; }
}

@media (max-width: 768px) {
  footer { padding: 3rem 2rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; text-align: center; margin-bottom: 1rem; }
  .footer-bottom { text-align: center; }
}
