/* ==========================================================================
   ESN BELGIUM - RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* Large Tablets & Laptops */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image-card img {
    height: 360px;
  }

  .guide-cards-grid,
  .causes-grid,
  .events-grid,
  .team-grid,
  .sections-cards-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Tablets & Mobile Navigation Trigger */
@media (max-width: 1040px) {
  :root {
    --header-height: 70px;
  }

  body {
    padding-top: 70px;
  }

  .site-header {
    height: 70px;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 10;
  }

  .hero-floating-card {
    display: none;
  }
}

/* Small Tablets & Large Phones */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

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

  .guide-cards-grid,
  .causes-grid,
  .events-grid,
  .team-grid,
  .sections-cards-bento-grid {
    grid-template-columns: 1fr;
  }

  .join-banner-grid {
    grid-template-columns: 1fr;
  }

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

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

/* Small Phones (< 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

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

  .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

/* Touch-Friendly Mobile Optimization & Overflow Guard */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  a, button, input, select, textarea {
    touch-action: manipulation;
  }
}

