/* ============================================
   NAVIGATION BAR STYLES
   ============================================ */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--ny-red);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;          /* never squish the logo */
}

.nav-logo img {
  display: block;
  height: 50px;
  width: auto;             /* preserve aspect ratio */
  border-radius: 8px;      /* matches the logo's rounded corners */
}

/* --- Desktop Menu --- */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--ny-navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.nav-link:hover { color: var(--ny-red); }
.nav-link i { font-size: 0.75rem; margin-left: 4px; color: #ccc; }

/* --- MEGA MENU & DROPDOWNS --- */
.mega-menu, .dropdown-menu {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-top: 3px solid var(--ny-red);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 999;
  border-radius: 0 0 8px 8px;
}

.mega-menu {
  width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dropdown-menu {
  width: 250px;
  left: 0;
  transform: none;
}

/* Show on hover */
.nav-item:hover .mega-menu,
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: 70px;
}

/* Menu column content */
.menu-column h4 {
  color: var(--ny-red);
  font-size: 0.85rem;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.menu-column ul { list-style: none; padding: 0; }
.menu-column li { margin-bottom: 0.5rem; }
.menu-column a  { color: #555; font-size: 0.9rem; display: block; }
.menu-column a:hover { color: var(--ny-navy); padding-left: 3px; }

/* --- Mobile Toggle Button --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ny-navy);
  cursor: pointer;
  padding: 0.25rem;
}

/* ============================================
   MOBILE NAVIGATION OVERLAY
   Toggled by .mobile-toggle via inline script
   below — included at bottom of every page.
   ============================================ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
}

.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav-inner {
  width: 85%;
  max-width: 350px;
  background: #fff;
  height: 100%;
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.mobile-nav-inner .nav-logo {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.mobile-nav-inner ul {
  list-style: none;
  padding: 0;
}

.mobile-nav-inner li {
  border-bottom: 1px solid #eee;
}

.mobile-nav-inner a {
  display: block;
  padding: 0.75rem 0;
  color: var(--ny-navy);
  font-weight: 600;
}

.mobile-nav-inner a:hover { color: var(--ny-red); }

.mobile-nav-inner h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--ny-red);
  margin: 1rem 0 0.5rem;
}

.mobile-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  float: right;
  cursor: pointer;
  color: #999;
  margin-bottom: 1rem;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.site-footer {
  background: var(--ny-navy);
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-brand span { color: var(--ny-red); }

/* Footer brand paragraph text */
.footer-brand p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.footer-links { list-style: none; padding: 0; }

.footer-links li  { margin-bottom: 0.8rem; }

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: var(--ny-red);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-links     { display: none; }
  .mobile-toggle { display: block; }

  .mega-menu, .dropdown-menu {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 0.5rem 0 0.5rem 1rem;
    border-top: none;
  }
}

/* ============================================
   MOBILE NAV — INLINE SCRIPT
   Add this snippet just before </body> on
   every page (or in a shared script.js).

   <div class="mobile-nav-overlay" id="mobileNav">
     <div class="mobile-nav-inner">
       <button class="mobile-close" id="mobileClose">&times;</button>
       ... nav links here ...
     </div>
   </div>
   <script>
     document.querySelector('.mobile-toggle')
       .addEventListener('click', () =>
         document.getElementById('mobileNav')
           .classList.add('active'));
     document.getElementById('mobileClose')
       .addEventListener('click', () =>
         document.getElementById('mobileNav')
           .classList.remove('active'));
     document.getElementById('mobileNav')
       .addEventListener('click', e => {
         if (e.target === e.currentTarget)
           e.currentTarget.classList.remove('active');
       });
   </script>
   ============================================ */
