/* ==========================================================================
   Responsive Styles for Pringo Mart
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .mega-menu {
    width: 100%;
    left: 0;
    transform: translateY(20px);
  }
  
  .nav-item.dropdown:hover .mega-menu {
    transform: translateY(0);
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  /* Typography */
  .section-title {
    font-size: 2rem;
  }

  /* Header & Nav */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-surface);
    flex-direction: column;
    padding: 2rem;
    transition: left var(--transition-normal);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }
  
  .search-bar {
    display: none; /* Hide on mobile or implement a toggle */
  }
  
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    grid-template-columns: 1fr;
    padding: 1rem 0;
    display: none;
  }
  
  .nav-item.dropdown.active .mega-menu {
    display: grid;
  }

  /* Hero */
  .hero {
    padding: 8rem 2rem 4rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content p {
    margin: 0 auto 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visuals {
    height: 400px;
    margin-top: 2rem;
  }

  /* Grid Layouts */
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .tool-interface {
    padding: 1.5rem;
  }
  
  .upload-area {
    padding: 2rem 1rem;
  }
}
