/**
 * Accessibility, contrast, and mobile improvements — Shorts Top Burgers
 */

/* Prevent horizontal scroll & improve text rendering on mobile */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

/* ---- Color contrast (WCAG AA on dark orange/brown gradient) ---- */
.text-white\/40 {
  color: rgba(255, 255, 255, 0.82) !important;
}

.text-white\/50 {
  color: rgba(255, 255, 255, 0.85) !important;
}

.text-white\/60 {
  color: rgba(255, 255, 255, 0.88) !important;
}

.text-white\/70 {
  color: rgba(255, 255, 255, 0.92) !important;
}

.text-white\/75 {
  color: rgba(255, 255, 255, 0.93) !important;
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.95) !important;
}

header .opacity-60,
header .opacity-70 {
  opacity: 1 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ---- Site header & brand (logo is NOT the page H1) ---- */
.site-header {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.site-brand-est {
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
}

.site-brand-name {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.site-brand-name a {
  color: #ffffff;
  text-decoration: none;
}

.site-brand-name a:hover {
  color: #fed7aa;
}

.site-brand-tag {
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ---- SEO page headings ---- */
.hero-h1 {
  font-size: clamp(1.75rem, 6vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.page-h1 {
  font-size: clamp(1.75rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-brand {
  font-size: clamp(1.5rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.page-lead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Mobile quick navigation ---- */
.mobile-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0;
  position: relative;
  z-index: 20;
}

.mobile-quick-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.mobile-quick-nav a:hover,
.mobile-quick-nav a:focus-visible {
  background: rgba(249, 115, 22, 0.9);
  border-color: #f97316;
  outline: none;
}

.mobile-quick-nav a.nav-order {
  background: #f97316;
  border-color: #fb923c;
}

/* ---- Mobile layout fixes ---- */
@media (max-width: 767px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .site-header > nav.hidden {
    display: none !important;
  }

  main.container,
  .container.mx-auto.px-8 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hero-main {
    min-height: auto !important;
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-main .md\:w-1\/2 {
    width: 100% !important;
    margin-bottom: 2rem !important;
  }

  .hero-text-col {
    margin-bottom: 1.5rem !important;
  }

  .hero-image-col img,
  .burger-image-container img {
    width: 100% !important;
    max-width: min(100%, 340px) !important;
    height: auto !important;
  }

  .badge-discount {
    width: 5.5rem !important;
    height: 5.5rem !important;
    top: 0 !important;
    right: 0 !important;
  }

  .badge-discount .text-4xl {
    font-size: 1.5rem !important;
  }

  .cart-btn,
  .hero-main a,
  .hero-main button,
  .menu-card button,
  .mobile-quick-nav a {
    min-height: 44px;
  }

  .hero-main .flex.flex-wrap.gap-4 {
    gap: 0.75rem !important;
  }

  .hero-main .cart-btn,
  .hero-main a.rounded-2xl {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .text-7xl,
  .text-6xl,
  .md\:text-\[100px\] {
    font-size: clamp(1.75rem, 8vw, 2.75rem) !important;
    line-height: 1.1 !important;
  }

  .text-5xl {
    font-size: clamp(1.5rem, 6vw, 2.25rem) !important;
  }

  .text-4xl {
    font-size: clamp(1.375rem, 5vw, 2rem) !important;
  }

  .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
    gap: 1.5rem !important;
  }

  .menu-card.rounded-\[2\.5rem\] {
    border-radius: 1.5rem !important;
    padding: 1rem !important;
  }

  .map-container iframe {
    min-height: 280px;
  }
}

@media (min-width: 768px) {
  .site-header {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .mobile-quick-nav {
    display: none;
  }
}

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}
