/* ==========================================================================
   ECOMEXPRES LTD - Responsive Stylesheet
   Media Queries for Desktop, Laptop, Tablet & Mobile Devices
   ========================================================================== */

/* --- Large Laptops & Desktops (max-width: 1200px) --- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
  .footer-grid > div:nth-child(4) {
    display: none;
  }
}

/* --- Tablets & Small Laptops (max-width: 992px) --- */
@media (max-width: 992px) {
  :root {
    --header-height: 72px;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile Navigation Drawer */
  .mobile-nav-drawer {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl);
  }

  .mobile-nav-drawer.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-bg-alt);
  }

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

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

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

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

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

  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }

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

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

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0;
  }

  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 3rem;
  }

  .timeline-dot {
    left: 10px;
    right: auto;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
  }
}

/* --- Mobile Phones (max-width: 640px) --- */
@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3.5rem;
  }

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

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

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

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    padding: 3rem 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

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

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

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

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
