/* ========================================
   Nora Klima — Responsive Styles
   Mobil, Tablet, Masaüstü
   ======================================== */

/* ---------- Large Desktop (1200px+) ---------- */
/* Default styles already cover this */

/* ---------- Tablet Landscape / Small Desktop ---------- */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--card-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }

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

  .about-image {
    aspect-ratio: 16 / 10;
    max-height: 400px;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-nav.prev {
    left: 12px;
  }

  .hero-nav.next {
    right: 12px;
  }
}

/* ---------- Tablet Portrait ---------- */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --header-height-scrolled: 60px;
  }

  .section {
    padding: 70px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

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

  .advantages-list {
    grid-template-columns: 1fr;
  }

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

  .review-card {
    width: 300px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box input {
    width: 100%;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions .btn {
    width: 100%;
  }

  .tab-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    padding: 12px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .page-banner {
    padding: 130px 0 60px;
  }

  .contact-form {
    padding: 28px;
  }

  .floating-btns {
    bottom: 20px;
    right: 16px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .back-to-top {
    bottom: 20px;
    left: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-dots {
    bottom: 24px;
  }

  .counters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .counter-item .number {
    font-size: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 28px;
  }

  .gallery-thumbs img {
    width: 64px;
    height: 64px;
  }

  .cta-section {
    padding: 60px 0;
  }

  .map-container {
    height: 280px;
  }

  .blog-detail .content {
    font-size: 1rem;
  }

  .filter-btns {
    justify-content: center;
  }
}

/* ---------- Very Small Mobile ---------- */
@media (max-width: 380px) {
  .logo-text {
    font-size: 1.1rem;
  }

  .counters-grid {
    gap: 20px;
  }

  .hero-nav {
    display: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .header,
  .floating-btns,
  .back-to-top,
  #preloader,
  #scroll-progress {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
