/* =========================
   MENU PAGE NAVBAR STYLES
========================= */

/* The navbar gives the menu page the same navigation experience as the home page. */
.menu-navbar {
  background-color: #f1f1f1;
  border-bottom: 1px solid #dedede;
}

/* The brand link stays bold so users can quickly return to the main website identity. */
.menu-navbar .navbar-brand {
  color: #222222;
  font-weight: 700;
}

/* Menu links are spaced for a clean desktop layout and readable mobile menu. */
.menu-navbar .nav-link {
  color: #333333;
  font-weight: 500;
  padding-left: 14px;
  padding-right: 14px;
}

/* Hover and focus states make navigation feel responsive and accessible. */
.menu-navbar .nav-link:hover,
.menu-navbar .nav-link:focus {
  color: #000000;
}

/* The mobile toggle matches the light grey navbar styling. */
.menu-navbar .navbar-toggler {
  border-color: #cfcfcf;
}

/* =========================
   HERO SECTION STYLES
========================= */

/* The hero section introduces the menu page with a premium startup-style first impression. */
.menu-hero-section {
  background: #f5f5f5;
  font-family: "Poppins", sans-serif;
  min-height: 90vh;
  overflow: hidden;
  padding: 96px 0;
  position: relative;
}

.menu-hero-section::before {
  background: radial-gradient(circle at 18% 18%, rgba(255, 132, 45, 0.16), transparent 32%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.menu-hero-section .container {
  position: relative;
  z-index: 1;
}

.menu-hero-content {
  animation: menuHeroFadeUp 0.85s ease both;
}

.menu-hero-eyebrow {
  color: #f97316;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main Heading Styles */
.menu-hero-title {
  color: #111827;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

/* Gradient Text Styles */
.menu-gradient-text {
  background: linear-gradient(135deg, #ff7a18 0%, #ffb347 45%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu-hero-subtitle {
  color: #5b6472;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 600;
  line-height: 1.8;
  max-width: 620px;
}

/* CTA Button Styles */
.menu-hero-btn {
  align-items: center;
  border: 0;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 56px;
  min-width: 190px;
  padding: 14px 26px;
  transition: box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.menu-hero-btn-primary {
  background: linear-gradient(135deg, #ff7a18 0%, #f97316 100%);
  color: #ffffff;
}

.menu-hero-btn-secondary {
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  color: #ffffff;
}

.menu-hero-btn:hover,
.menu-hero-btn:focus {
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
  color: #ffffff;
  transform: translateY(-4px);
}

.menu-hero-btn i {
  font-size: 1.2rem;
  line-height: 1;
}

.menu-trust-badge {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  color: #344054;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 18px;
}

.menu-trust-badge i {
  color: #f97316;
}

/* Mobile Mockup Styles */
.menu-phone-area {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 560px;
  position: relative;
}

.menu-phone-bg-shape {
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.22), rgba(8, 68, 164, 0.14));
  border-radius: 42% 58% 48% 52%;
  filter: blur(0);
  height: 430px;
  position: absolute;
  transform: rotate(-8deg);
  width: 430px;
}

.menu-phone-image {
  filter: drop-shadow(0 34px 38px rgba(15, 23, 42, 0.24));
  max-height: 560px;
  position: relative;
  transform: rotate(-7deg);
  transition: transform 0.35s ease, filter 0.35s ease;
  width: min(78%, 360px);
  z-index: 1;
}

.menu-phone-area:hover .menu-phone-image {
  filter: drop-shadow(0 42px 46px rgba(15, 23, 42, 0.3));
  transform: rotate(-4deg) translateY(-8px);
}

/* Floating Animation */
.menu-phone-image {
  animation: menuPhoneFloat 4s ease-in-out infinite;
}

@keyframes menuPhoneFloat {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }

  50% {
    transform: rotate(-7deg) translateY(-16px);
  }
}

@keyframes menuHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .menu-hero-section {
    padding: 80px 0;
  }

  .menu-hero-content {
    text-align: center;
  }

  .menu-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .menu-hero-actions {
    justify-content: center;
  }

  .menu-phone-area {
    min-height: 460px;
  }

  .menu-phone-bg-shape {
    height: 350px;
    width: 350px;
  }

  .menu-phone-image {
    max-height: 460px;
  }
}

@media (max-width: 575.98px) {
  .menu-hero-section {
    min-height: auto;
    padding: 68px 0;
  }

  .menu-hero-actions,
  .menu-hero-btn {
    width: 100%;
  }

  .menu-trust-badge {
    justify-content: center;
    width: 100%;
  }

  .menu-phone-area {
    min-height: 360px;
  }

  .menu-phone-bg-shape {
    height: 280px;
    width: 280px;
  }

  .menu-phone-image {
    max-height: 360px;
    width: min(82%, 280px);
  }
}

/* =========================
   MENU PLATFORM SECTION STYLES
========================= */

.qr-codes-section {
  background-color: #f8fafc; /* Whitish grey background */
  padding: 96px 0;
}

.qr-codes-title {
  color: #111827;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  text-align: center;
}

.qr-menu-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-menu-card:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-8px);
}

.qr-menu-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.qr-menu-card:hover .qr-menu-img {
  transform: scale(1.05);
}

.qr-menu-name {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}
