/* ===================================================================
   Ember House BBQ — responsive.css
   Breakpoints: 1200 / 992 / 768 / 576
   =================================================================== */

/* ---------- Large desktop tweak ---------- */
@media (max-width: 1200px) {
  .container { padding: 0 20px; }

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

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 82%);
    height: 100vh;
    background: var(--color-dark-2);
    flex-direction: column;
    padding: 100px 34px 40px;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.35);
  }

  .main-nav.is-open { right: 0; }

  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; width: 100%; }
  .main-nav a { font-size: 0.92rem; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-overlay.is-open { opacity: 1; visibility: visible; }

  .header-actions .btn-primary.btn-sm.desktop-only { display: none; }

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

  .about .container,
  .story .container,
  .reserve-band .container,
  .contact-main.container,
  .dish-detail .container,
  .featured .container {
    grid-template-columns: 1fr;
  }

  .about-media { max-width: 460px; margin: 0 auto 60px; }
  .story-media { max-width: 460px; margin: 0 auto 20px; }
  .featured-media { max-width: 500px; margin: 0 auto 50px; }

  .reserve-band { background-attachment: scroll; }
  .editorial { background-attachment: scroll; }

  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; }
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .technique-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
}

/* ---------- Small tablet / large phone ---------- */
@media (max-width: 768px) {
  section, .about, .dishes, .categories, .testimonials, .team, .story,
  .menu-page, .dish-detail, .gallery, .contact-page, .contact-main,
  .technique, .featured {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .page-header { padding: 160px 0 70px; }

  .hero { min-height: 92vh; }
  .hero-title { font-size: 2.5rem; }
  .hero-text { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-buttons .btn { width: 100%; }
  .hero-scroll-icon { display: none; }

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

  .about-features { grid-template-columns: 1fr 1fr; }
  .about-badge { left: 10px; bottom: 20px; padding: 16px 18px; }
  .about-media-float { width: 60%; bottom: -24px; right: -14px; }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .dish-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .dish-body { padding: 16px; }

  .reserve-form { padding: 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .menu-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .technique-grid { grid-template-columns: 1fr; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .dish-meta { flex-wrap: wrap; gap: 18px; }

  .lightbox img { max-width: 90vw; max-height: 70vh; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; }

  .featured-price-tag { width: 78px; height: 78px; right: 10px; top: 10px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 576px) {
  .container { padding: 0 18px; }

  .logo { font-size: 1.25rem; }

  .hero-content { padding-top: 40px; }
  .hero-title { font-size: 2rem; }
  .hero-tag { font-size: 0.68rem; }

  .section-tag { font-size: 0.7rem; letter-spacing: 2px; }
  .section-title { font-size: 1.55rem; }
  .section-head { margin-bottom: 40px; }

  .about-features { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .category-img { width: 74px; height: 74px; }

  .dish-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gallery-item.wide { grid-column: span 1; }

  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat-item strong { font-size: 2.1rem; }

  .reserve-form { padding: 22px; }

  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom-links { flex-direction: row; gap: 16px; flex-wrap: wrap; justify-content: center; }

  .back-to-top { width: 40px; height: 40px; bottom: 20px; right: 20px; }

  .dish-detail-body h1 { font-size: 1.7rem; }
  .featured-body h2 { font-size: 1.8rem; }

  .breadcrumbs { flex-wrap: wrap; }
}
