/**
 * ====================================================================
 * DIYAR - DUYARLI TASARIM STİLLERİ (RESPONSIVE.CSS)
 * Mobil Cihazlar, Tabletler ve Ekran Uyumluluğu
 * ====================================================================
 */

/* ====================================================================
   Tablet ve Küçük Ekranlar (1024px ve altı)
   ==================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

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

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

  .hero-typing-wrap {
    justify-content: center;
  }

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

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

/* ====================================================================
   Mobil Cihazlar (768px ve altı)
   ==================================================================== */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  /* Mobil Navigasyon Menüsü */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(7, 14, 34, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gold-border);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 0.8rem 0;
  }

  .nav-actions .btn {
    display: none;
  }

  /* Hero Avatar */
  .hero-avatar-wrapper {
    width: 260px;
    height: 260px;
  }

  .hero-floating-badge.badge-1 {
    right: -10px;
    top: 5px;
  }

  .hero-floating-badge.badge-2 {
    left: -10px;
    bottom: 5px;
  }

  /* Gridleri Tek Sütun Yap */
  .skills-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Modal */
  .modal-container {
    max-height: 94vh;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .article-hero-img {
    max-height: 200px;
  }

  .article-content {
    font-size: 0.98rem;
  }
}

/* ====================================================================
   Küçük Telefonlar (480px ve altı)
   ==================================================================== */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-avatar-wrapper {
    width: 220px;
    height: 220px;
  }

  .hero-floating-badge {
    padding: 0.5rem 0.8rem;
  }

  .badge-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .badge-title {
    font-size: 0.72rem;
  }

  .badge-sub {
    font-size: 0.65rem;
  }

  .about-card, .contact-card, .contact-form-wrap {
    padding: 1.5rem;
  }
}
