/* ==========================================================================
   Jaipur Packaging - Responsive Breakpoints & Mobile Stylesheet
   ========================================================================== */

/* Tablet & Smaller Desktops (< 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-badges {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
  }
  .about-grid,
  .custom-spec-grid,
  .quote-box-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Mobile & Small Tablets (< 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  body {
    padding-bottom: 60px; /* Space for fixed mobile bottom CTA bar */
  }

  .top-bar {
    display: none; /* Hide top bar on mobile for fast, clean view */
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-page-alt);
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
  }

  .header-actions .btn {
    display: none; /* In header, quote button is moved to mobile sticky bar */
  }

  .brand-intro-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }
  .brand-intro-badge {
    min-width: unset;
  }

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

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

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

  .quote-box-grid {
    padding: 1.75rem 1.25rem;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-dim-row {
    grid-template-columns: 1fr;
  }
  .form-submit-row {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mobile-sticky-bar {
    display: block;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-badges {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

/* Small Screens (< 480px) */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .spec-points-grid {
    grid-template-columns: 1fr;
  }
}
