﻿/* YakinindaAI - css\responsive.css */
/* ═══════════════════════════════════════════
   📱 RESPONSIVE — Mobil / Tablet / Desktop
   ═══════════════════════════════════════════ */

/* ─── TABLET (≤ 968px) ─── */
@media (max-width: 968px) {
  .nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .header-actions .btn-ghost {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  
  .filters-bar {
    flex-wrap: wrap;
  }
  
  .search-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  
  .business-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* ─── MOBİL (≤ 640px) ─── */
@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }
  
  .container {
    padding: 0 var(--space-lg);
  }
  
  .header-inner {
    gap: var(--space-md);
  }
  
  .logo-text {
    font-size: 17px;
  }
  
  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  
  /* Hero */
  .hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }
  
  .hero-title {
    font-size: 30px;
    letter-spacing: -0.8px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .hero-stats {
    gap: var(--space-xl);
  }
  
  .hero-stat-value {
    font-size: 24px;
  }
  
  .hero-stat-label {
    font-size: 11px;
  }
  
  /* AI arama */
  .ai-search-box {
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
  }
  
  .ai-search-icon {
    display: none;
  }
  
  .ai-search-input {
    width: 100%;
    padding: var(--space-sm);
    text-align: center;
  }
  
  .ai-search-btn {
    width: 100%;
  }
  
  /* Filtre çubuğu */
  .filters-bar {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
  }
  
  .filter-btn {
    width: 100%;
    justify-content: space-between;
  }
  
  .search-btn {
    width: 100%;
    justify-content: center;
  }
  
  /* İşletme grid */
  .business-grid {
    grid-template-columns: 1fr;
  }
  
  .business-card-image {
    height: 200px;
  }
  
  /* Kategori grid */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Footer */
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  /* Section header */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* Kart body */
  .business-card-body {
    padding: var(--space-md);
  }
  
  /* Hero stats */
  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
}

/* ─── ÇOK KÜÇÜK (≤ 380px) ─── */
@media (max-width: 380px) {
  .hero-title {
    font-size: 26px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── BÜYÜK EKRAN (≥ 1400px) ─── */
@media (min-width: 1400px) {
  :root {
    --max-width: 1400px;
  }
  
  .business-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─── PRINT ─── */
@media print {
  .header,
  .footer,
  .ai-search-box,
  .filters-bar,
  .favorite-btn,
  .search-btn {
    display: none !important;
  }
  
  .main-content {
    padding-top: 0;
  }
  
  body {
    background: white;
    color: black;
  }
}