/* ==========================================================================
   MODERN PORTFOLIO - RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.25rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-role-wrapper {
    font-size: clamp(1rem, 2.8vw, 1.25rem);
    white-space: nowrap;
    overflow: hidden;
  }

  /* Navigation Mobile Drawer */
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition-normal);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    justify-content: center;
  }

  .search-input-wrapper {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Disable Custom Cursor on touch devices for performance */
  .custom-cursor, .cursor-follower {
    display: none !important;
  }
}

/* Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.15rem;
  }

  .hero-role-wrapper {
    font-size: clamp(0.8rem, 3.1vw, 0.96rem);
    white-space: nowrap;
    gap: 0.35rem;
    overflow: hidden;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    padding: 0.5rem 0.8rem;
  }

  .floating-badge.badge-top {
    top: -10px;
    right: -10px;
  }

  .floating-badge.badge-bottom {
    bottom: -10px;
    left: -10px;
  }

  .hero-card-canvas {
    max-width: 320px;
  }

  .avatar-status-tag {
    bottom: 0.85rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
  }

  .terminal-body {
    font-size: 0.82rem;
    padding: 1rem;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  
  .toast {
    width: 100%;
    box-sizing: border-box;
  }
}
