/* ============================================
   PORTFOLIO - RESPONSIVE TASARIM
   Tablet, Mobil ve Küçük Ekran Breakpoint'leri
   ============================================ */

/* ─── Tablet (max-width: 1024px) ─── */
@media (max-width: 1024px) {
  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-image-wrapper {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin: 0 auto;
  }

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

  /* About */
  .about-container {
    grid-template-columns: 1fr;
  }

  /* Skills Orbit */
  .skills-orbit {
    width: 350px;
    height: 350px;
  }

  .orbit-ring.inner {
    width: 180px;
    height: 180px;
  }

  .orbit-ring.middle {
    width: 260px;
    height: 260px;
  }

  .orbit-ring.outer {
    width: 340px;
    height: 340px;
  }

  .orbit-center {
    width: 80px;
    height: 80px;
    font-size: 0.8rem;
  }

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

  /* Contact */
  .contact-container {
    grid-template-columns: 1fr;
  }

  /* Timeline - shift to left-aligned */
  .timeline-container::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 3rem;
    margin-right: 0;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 4rem);
  }
}

/* ─── Mobile (max-width: 768px) ─── */
@media (max-width: 768px) {
  /* Navigation - Mobile Menu */
  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--glass-border);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-name {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .hero-greeting {
    font-size: 1rem;
  }

  /* Section */
  .section-title {
    font-size: 2rem;
  }

  .section {
    padding: 60px 1rem;
  }

  /* Skills - hide orbit, show only categories */
  .skills-orbit {
    display: none;
  }

  /* About Stats */
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Editor code font smaller */
  .editor-content {
    font-size: 0.75rem;
    padding: 1rem;
  }

  /* Timeline adjustments */
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 2.5rem;
  }

  .timeline-content {
    width: calc(100% - 3.5rem);
    padding: 1.25rem;
  }
}

/* ─── Small Mobile (max-width: 480px) ─── */
@media (max-width: 480px) {
  /* Hero */
  .hero-name {
    font-size: 2rem;
  }

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

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

  .hero-image-container {
    width: 200px;
    height: 200px;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  /* About Stats - single column */
  .about-stats {
    grid-template-columns: 1fr;
  }

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

  /* Project card padding */
  .project-card {
    padding: 1.5rem;
  }

  .project-name {
    font-size: 1.25rem;
  }

  /* Section */
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Contact form */
  .form-group input,
  .form-group textarea {
    padding: 0.85rem;
    font-size: 0.9rem;
  }

  /* Nav */
  .nav-container {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.25rem;
  }

  /* Footer */
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-links {
    gap: 1rem;
  }
}
