/* =====================================================================
   AGAVE FAMILY MEXICAN RESTAURANT — RESPONSIVE STYLESHEET
   Breakpoints tested: 1440 / 1024 / 768 / 430 / 375 / 320
   ===================================================================== */

/* ---------------------------------------------------------------------
   Large desktop refinement (>1440px handled by max-width container)
   --------------------------------------------------------------------- */
@media (min-width: 1441px) {
  .container {
    max-width: 1280px;
  }
}

/* ---------------------------------------------------------------------
   1024px and below — collapse to mobile navigation, adjust grids
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

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

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

  .about-grid,
  .split-section,
  .visit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-section.reverse .split-media {
    order: 0;
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .promo-card__media {
    min-height: 220px;
  }
}

/* ---------------------------------------------------------------------
   768px and below — tablets
   --------------------------------------------------------------------- */
@media (max-width: 768px) {
  body {
    padding-bottom: 76px;
  }

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

  .floating-actions {
    display: none;
  }

  .hero {
    height: 80vh;
    min-height: 520px;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 0.5rem);
  }

  .info-strip {
    margin-top: -32px;
    padding: 1.25rem 1.25rem;
  }

  .info-strip ul {
    justify-content: flex-start;
    gap: 1rem 1.5rem;
  }

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

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

  .menu-grid,
  .event-type-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------------------------------------------------------------------
   430px and below — large phones
   --------------------------------------------------------------------- */
@media (max-width: 430px) {
  .container {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero {
    height: 82vh;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-secondary-link {
    width: 100%;
    justify-content: center;
  }

  .grid--3,
  .drinks-grid,
  .menu-grid,
  .event-type-grid {
    grid-template-columns: 1fr;
  }

  .menu-panel__heading,
  .menu-items {
    padding-inline: 1.25rem;
  }

  .menu-items li {
    gap: 0.75rem;
  }

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

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

  .promo-card__body {
    padding: 1.5rem;
  }

  .visit-details,
  .contact-card,
  .catering-form-wrap {
    padding: 1.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
  }

  .lightbox {
    padding: 1rem;
  }
}

/* ---------------------------------------------------------------------
   375px and below
   --------------------------------------------------------------------- */
@media (max-width: 375px) {
  .brand-text span {
    display: none;
  }

  .info-strip li {
    font-size: 0.85rem;
  }

  .section {
    padding: 44px 0;
  }
}

/* ---------------------------------------------------------------------
   320px — smallest supported width
   --------------------------------------------------------------------- */
@media (max-width: 320px) {
  .container {
    padding-inline: 14px;
  }

  .brand img {
    height: 44px;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.1rem;
  }

  .mobile-action-bar a {
    font-size: 0.66rem;
  }
}
