/* css/responsive.css */

@media (max-width: 768px) {
  .nav-container { 
    position: relative; /* Required to center the logo absolutely */
    justify-content: space-between; /* Pushes hamburger and search to opposite ends */
  }
  
  .hamburger { 
    display: block; 
  }

  /* Force logo to the exact center of the screen */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Slide-in Mobile Menu */
  .nav-list { 
    position: fixed; 
    top: 80px; 
    left: -100%; 
    width: 100%; 
    height: calc(100vh - 80px); 
    background: var(--white); 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    transition: var(--transition); 
    z-index: 999;
  }
  
  .nav-list.active { 
    left: 0; 
  }
  
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1, .page-header h1 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}