/* -----------------------------------
   GLOBAL STRUCTURE & TYPOGRAPHY
----------------------------------- */
.serving_menu h1 {
  font-size: clamp(1.6rem, 2vw + 0.9rem, 2.4rem);
  margin: 80px 0.5rem 0.5rem 0;
  font-weight: 600;
  color: var(--serving-heading);
}
.serving_menu .menu-subtext {
  display: block;
  text-align: center;
  margin: 0 auto 1rem auto;
  font-size: 0.9rem;
  color: var(--serving-heading);
}

.serving_menu h2,
.serving_menu h3,
.serving_menu h4,
.serving_menu h5,
.serving_menu h6 {
  font-size: clamp(1.25rem, 1vw + 0.7rem, 1.6rem);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  color: var(--serving-heading);

}
.full-menu-width {
  display: flex;
  flex-direction: row;
  max-width: 700px;
  padding: 1rem;
  margin: 0 auto 1rem auto;
  border-bottom: 1px solid #e6e6e6;
}
/* Base styling for menu titles */
li.menu-title {
 color: var(--serving-heading);
  font-weight: 600;
  font-size: clamp(1.25rem, 1vw + 0.7rem, 1.6rem);
  margin-bottom: 1rem;
}

.center {
  text-align: center;
  margin: auto;
}

.margin-bottom {
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.section-drinks > div {
  display: flex;
  flex-direction: column;
}
.section-drinks {
  align-items: stretch;
}
.menu-inner {
  flex: 1;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e6e6e6;
}

.serving_menu li {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.bold {
  font-weight: 600;
}

.noBold {
  font-weight: 400;
  font-size: 0.9rem;
}

/* -----------------------------------
   SPECIALS SECTION
----------------------------------- */
.specials-menu {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  padding: 1rem;
}
.specials-menu h2 {
  margin-bottom: 2rem;
}

.serving-sideByside {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.serving-sideByside picture,
.serving-sideByside img {
  width: 100%;
  max-width: 350px;
  height: auto;
}
@media (max-width: 699px) {
  .serving-sideByside picture {
    display: none;
  }
}
/* Desktop layout */
@media (min-width: 700px) {
  .serving-sideByside {
    display: grid;
    grid-template-columns: 1fr 350px;
    align-items: center; /* Vertically centers both columns */
    gap: 2rem;
  }

  .serving-sideByside ul {
    margin: 0; /* Removes extra top margin */
  }

  .serving-sideByside picture {
    justify-self: end;
  }

  .serving-sideByside img {
    max-width: 70%;
    height: auto;
    border-radius: 6px;
  }
}

/* -----------------------------------
   MAIN MENU GRID
----------------------------------- */
.section-drinks,
.section-food {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: 2rem;
}

/* Tablet: 2 columns */
@media (min-width: 600px) {
  .section-drinks,
  .section-food {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 columns */
@media (min-width: 900px) {
  .section-drinks,
  .section-food {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -----------------------------------
   MENU CATEGORY BLOCKS
----------------------------------- */


.food {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

/* -----------------------------------
   OPTIONAL POLISH
----------------------------------- */
li:hover {
  color: #5a3e2b;
  transition: color 0.2s ease;
}
/* -----------------------------------
   MENU ANIMATIONS
----------------------------------- */

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.serving_menu h1,
.serving_menu h2 {
  opacity: 0;
  animation: fadeUp 0.9s ease-out forwards;
}

/* Base animation class */
.menu-animate {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

/* Staggered timing for a natural feel */
.menu-animate:nth-child(1) { animation-delay: 0.1s; }
.menu-animate:nth-child(2) { animation-delay: 0.2s; }
.menu-animate:nth-child(3) { animation-delay: 0.3s; }
.menu-animate:nth-child(4) { animation-delay: 0.4s; }
.menu-animate:nth-child(5) { animation-delay: 0.5s; }

/* Hidden state before scrolling into view */
.menu-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Activated when in view */
.menu-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}
.menu-inner li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.menu-inner.in-view li {
  opacity: 1;
  transform: translateY(0);
}

.menu-inner.in-view li:nth-child(1) { transition-delay: 0.05s; }
.menu-inner.in-view li:nth-child(2) { transition-delay: 0.1s; }
.menu-inner.in-view li:nth-child(3) { transition-delay: 0.15s; }
.menu-inner.in-view li:nth-child(4) { transition-delay: 0.2s; }/* Grid container */


.syrup-grid {
    margin: auto;
    max-width: 1200px;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

/* Individual flavor groups */
.syrup-item {
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.syrup-item h2 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
}
a.syrup {
    color: #5a3e2b;
    text-decoration: underline;
} 
.syrup-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.syrup-item ul li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.syrup-item ul li:last-child {
    border-bottom: none;
}

/* Nested syrup-item blocks inside Coffee Flavors */
.syrup-item .syrup-item {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid #e5e5e5;
}
/* Medium screens: two columns */
@media (min-width: 450px) {
    .syrup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Medium screens: two columns */
@media (min-width: 600px) {
    .syrup-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large screens: three columns */
@media (min-width: 900px) {
    .syrup-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
