/* 
 * Chance4Connect - Responsive Adjustments
 */

@media (max-width: 1200px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
}

@media (max-width: 992px) {
  .section {
    padding: var(--space-md) 0;
  }
  
  h1 { font-size: 2.5rem; }
  
  .nav-links, .nav-actions {
    display: none; /* Hide on mobile, handled by JS menu */
  }
  
  .hamburger {
    display: block;
  }
  
  /* Mobile Menu Styles */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--c-navy-dark);
    padding: var(--space-xl) var(--space-md);
    transition: right var(--transition-normal);
    z-index: 1001;
    border-left: 1px solid rgba(255,255,255,0.1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  
  .mobile-menu.active {
    right: 0;
  }
  
  .mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .mobile-menu .nav-link {
    font-size: 1.2rem;
  }
  
  .mobile-menu-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--c-white);
    font-size: 2rem;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-md) 0 !important;
  }
  
  /* Enforce smaller headings on mobile */
  h1, .hero h1, .med-hero h1, .page-hero h1 { 
    font-size: 2.2rem !important; 
    line-height: 1.2 !important;
  }
  h2 { font-size: 1.8rem !important; }
  h3 { font-size: 1.4rem !important; }
  
  .hero p, .page-hero p, .med-hero p {
    font-size: 1rem !important;
  }

  /* Force 1-column grids on mobile */
  .footer-grid, .contact-grid, .about-grid, .networking-grid, .featured-grid, .stats-grid {
    grid-template-columns: 1fr !important;
  }
  
  .footer-bottom { 
    justify-content: center !important; 
    text-align: center !important; 
    flex-direction: column;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1, .hero h1, .med-hero h1, .page-hero h1 { font-size: 1.8rem !important; }
  
  .btn {
    width: 100%;
    margin-bottom: var(--space-xs);
  }
  
  .hero, .med-hero, .page-hero {
    padding-top: 100px !important;
    padding-bottom: var(--space-lg) !important;
  }
}

