/* ============================================
   MALATYA TEMİZLİK - RESPONSIVE BREAKPOINTS
   ============================================ */

/* -- Extra Small (0 - 575px) Mobile -- */
@media (max-width: 575px) {
  :root {
    --fs-hero: 2rem;
    --fs-h1: 1.8rem;
    --fs-h2: 1.4rem;
  }

  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-2xl) 0; }

  .hero { min-height: 550px; overflow: hidden; }
  .hero-content { padding: 0 var(--space-lg); }
  .hero-content h1, .hero-content h2 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-nav { bottom: 25px; left: var(--space-lg); transform: none; }
  .hero-nav-item .nav-line { width: 35px; }
  .hero-nav-item.active .nav-line { width: 50px; }
  .hero-counter { display: none; }
  .hero-scroll { display: none; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-layout { grid-template-columns: 1fr; }
  .blog-detail-layout { grid-template-columns: 1fr; }
  .service-sidebar .sidebar-inner { position: static; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

  .nav-cta { display: none; }

  .page-header { padding: calc(var(--navbar-height) + var(--space-xl)) var(--space-md) calc(var(--space-xl) + 40px); }
  .page-header h1 { font-size: var(--fs-h2); }
  .section-header h2 { font-size: var(--fs-h3); }

  .stat-card { padding: var(--space-lg); }
  .stat-card .stat-number { font-size: 1.5rem; }

  .blog-card .card-img { height: 180px; }
  a.service-card-img .card-image { height: 180px; }

  .cta-section { padding: var(--space-2xl) 0; }
  .footer { overflow: hidden; }

  .fixed-side-buttons { left: 12px; top: auto; bottom: 20px; transform: none; }
  .fixed-btn { width: 46px; height: 46px; }
  .fixed-btn svg { width: 22px; height: 22px; }
}

/* -- Small (576px - 767px) Landscape Mobile -- */
@media (min-width: 576px) and (max-width: 767px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-layout { grid-template-columns: 1fr; }
  .blog-detail-layout { grid-template-columns: 1fr; }
  .service-sidebar .sidebar-inner { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-counter { display: none; }
  .hero-scroll { display: none; }
}

/* -- Medium (768px - 991px) Tablet -- */
@media (min-width: 768px) and (max-width: 991px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-layout { grid-template-columns: 1fr 280px; gap: var(--space-xl); }
  .blog-detail-layout { grid-template-columns: 1fr 280px; gap: var(--space-xl); }
  .hero-counter { right: 20px; }
  .hero-scroll { right: 20px; }
}

/* -- Large (992px+) Desktop -- */
@media (min-width: 992px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* -- Nav toggle -- */
@media (max-width: 991px) {
  .navbar { z-index: 9999; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 300px;
    background: #fff; flex-direction: column; padding: var(--space-4xl) var(--space-xl);
    box-shadow: var(--shadow-xl); z-index: 9999; transition: right 0.3s ease;
    gap: var(--space-xs); align-items: stretch;
  }
  .nav-menu.active, .nav-menu.open { right: 0; }
  .nav-toggle { display: flex; z-index: 10000; position: relative; }
  .nav-link { padding: var(--space-md); border-radius: var(--radius-sm); }
  .nav-link.active::after { display: none; }
  .nav-cta {
    text-align: center; justify-content: center; margin: var(--space-md) 0 0;
    display: flex !important;
  }
  .nav-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 9998;
  }
  .nav-overlay.active, .nav-overlay.open { display: block; }
}