/**
 * Responsive Design - All breakpoints
 */

/* Navigation mobile */
@media only screen and (max-width: 795px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 4.5rem;
    z-index: var(--z-header);
    flex-direction: column;
    background-color: var(--surface);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    gap: 0;
  }
  .nav-menu.active { left: 0; }
  .nav-item { margin: 0; }
  .hamburger { display: block; }
  .navbar { padding: 1rem 1.5rem; }
}

/* Sections spacing on mobile */
@media (max-width: 768px) {
  .section { padding: 5rem 5%; }
  .section--compact { padding: 3rem 5%; }
  .section__header { margin-bottom: 2.5rem; }
}

/* Gallery responsive */
@media (max-width: 800px) {
  #c2_1 section {
    grid-template-columns: repeat(2, 1fr);
    padding: 2px;
  }
  #c2_1 .img:nth-of-type(7) { display: none; }
}

/* Small screens */
@media (max-width: 500px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  .hero__title { font-size: 2rem; }
  .hero__sub { font-size: 0.95rem; }
  .section__title { font-size: 1.8rem; }
  #c2_1 h1 { font-size: 2rem; }
}
