/* === Menu Page === */
.hero {
  max-width: 1120px;
  margin: 42px auto 34px;
  padding: 68px 20px 48px;
  border-radius: 32px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(244, 113, 116, 0.92), rgba(53, 178, 172, 0.88)),
    url("images/truck-optimized.jpg") center / cover;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0;
  font-family: 'Ranchers', cursive;
  font-size: clamp(70px, 12vw, 120px);
  line-height: 0.9;
  text-shadow: 5px 5px 0 rgba(38, 50, 56, 0.18);
}

.menu-nav {
  max-width: 900px;
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.menu-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-nav a:hover {
  background: var(--sun);
  transform: translateY(-2px);
}

.menu-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.drink-category {
  scroll-margin-top: 130px;
  margin: 58px auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(70, 44, 28, 0.08);
}

.drink-category h2 {
  margin-bottom: 22px;
  color: var(--pink);
  font-family: 'Ranchers', cursive;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.95;
  text-align: left;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.menu-item {
  position: relative;
  min-height: 0;
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(70, 44, 28, 0.07);
  overflow: hidden;
  text-align: left;
  text-transform: capitalize;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.menu-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: linear-gradient(180deg, var(--pink), var(--sun), var(--teal));
}

.menu-item:hover {
  border-color: rgba(53, 178, 172, 0.28);
  box-shadow: 0 16px 34px rgba(70, 44, 28, 0.12);
  transform: translateY(-2px);
}

.menu-item h3 {
  margin: 0 0 6px;
  color: var(--teal-dark);
  font-size: 22px;
  line-height: 1.1;
}

.menu-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.menu-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin: 0 0 12px;
  box-shadow: 0 12px 26px rgba(38, 50, 56, 0.14);
}

.menu-item .dates {
  margin-top: 12px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 700;
}

#specials.drink-category {
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,240,220,0.9));
}

#specials.drink-category h2 {
  text-align: center;
}

#specialsGrid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
}

#specialsGrid .menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 280px;
  min-height: 0;
  padding: 20px;
  margin: auto;
  text-align: center;
  border-radius: 22px;
}

#specialsGrid .menu-item::before {
  inset: 0;
  width: auto;
  height: 7px;
  background: linear-gradient(90deg, var(--pink), var(--sun), var(--teal));
}

#specialsGrid .menu-item h3 {
  margin-top: 8px;
}

.menu-item:has(img) {
  padding-left: 20px;
}

#backToTopBtn {
  display: none;
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 14px 28px rgba(244, 113, 116, 0.28);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

#backToTopBtn:hover {
  background: #db5c61;
}

.wheel-section {
  max-width: 940px;
  margin: 80px auto 16px;
  padding: 36px 22px 40px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff, var(--cream-strong));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.wheel-section h2 {
  margin: 0 0 18px;
  color: var(--pink);
  font-family: 'Ranchers', cursive;
  font-size: clamp(42px, 6vw, 68px);
  text-align: center;
}

.wheel-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.wheel-controls label {
  color: var(--muted);
  font-weight: 700;
}

#wheelCategory {
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid rgba(53, 178, 172, 0.35);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-weight: 700;
}

.spin-btn {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.05s ease, background-color 0.2s ease;
}

.spin-btn:active {
  transform: scale(0.98);
}

.spin-btn:hover {
  background: var(--teal-dark);
}

#wheelCanvas {
  width: 100%;
  height: auto;
  max-width: 420px;
  aspect-ratio: 1 / 1;
}

.wheel-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 14px;
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--pink);
  font-size: 28px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  user-select: none;
}

.wheel-result {
  min-height: 42px;
  padding: 8px 10px;
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .spin-btn,
  .menu-nav a {
    transition: none;
  }
}

@media (max-width: 768px) {
  .hero {
    margin: 24px 14px;
    padding: 54px 14px 36px;
  }

  .drink-category {
    margin: 52px auto;
    padding: 22px;
  }

  .drink-category h2 {
    text-align: center;
  }

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