/* ============================================
   🍎 Responsive — Premium Breakpoints
   ============================================ */

/* ══════════════════════════════════════════════
   TABLET (max-width: 1024px)
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* nav-links, nav-cta, hamburger handled by mobile-menu.css */

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .about-image-wrapper {
    justify-content: center;
  }

  .about-details {
    justify-content: center;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .project-card.featured {
    grid-column: span 1;
  }

  .project-card.featured .project-image {
    height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-float {
    display: none;
  }

  .testimonial-card {
    min-width: 320px;
    max-width: 320px;
  }
}

/* ══════════════════════════════════════════════
   MOBILE (max-width: 768px)
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-overlay {
    opacity: 1;
  }

  .timeline {
    padding-left: var(--space-xl);
  }

  .timeline-dot {
    left: calc(-1 * var(--space-xl) + 4px);
    width: 14px;
    height: 14px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-header {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .timeline-card {
    padding: var(--space-md);
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .stat-card {
    padding: var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
    padding: var(--space-md);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .footer-left {
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════
   SMALL MOBILE (max-width: 480px)
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-content {
    padding: var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-image {
    width: 180px;
    height: 180px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-details {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .skill-card {
    padding: var(--space-sm) var(--space-md);
  }

  .testimonial-card {
    min-width: 240px;
    max-width: 240px;
  }

  .testimonials-nav .btn-icon {
    display: none;
  }

  .projects-filter {
    gap: 4px;
  }

  .filter-btn {
    padding: 4px var(--space-sm);
    font-size: var(--fs-caption);
  }

  .contact-socials {
    flex-wrap: wrap;
    justify-content: center;
  }

  .back-to-top {
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

/* ══════════════════════════════════════════════
   LARGE SCREENS (min-width: 1440px)
   ══════════════════════════════════════════════ */
@media (min-width: 1440px) {
  :root {
    --container-max: 1200px;
  }
}

/* ══════════════════════════════════════════════
   TOUCH DEVICES
   ══════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }

  .project-overlay {
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero-orb {
    animation: none;
  }

  .hero-float {
    animation: none;
  }

  .scroll-indicator {
    animation: none;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-content > * {
    animation: none;
    opacity: 1;
  }

  .animated-gradient-text {
    animation: none;
  }

  .gradient-animated {
    animation: none;
  }

  .status-dot {
    animation: none;
  }
}
