/* ============================================================
   SmartTools Hub — responsive.css
   ============================================================ */

/* ---------- Large desktops ---------- */
@media (min-width: 1400px) {
  .container { max-width: 1280px; }
}

/* ---------- Tablets ---------- */
@media (max-width: 991.98px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }

  .navbar-glass .nav-link {
    margin: 2px 0;
  }
  .navbar-glass .navbar-collapse {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 12px;
    margin-top: 10px;
    border: 1px solid var(--border);
  }
  .navbar-glass .theme-toggle { margin-left: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .section { padding: 44px 0; }
  .hero { padding: 44px 0 30px; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1.05rem; margin-left: auto; margin-right: auto; }
  .search-wrap { margin: 0 auto; }
  .section-title { font-size: 1.55rem; }

  .tool-card { padding: 18px; }
  .tool-panel { padding: 18px; }

  .stat-card .stat-num { font-size: 1.9rem; }

  .toast-container { left: 12px; right: 12px; top: 76px; }
  .note-toast { min-width: 0; }

  .calendar-grid .day { font-size: 0.85rem; }

  .hero-actions { justify-content: center; }
}

/* ---------- Small mobile ---------- */
@media (max-width: 380px) {
  .search-wrap .form-control { padding-right: 70px; font-size: 0.95rem; }
  .search-wrap .search-go { padding: 0 14px; }
  .hero h1 { font-size: 1.7rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .navbar-glass, footer.site-footer, .theme-toggle, #pageLoader { display: none !important; }
  body { background: #fff; color: #000; }
  .glass { box-shadow: none; border: 1px solid #ccc; background: #fff !important; }
}
