/* =========================================================
   RESPONSIVE.CSS — Mobil ve tablet uyarlamaları
   ========================================================= */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .region-links { columns: 3; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .top-bar .container { justify-content: center; text-align: center; }
  .main-nav > ul {
    display: none;
  }
  .menu-toggle {
    display: block;
    background: none; border: none;
    font-size: 1.6rem; cursor: pointer;
    color: var(--c-steel-900);
  }
  .main-nav.mobile-open > ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: 82%; max-width: 340px; height: 100%;
    background: var(--c-steel-900);
    padding: 90px 26px 26px;
    gap: 4px;
    z-index: 200;
    overflow-y: auto;
  }
  .main-nav.mobile-open > ul a { color: var(--c-white); padding: 12px 0; display: block; border-bottom: 1px solid var(--c-steel-700); }
  .main-nav.mobile-open .dropdown {
    position: static; box-shadow: none; border-top: none;
    background: var(--c-steel-800); min-width: 0; margin-top: 4px;
  }
  .main-nav.mobile-open .dropdown a { color: var(--c-steel-100); padding: 8px 14px; }
  .mobile-menu-close {
    position: fixed; top: 20px; right: calc(82% - 46px); max-width: 300px;
    z-index: 210; color: var(--c-white); font-size: 1.8rem; background: none; border: none; cursor: pointer;
    display: none;
  }
  .main-nav.mobile-open ~ .mobile-menu-close,
  body.menu-open .mobile-menu-close { display: block; }

  .hero-slide { min-height: 420px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .region-links { columns: 2; }
  .process-steps { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .region-links { columns: 1; }
  .logo { font-size: 1.2rem; }
}

/* ---------- Mobil sabit Ara / WhatsApp barı ---------- */
@media (max-width: 768px) {
  .whatsapp-float { display: none; } /* masaüstündeki tekil buton yerine alttaki bar kullanılır */

  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    box-shadow: 0 -6px 18px rgba(0,0,0,0.18);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    font-family: var(--f-display);
    text-transform: uppercase;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    color: #fff;
    animation: cta-blink 1.4s ease-in-out infinite;
  }
  .mobile-cta-bar .cta-call { background: var(--c-flame); animation-delay: 0s; }
  .mobile-cta-bar .cta-whatsapp { background: #25D366; animation-delay: 0.7s; }

  /* Barın sayfa içeriğinin/footer'ın üstüne binmemesi için */
  body { padding-bottom: 56px; }
}
