/* === MENU PAGE STYLES === */
.hero {
  text-align: center;
  background: linear-gradient(135deg, #ff9f98, #ffd44d);
  padding: 80px 20px;
  color: #fff;
  clip-path: ellipse(100% 85% at 50% 15%);
}

.hero h1 {
  font-size: 75px;
  margin: 0;
  font-family: 'Ranchers', cursive;
}

.box {
  max-width: 1050px;
  margin: 60px auto;
  padding: 20px 20px;
  background-color: #fff;
  border-left: 16px solid #ff9f98;
  border-right: 16px solid #35b2ac;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  border-radius: 12px;
}

.box h2 {
  text-align: center;
  font-size: 34px;
  color: #f47174;
  margin-top: 30px;
}

.box h3 {
  text-align: center;
  font-size: 22px;
  color: #f47174;
  margin-bottom: 20px;
}

.box p,
.box ul {
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  padding: 20px;
  color: #444;
}

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

.menu-page h2 {
  text-align: center;
  font-size: 34px;
  color: #f47174;
}

.drink-category {
  margin: 60px auto;
  max-width: 1250px;
  padding: 0 20px;
}

.drink-category h2 {
  font-size: 42px;
  color: #f47174;
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Ranchers', cursive;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 992px) {
  #energydrinks .menu-grid {
    grid-template-columns: repeat(auto-fill, 260px); /* adjust 260 as needed */
    justify-content: center; /* centers the final short row */
  }
}

.menu-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  text-transform:capitalize;
}

.menu-item h3 {
  margin-top: 0;
  color: #35b2ac;
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* cap title to ~2 lines */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;         /* reserve space so rows align */
}

.menu-item p {
  display: -webkit-box;
  -webkit-line-clamp: 3;     /* cap description to ~3 lines */
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.6em;         /* makes card heights line up */
}


.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 30px auto;
  padding: 10px 20px;
  max-width: 800px;
  background-color: transparent;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.menu-nav a {
  text-decoration: none;
  background-color: #35b2ac;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.menu-nav a:hover {
  background-color: #2a9a96;
}

#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #35b2ac;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#backToTopBtn:hover {
  background-color: #2a8c88;
}

/* === SPIN THE SODA WHEEL === */
.wheel-section {
  max-width: 900px;
  margin: 40px auto 10px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border-left: 10px solid #ff9f98;
  border-right: 10px solid #35b2ac;
}

.wheel-section h2 {
  text-align: center;
  font-family: 'Ranchers', cursive;
  font-size: 42px;
  color: #f47174;
  margin: 10px 0 14px;
}

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

#wheelCategory {
  padding: 10px 12px;
  border: 2px solid #35b2ac;
  border-radius: 8px;
  font-weight: 600;
}

.spin-btn {
  background: #35b2ac;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .05s ease, background-color .2s ease;
}
.spin-btn:active { transform: scale(.98); }
.spin-btn:hover { background: #2a9a96; }

/* Responsive wheel */
#wheelCanvas {
  width: 100%;
  height: auto;
  max-width: 420px;  /* wheel won’t grow larger than desktop size */
  aspect-ratio: 1 / 1; /* keeps it a square */
}

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


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

.wheel-result {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding: 8px 10px;
  color: #35b2ac;
}

/* reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .spin-btn { transition: none; }
}

/* Make #specials look like other categories even if it's outside .menu-page */
#specials.drink-category {
  margin: 60px auto;
  max-width: 1250px;
  padding: 0 20px;
}

.menu-item img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* make every image a square */
  height: auto;          /* height follows the ratio */
  object-fit: cover;     /* crop instead of squish */
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}
.menu-item .dates {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}

/* Style specials to match menu items */
#specialsGrid .menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 250px;
  margin: auto;
  text-align: center;
}

#specialsGrid .menu-item img {
  max-width: none;       /* let it fill the card like others */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1); /* keep your nice subtle shadow */
}

#specialsGrid .menu-item h3 {
  margin: 6px 0;
  color: #35b2ac;
  font-size: 20px;
}

#specialsGrid .menu-item p {
  font-size: 16px;
  color: #444;
  margin: 4px 0 8px;
}

#specialsGrid .dates {
  font-size: 14px;
  color: #777;
  margin-top: 6px;
}


