/* ================= ROOT COLORS ================= */
:root {
  --teal: #3ba7a8;
  --light-pink: #fdf0f0;
  --f-red: #e66b61;
  --f-pink: #f089b0;
  --f-purple: #9c99c9;
  --f-yellow: #e8c872;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

/* ================= WAVE HERO ================= */
.wave-hero {
  --size: 60px;
  --m: 0.5;
  --p: calc(var(--m) * var(--size));
  --R: calc(var(--size) * sqrt(var(--m) * var(--m) + 1));

  height: 420px;
  background: #3ba7a8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;

  mask:
    radial-gradient(
      var(--R) at 50% calc(100% - (var(--size) + var(--p))),
      #000 99%,
      #0000 101%
    )
    calc(50% - 2 * var(--size)) 0 / calc(4 * var(--size)) 100%,
    radial-gradient(
      var(--R) at 50% calc(100% + var(--p)),
      #0000 99%,
      #000 101%
    )
    50% calc(100% - var(--size)) / calc(4 * var(--size)) 100% repeat-x;

  -webkit-mask:
    radial-gradient(
      var(--R) at 50% calc(100% - (var(--size) + var(--p))),
      #000 99%,
      #0000 101%
    )
    calc(50% - 2 * var(--size)) 0 / calc(4 * var(--size)) 100%,
    radial-gradient(
      var(--R) at 50% calc(100% + var(--p)),
      #0000 99%,
      #000 101%
    )
    50% calc(100% - var(--size)) / calc(4 * var(--size)) 100% repeat-x;
}

/* Sprinkle pattern */
.sprinkles-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(#990f8d 15%, transparent 16%),
    radial-gradient(#4bb61d 15%, transparent 16%),
    radial-gradient(#f7d00e 15%, transparent 16%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px, 15px 45px;
  opacity: 0.3;
  z-index: 1;
}

/* Hero title */
.about-title {
  color: white;
  font-size: 52px;
  font-weight: 900;
  z-index: 5;
  font-family: "Tagesschrift", system-ui;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15);
}

/* ================= CATEGORY NAV ================= */
.category-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #3ba7a8;
  padding: 12px 0;
}

.category-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  overflow-x: auto;
  padding: 0 20px;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.cat-link {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 15px;
  white-space: nowrap;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cat-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cat-link.active {
  background-color: white;
  color: #3ba7a8;
}

.menu-section {
  padding: 70px 5%;
  background-color:#eadee3;
  text-align: center;
}

.section-heading {
  color: #e66b61;
  font-family: "Fredoka", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
}


.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-item {
  position: relative;
}

/* Image wrapper */
.item-image-wrapper {
  border: 5px solid #3ba7a8;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 15px;
  background-color: white;
}

.item-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-item:hover img {
  transform: scale(1.1);
}

/* Item name */
.item-name {
  color: #e66b61;
  font-family: "Fredoka", sans-serif;
  font-size: 1.1rem;
  margin: 0;
}

/* Price */
.item-price {
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 6px;
  color: #333;
}
