/* responsive.css — Tüm Medya Sorguları */

/* ===== TABLET (≤ 1024px) ===== */
@media (max-width: 1024px) {
  :root {
    --container-pad: 1.25rem;
    --space-4xl: 6rem;
    --space-3xl: 4rem;
  }

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

  .hero-photo-wrap {
    width: 340px;
    height: 420px;
  }

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

  .about-quote {
    right: calc(-1 * var(--space-md));
    max-width: 220px;
  }

  .courses-grid {
    gap: var(--space-lg);
  }

  .steps-container {
    gap: var(--space-lg);
  }

  .steps-line {
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
  }

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

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

  .footer-grid {
    gap: var(--space-2xl);
  }

  .testimonials-track .testimonial-card {
    min-width: calc(70% - var(--space-lg));
  }
}

/* ===== KÜÇÜK TABLET (≤ 768px) ===== */
@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
    --space-2xl: 2rem;
  }

  /* Navbar */
  .navbar-nav,
  .navbar-actions .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    display: none;
  }

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

  .social-proof {
    justify-content: center;
  }

  /* Stats */
  .stats-bar .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

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

  .about-quote {
    right: var(--space-lg);
    bottom: var(--space-md);
    max-width: 200px;
    font-size: var(--text-xs);
  }

  /* Kurslar */
  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Nasıl Çalışır */
  .steps-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-line {
    display: none;
  }

  /* Testimonials */
  .testimonials-track .testimonial-card {
    min-width: 100%;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Kitaplar */
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* İletişim */
  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .form-grid .form-group:last-child {
    grid-column: auto;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  /* Section header */
  .section-header h2 {
    font-size: var(--text-2xl);
  }
}

/* ===== MOBİL (≤ 480px) ===== */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
    --space-4xl: 3rem;
    --space-3xl: 2.5rem;
  }

  h1 { font-size: var(--text-3xl) !important; }
  h2 { font-size: var(--text-2xl) !important; }

  .btn { padding: 0.625rem 1.25rem; }
  .btn-lg { padding: 0.75rem 1.5rem; font-size: var(--text-base); }

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

  .stat-number {
    font-size: var(--text-3xl);
  }

  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

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

  .tab-filter {
    gap: var(--space-xs);
  }

  .tab-btn {
    font-size: var(--text-xs);
    padding: 0.375rem 0.875rem;
  }

  .hero-text h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-badge {
    left: 0;
    bottom: 40px;
  }

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

/* ===== BÜYÜK EKRAN (≥ 1400px) ===== */
@media (min-width: 1400px) {
  .hero-photo-wrap {
    width: 480px;
    height: 580px;
  }

  .books-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
