/* ═══════════════════════════════════════════════════════
   Studio TM – responsive.css
   ═══════════════════════════════════════════════════════ */

/* ── LG (992px–1199px) ──────────────────────────────── */
@media (max-width: 1199px) {
  .stm-hero-h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
}

/* ── MD (768px–991px) ───────────────────────────────── */
@media (max-width: 991px) {
  .stm-section { padding: 3.5rem 0; }

  /* Nav collapse */
  .stm-nav .navbar-collapse {
    background: rgba(0,0,0,0.97);
    border-top: 1px solid rgba(255,255,0,0.1);
    padding: 0 0 1rem;
    margin-top: 0;
  }
  .stm-nav .nav-link {
    padding: 0.7rem 1.25rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.88rem !important;
  }
  .stm-nav .navbar-nav .nav-item:last-child .nav-link { border-bottom: none; }
  .stm-nav .d-flex.align-items-center { padding: 0.75rem 1.25rem 0.25rem; }
  .stm-nav .navbar-toggler-icon { filter: brightness(0) invert(1); opacity: 0.9; }
  .stm-nav .navbar-toggler:focus { box-shadow: none; }

  /* Process: mindig középre */
  .stm-process-step { text-align: center !important; }
  .stm-step-circle  { margin-left: auto !important; margin-right: auto !important; }
  .stm-process-line { display: none; }

  /* Hero slider: nem kell mobilon */
  .stm-hero-slider { display: none !important; }

  /* Testimonials carousel: közelebb prev/next */
  .stm-carousel-prev { left: -10px !important; }
  .stm-carousel-next { right: -10px !important; }

  /* Lightbox nav */
  .stm-lb-prev { left: -40px; }
  .stm-lb-next { right: -40px; }
}

/* ── SM (576px–767px) ───────────────────────────────── */
@media (max-width: 767px) {
  .stm-section { padding: 3rem 0; }
  .stm-section-title { font-size: clamp(1.6rem, 5vw, 2.2rem) !important; }

  /* Hero */
  .stm-hero { padding-top: 64px; }
  .stm-hero-h1 { font-size: clamp(2.2rem, 7vw, 3rem); }
  .stm-hero-desc { font-size: 0.9rem; max-width: 100%; }
  .stm-hero .d-flex.flex-wrap { flex-direction: column; }
  .stm-hero .btn { text-align: center; width: 100%; max-width: 320px; }
  .stm-hero-stats { gap: 0.75rem; }
  .stm-stat-num { font-size: 1.8rem; }

  /* Testimonials: 1 kártya mobilon */
  .stm-testimonials-carousel .row.g-4 > div:not(:first-child) { display: none !important; }
  .stm-testimonials-carousel .row.g-4 > div:first-child { flex: 0 0 100% !important; max-width: 100% !important; }
  .stm-carousel-prev,
  .stm-carousel-next { display: none !important; }

  /* Portfolio grid */
  .stm-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stm-portfolio-item.stm-item-first { grid-column: span 2; aspect-ratio: 2/1; }

  /* Team */
  .stm-team-card { max-width: 100%; }
  .stm-team-avatar { width: 120px; height: 120px; }

  /* WA gomb */
  .stm-wa-btn { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; }
  .stm-wa-tooltip { display: none; }

  /* Footer */
  .stm-footer-top { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .stm-footer-social-wrap { flex-direction: row !important; justify-content: flex-start; }

  /* Lightbox nav */
  .stm-lb-prev { left: -30px; }
  .stm-lb-next { right: -30px; }
}

/* ── XS (<576px) ────────────────────────────────────── */
@media (max-width: 575px) {
  .stm-section { padding: 2.5rem 0; }
  .container-xl { padding-left: 1rem !important; padding-right: 1rem !important; }

  /* Portfolio: 1 oszlop */
  .stm-portfolio-grid { grid-template-columns: 1fr; }
  .stm-portfolio-item.stm-item-first { grid-column: span 1; aspect-ratio: 16/9; }
  .stm-portfolio-item { aspect-ratio: 16/9; }

  /* Filter gombok kisebb */
  .stm-filter-btn,
  .stm-sub-filter-btn { font-size: 0.68rem; padding: 0.3rem 0.65rem; }

  /* Social ikonok a footerben: 2x nagyobb */
  .stm-footer-social-wrap .stm-social-btn {
    width: 52px !important;
    height: 52px !important;
  }
  .stm-footer-social-wrap .stm-social-btn svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* Newsletter footer: teljes szélesség */
  .stm-nl-fw-row {
    flex-direction: column !important;
    max-width: 100% !important;
  }
  .stm-nl-fw-input { width: 100% !important; font-size: 1rem; padding: 0.75rem 1rem; }
  .stm-nl-fw-btn   { width: 100% !important; padding: 0.75rem; font-size: 0.82rem; }

  /* Lightbox */
  .stm-lb-prev { left: -28px; }
  .stm-lb-next { right: -28px; }
  .stm-lb-nav  { width: 30px; height: 30px; }
}

/* ── PRINT ──────────────────────────────────────────── */
@media print {
  .stm-nav, .stm-wa-btn, .stm-lightbox,
  #cookieBanner, #newsletterModal, #cookieModal { display: none !important; }
  body { background: white; color: black; }
}
