/* ===== RESPONSIVE DESIGN ===== */

/* Large devices (desktops, 1200px and up) */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-content {
    gap: 3rem;
  }
}

/* Medium devices (tablets, 992px and up) */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  :root {
    --h1-font-size: 3rem;
    --h2-font-size: 2.25rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Small devices (landscape phones, 768px and up) */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-bg);
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  :root {
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Extra small devices (portrait phones, 576px and down) */
@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  :root {
    --h1-font-size: 2rem;
    --h2-font-size: 1.75rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
