/* ============================================
   RESPONSIVE — jnune.com
   ============================================ */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --font-size-5xl: 3.5rem;
    --font-size-4xl: 2.5rem;
    --font-size-3xl: 2rem;
  }

  .skills-categories {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    gap: var(--space-2xl);
  }

  .hero-visual {
    width: 280px;
    height: 280px;
  }

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

  .profile-container {
    width: 180px;
    height: 180px;
  }

  .orbit-ring-1 {
    width: 240px;
    height: 240px;
  }

  .orbit-ring-2 {
    width: 280px;
    height: 280px;
  }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
    --font-size-2xl: 1.5rem;
    --space-5xl: 5rem;
    --space-4xl: 3rem;
  }

  .nav-links,
  .nav-actions .btn-cv {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav-overlay {
    display: block;
    pointer-events: none;
  }

  .mobile-nav-overlay.open {
    pointer-events: auto;
  }

  .btn-lang {
    font-size: var(--font-size-xs);
    padding: var(--space-xs) var(--space-sm);
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: var(--space-2xl);
  }

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

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .profile-container {
    width: 150px;
    height: 150px;
  }

  .orbit-ring-1 {
    width: 195px;
    height: 195px;
  }

  .orbit-ring-2 {
    width: 220px;
    height: 220px;
  }

  .orbit-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .skills-categories {
    grid-template-columns: 1fr;
  }

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

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

  .languages-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

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

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-dot {
    left: 8px;
    width: 16px;
    height: 16px;
  }

  .cursor-glow {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: var(--space-4xl) 0;
  }
}

/* --- Small phones (max 480px) --- */
@media (max-width: 480px) {
  :root {
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

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

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

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .project-card {
    margin: 0 -4px;
  }

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