/* ─── RESPONSIVE / MEDIA QUERIES ─── */

@media (max-width: 1100px) {
  #profile {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
    gap: 3rem;
  }

  .hero-left {
    order: 2;
    max-width: 100%;
  }

  .hero-right {
    order: 1;
    width: 280px;
    height: 280px;
  }

  .section__pic-container {
    width: 240px;
    height: 240px;
  }

  .hero-left .title {
    text-align: center;
  }

  .hero-left .section__text__p1 {
    text-align: center;
  }

  .btn-container {
    justify-content: center;
  }

  #socials-container {
    justify-content: center;
  }

  .hero-badge {
    display: inline-flex;
  }

  .floating-badge {
    display: none;
  }
}

@media (max-width: 900px) {
  section {
    padding: 6rem 2rem 4rem;
  }

  #desktop-nav {
    display: none;
  }

  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(8, 12, 20, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .hamburger-menu {
    position: relative;
  }

  .about-containers {
    flex-direction: column;
    align-items: center;
  }

  .details-container {
    width: 100%;
    max-width: 300px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  footer {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
  }

  .btn-container {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 200px;
    justify-content: center;
  }

  .contact-card {
    flex-wrap: wrap;
    padding: 1.25rem;
  }

  .hero-right {
    width: 220px;
    height: 220px;
  }

  .section__pic-container {
    width: 190px;
    height: 190px;
  }
}

@media (max-width: 400px) {
  section { padding: 5rem 1rem 3rem; }
}

/* Touch devices - hide custom cursor */
@media (hover: none) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}
