/* ==========================================================================
   PUSHP AGARBATTI - RESPONSIVE STYLES & MOBILE DRAWER NAVIGATION
   Tested and optimized from 320px mobile screens to large desktop monitors.
   ========================================================================== */

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-green-deep);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Fullscreen Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at 100% 0%, #0D5C40 0%, var(--color-green-deep) 60%, var(--color-green-dark) 100%);
  z-index: 1050;
  padding: 6rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  border-left: 2px solid var(--color-gold);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-ivory);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(214, 172, 84, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.mobile-nav-links a::after {
  content: "→";
  color: var(--color-gold);
  font-size: 1.2rem;
  opacity: 0.5;
  transition: transform var(--transition-fast);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--color-gold);
  padding-left: 0.5rem;
}

.mobile-nav-links a:hover::after {
  opacity: 1;
  transform: translateX(5px);
}

.mobile-drawer-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(214, 172, 84, 0.25);
}

.mobile-drawer-contact-snippet {
  font-size: 0.88rem;
  color: var(--color-gold-light);
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   MEDIA QUERIES (Breakpoints)
   -------------------------------------------------------------------------- */

/* Large Tablets & Small Laptops (<= 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 3.2rem;
  }

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

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

  .process-timeline-horizontal {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 3rem;
  }

  .process-track-line {
    display: none;
  }

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

/* Tablets (<= 991px) */
@media (max-width: 991px) {
  .site-header {
    padding: 0 1rem;
    top: 0.75rem;
  }

  .nav-container {
    padding: 0.5rem 1.25rem;
  }

  .nav-menu,
  .nav-actions .btn-whatsapp {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero-visual-stage {
    height: 440px;
  }

  .hero-packaging-preview {
    left: 0;
    bottom: 10px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-floating-card {
    right: 15px;
    bottom: -15px;
  }

  .stats-counter-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }

  .story-showcase {
    grid-template-columns: 1fr;
  }

  .story-content {
    padding: 3rem 2rem;
  }

  .story-visual-wrap {
    min-height: 350px;
  }

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

/* Mobile Screens (<= 767px) */
@media (max-width: 767px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .process-timeline-horizontal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-step-node {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1.25rem;
    background: var(--color-ivory-card);
    border: 1px solid rgba(214, 172, 84, 0.3);
    border-radius: var(--radius-md);
    padding: 1.25rem;
  }

  .process-step-badge {
    margin: 0;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
  }

  .step-icon-svg {
    width: 24px;
    height: 24px;
  }

  .inquiry-form-card,
  .contact-info-card {
    padding: 2rem 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-whatsapp-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.85rem;
  }

  .floating-whatsapp-btn span.label-text {
    display: none;
  }
}

/* Extra Small Phones (320px - 400px) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

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