@media (min-width: 600px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  .section-title {
    text-align: center;
  }
  .hero-card {
    max-width: 600px;
    padding: 2rem;
  }
  .profile-img {
    width: 140px;
    height: 140px;
  }
  .header-container {
    padding: 0 1.5rem;
  }
  .theme-menu {
    right: 1.5rem;
  }
  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
  }
  .footer-section {
    flex: 1 1 40%;
    min-width: 150px;
  }
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 700px) {
  .header-nav {
        display: flex;
        align-items: center;
        flex-grow: 0;
    }
    .header-nav ul {
        list-style: none;
        display: flex;
        padding: 0 0 0 60px;
        margin: 0;
        gap: 5px;
    }
    .header-nav a {
        color: var(--nav-a);
        text-decoration: none;
        opacity: 0.9;
        font-size: 1rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        position: relative;
        transition: background 0.2s ease, color 0.2s ease;
    }
    .header-nav a:hover {
        background: var(--nav-a-bg);
        color: var(--text);
    }
    .header-nav a.active {
        background-color: var(--nav-a-active-bg);
        color: var(--text);
    }
    .menu-toggle {
        display: none;
    }
    .fullscreen-menu {
        display: none;
    }
}

@media (min-width: 768px) {
    .projects-grid .featured-project-card .card-header-row {
        padding-bottom: 1rem;
    }
    .featured-screenshot-container {
        margin-top: 2rem;
    }
    .featured-screenshot-container .screenshot {
        min-width: 250px;
        width: 30%;
    }
    .header-container {
      padding: 0 2rem;
    }
}

@media (min-width: 900px) {
  .hero-card {
    max-width: 700px;
    padding: 2.5rem;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
  }
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer {
    padding: 2rem 2.5rem;
    font-size: 0.9rem;
  }
  .footer-container {
    gap: 2rem;
    justify-content: flex-start;
  }
  .footer-section {
    flex: 1 1 200px;
    min-width: 200px;
  }
  .search-input-full {
    padding: 1rem 3.5rem 1rem 1.5rem;
    font-size: 1.2rem;
  }
  .theme-menu {
    right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 2.5rem 3rem;
    font-size: 0.9rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 2rem;
    gap: 4rem;
    flex-direction: row;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    flex-basis: 35%;
    flex-shrink: 0;
  }
  .footer-container {
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin: 0;
    flex-basis: 65%;
    gap: 4rem;
    border-left: none;
    padding-left: 0;
    flex-direction: row;
  }
  .footer-section {
    flex: 0 1 auto;
    min-width: 150px;
  }
  .footer-section li {
  margin-bottom: 0.5rem;
  }
  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .footer a {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

@media (min-width: 1200px) {
  .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
  }
  .hero-card {
    max-width: 800px;
  }
  .featured-project-card {
    max-width: 1000px;
    padding: 2rem;
  }
  .footer {
    padding: 3rem;
  }
  .footer-content-wrapper {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1400px) {
  .content {
    max-width: 1400px;
  }
  .footer {
    font-size: 0.9rem;
  }
  .footer-top {
    max-width: 1200px;
  }
  .footer-title {
    font-size: 1rem;
  }
  .footer-description {
    font-size: 0.8rem;
  }
  .footer-container {
    max-width: 1200px;
  }
  .footer-section h3 {
    font-size: 0.9rem;
  }
}

@media (min-width: 2000px) {
 .footer {
    font-size: 0.7rem;
  }
  .footer-top {
    max-width: 1200px;
  }
  .footer-title {
    font-size: 1rem;
  }
  .footer-description {
    font-size: 0.8rem;
  }
  .footer-container {
    max-width: 1200px;
  }
  .footer-section h3 {
    font-size: 0.9rem;
  }
}
