/* Nirvana - Premium Mobile Responsive Redesign */

/* Typography Fluid Scaling */
.hero-title {
  font-size: clamp(2.2rem, 5vw + 1rem, 3.5rem);
}

.section-title {
  font-size: clamp(1.8rem, 4vw + 0.5rem, 2.75rem);
}

/* Base Mobile Adjustments */
@media (max-width: 1200px) {
  .dishes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .history-grid,
  .about-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero {
    min-height: auto;
    padding: 3rem 0;
  }
  .hero-image-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 2rem;
  }
  .features-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item.wide {
    grid-column: span 1;
  }
  .gallery-item.tall {
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    height: 75px;
  }

  .header-container {
    height: 75px;
  }

  .logo-text {
    font-size: 1.6rem;
  }

  .logo-sub {
    font-size: 0.65rem;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: var(--bg-cream);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(46, 36, 27, 0.1);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .mobile-menu-toggle {
    display: block;
    font-size: 1.35rem;
    padding: 0.5rem;
  }

  .header-actions {
    gap: 1rem;
  }

  .header-actions .btn-primary {
    display: none; /* Hide top reservation button in header on small mobile to save space, use menu/footer */
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero-image-main {
    height: 340px;
  }

  .hero-badge-float {
    position: static;
    margin-top: 1rem;
    display: inline-flex;
    width: 100%;
    padding: 1.25rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .dishes-grid,
  .menu-items-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .history-images {
    grid-template-columns: 1fr;
  }

  .history-img-2 {
    display: none;
  }

  .history-img-1 {
    height: 300px;
  }

  .about-image {
    height: 320px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .menu-filter-bar {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .menu-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1.25rem;
  }

  .menu-search-input,
  .form-control {
    font-size: 1rem !important; /* Prevents mobile Safari auto-zoom on focus */
  }

  .contact-info-card,
  .reservation-form-wrap {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .contact-info-card,
  .reservation-form-wrap {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 360px) {
  .logo-text {
    font-size: 1.45rem;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .section-title {
    font-size: 1.65rem;
  }
}
