/* ============================================================
   YKA Teknoloji — Responsive Styles (responsive.css)
   ============================================================
   Mobile-first responsive overrides.

   Breakpoints:
   • max-width: 480px  — Küçük mobil (telefon)
   • max-width: 768px  — Mobil (tüm telefonlar)
   • min-width: 640px  — Küçük tablet (2-sütun grid'ler başlar)
   • min-width: 1024px — Masaüstü (tam çok sütunlu düzen)
   • prefers-reduced-motion — Erişilebilirlik
   ============================================================ */


/* ==========================================================
   MOBİL  (max-width: 768px)
   ========================================================== */
@media (max-width: 768px) {

  /* ── Genel ── */
  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 16px;
  }

  .container--narrow,
  .container--wide {
    padding: 0 16px;
  }

  /* Section header boşlukları */
  .section-header {
    margin-bottom: 36px;
  }

  /* ── Navbar ── */
  .nav-links {
    display: none !important;
  }

  #hamburger,
  .hamburger {
    display: flex !important;
  }

  .navbar-inner {
    padding: 0 16px;
    height: 64px;
  }

  /* ── Ağır animasyonlar kapat ── */
  .ghost-plate {
    animation: none !important;
    opacity: 0 !important;
  }

  .scan-line {
    animation: none !important;
    opacity: 0 !important;
  }

  .popular-glow::before {
    animation: none !important;
    display: none;
  }

  .plate-blink {
    animation: none !important;
  }

  /* 3D tilt — mobilde kapalı */
  .card,
  .card-why,
  .card-trust {
    transform: none !important;
  }

  /* ── HERO ── */
  .hero {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-content {
    padding: 20px 0 8px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    letter-spacing: -0.025em;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero badge ortalama */
  .hero-badge {
    justify-content: center;
  }

  /* Hero aksiyonlar */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* Hero istatistikler */
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat-value {
    font-size: 1.35rem;
  }

  /* Dekoratif daireler gizle */
  .hero-decorative-circle {
    display: none;
  }

  .hero-dashboard {
    display: none;
  }

  /* ── Demo / Nasıl Çalışır ── */
  .demo-grid {
    grid-template-columns: 1fr !important;
  }

  .demo-mockup {
    display: none;
  }

  /* ── Feature Cards ── */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card-feature {
    padding: 20px 16px;
  }

  /* ── Why Cards ── */
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .card-why {
    padding: 20px 16px;
  }

  .card-why-title {
    font-size: 1rem;
  }

  /* ── Trust / Güven ── */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .card-trust {
    padding: 20px 16px;
  }

  .trust-stats {
    flex-wrap: wrap;
    gap: 0;
    margin-top: 24px;
  }

  .trust-stat {
    min-width: 50%;
    padding: 14px 8px;
  }

  .trust-stat-divider {
    display: none;
  }

  .trust-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
    gap: 16px;
  }

  /* ── Pricing ── */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-pricing {
    /* Popular card üst sırada göster */
  }

  .card-pricing.is-popular {
    order: -1;
  }

  .pricing-toggle {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* ── Karşılaştırma Tablosu — yatay kaydırma ── */
  .compare-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Kullanıcıya kaydırılabilir olduğunu hissettir */
    border-radius: 12px;
  }

  .compare-table {
    min-width: 560px; /* minimum genişlik — scroll zorlar */
    font-size: 0.8rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 11px 12px;
    font-size: 0.78rem;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    min-width: 140px;
    padding-left: 14px;
  }

  .compare-table .th-name {
    font-size: 0.82rem;
  }

  .compare-table .th-sub {
    font-size: 0.65rem;
  }

  /* Kaydırma ipucu metni */
  .compare-wrapper::after {
    content: 'Yatay kaydırın →';
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    padding: 8px 0 4px;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
  }

  /* ── About ── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-image-wrap {
    display: none;
  }

  /* ── CTA / Form ── */
  .cta-info {
    display: none !important;
  }

  .cta-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .form-card {
    padding: 20px 16px;
  }

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

  .form-full {
    grid-column: span 1;
  }

  .cta-blob {
    display: none; /* Performans için blob'ları gizle */
  }

  /* ── Mobile contact links ── */
  .mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* ── FAQ ── */
  .faq-wrapper {
    max-width: 100%;
  }

  .faq-btn {
    padding: 16px 0;
  }

  .faq-question {
    font-size: 0.9rem;
  }

  /* ── Section badges ── */
  .section-badge {
    font-size: 0.68rem;
    padding: 4px 12px;
  }

  /* ── Footer ── */
  .footer-inner {
    gap: 20px;
    text-align: center;
  }

  .footer-info {
    flex-direction: column;
    gap: 10px;
  }

  .footer-info-sep {
    display: none;
  }

  /* ── Pricing info notu ── */
  .pricing-info-note {
    font-size: 0.8rem;
    padding: 0 8px;
    text-align: center;
  }

  /* ── Section başlık boyutu ── */
  .section-title {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
  }

  /* ── CTA section başlığı ── */
  .section-header--light .section-title,
  .cta-section .section-title--light {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  /* ── KVKK Banner ── */
  #kvkk-banner {
    flex-direction: column;
    padding: 14px 16px;
    gap: 10px;
  }

  .kvkk-actions {
    width: 100%;
  }

  .kvkk-accept {
    flex: 1;
    text-align: center;
  }

  /* ── Body overflow fix ── */
  body {
    overflow-x: hidden;
  }

  /* ── CTA dekoratif elemanlar ── */
  .cta-circle,
  .cta-blob {
    display: none;
  }
}


/* ==========================================================
   KÜÇÜK MOBİL  (max-width: 480px)
   Tek sütun, çok kompakt
   ========================================================== */
@media (max-width: 480px) {

  .hero-title {
    font-size: 1.6rem;
    letter-spacing: -0.02em;
  }

  /* Why ve Trust kartlar tek sütuna düş */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* About stat'lar tek sütun */
  .about-stats-grid {
    grid-template-columns: 1fr 1fr; /* 480'de hâlâ 2 sütun, 360'ta break */
    gap: 8px;
  }

  .card-why,
  .card-trust {
    padding: 16px 14px;
  }

  .card-why-icon,
  .card-trust-icon {
    width: 38px;
    height: 38px;
  }

  /* Hero istatistikleri dar ekranda daha kompakt */
  .hero-stats {
    gap: 12px;
  }

  .hero-stat-value {
    font-size: 1.2rem;
  }

  .btn-submit {
    font-size: 0.875rem;
    padding: 13px 16px;
  }

  /* Form daha sıkışık */
  .form-card {
    padding: 16px 12px;
    border-radius: 12px;
  }

  /* Section padding azalt */
  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: clamp(1.3rem, 7vw, 1.65rem);
  }

  /* Pricing card footer buton */
  .card-pricing .btn {
    padding: 11px 16px;
    font-size: 0.82rem;
  }

  /* Tablo daha dar ekran için */
  .compare-table {
    min-width: 480px;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.83rem;
  }
}

/* ==========================================================
   ÇOK KÜÇÜK MOBİL  (max-width: 360px)
   Eski / küçük telefonlar için ek ayarlar
   ========================================================== */
@media (max-width: 360px) {

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

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

  .hero-badge-text {
    font-size: 0.65rem;
  }

  .section-badge {
    font-size: 0.62rem;
    padding: 3px 10px;
  }

  .form-card {
    padding: 14px 10px;
  }
}



/* ==========================================================
   KÜÇÜK TABLET  (min-width: 640px)
   2 sütunlu grid'ler başlar
   ========================================================== */
@media (min-width: 640px) {

  /* Hero aksiyonlar yan yana */
  .hero-actions {
    flex-direction: row;
  }

  /* Feature kartlar 2 sütun */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why kartlar 2 sütun */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing 2 sütun */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Form grid 2 sütun */
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-full {
    grid-column: span 2;
  }

  /* Footer info yatay */
  .footer-info {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Mobile contacts yatay */
  .mobile-contacts {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* ==========================================================
   MASAÜSTÜ  (min-width: 1024px)
   Tam çok sütunlu düzen
   ========================================================== */
@media (min-width: 1024px) {

  /* Desktop nav göster */
  .nav-links {
    display: flex;
  }

  /* Hamburger gizle */
  #hamburger,
  .hamburger {
    display: none !important;
  }

  /* Hero 2 sütun */
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero dashboard göster */
  .hero-dashboard {
    display: flex;
  }

  /* Feature kartlar 3 sütun */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Why kartlar 4 sütun */
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Pricing 4 sütun */
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* About 2 sütun */
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA sidebar + form */
  .cta-grid {
    grid-template-columns: 2fr 3fr;
  }

  /* CTA info paneli göster */
  .cta-info {
    display: block;
  }

  /* Mobile contacts gizle */
  .mobile-contacts {
    display: none;
  }

  /* Footer yatay */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Trust 3 sütun */
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Daha geniş container padding */
  .container {
    padding: 0 32px;
  }

  .navbar-inner {
    padding: 0 32px;
  }

  /* Karşılaştırma tablosu tam genişlik */
  .compare-wrapper::after {
    display: none; /* Kaydırma ipucunu gizle */
  }

  .compare-table {
    min-width: unset;
    font-size: 0.85rem;
  }

  /* About görsel göster */
  .about-image-wrap {
    display: block;
  }
}


/* ==========================================================
   ERİŞİLEBİLİRLİK — Azaltılmış Hareket
   ========================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ghost-plate,
  .scan-line,
  .plate-blink,
  .popular-glow,
  .popular-glow::before,
  .animate-pulse,
  .wa-btn,
  .hero-decorative-circle {
    animation: none !important;
  }

  #scroll-progress {
    transition: none !important;
  }
}
