/* ========================================
   NutriNomad Landing - Custom Styles
   ======================================== */

/* Hero gradient background */
.hero-gradient {
  background: radial-gradient(ellipse at center, #FAFFFE 0%, #F0FAF5 60%, #E8F5EE 100%);
}

/* ---- Dish Cards ---- */
.dish-card {
  background: #FFFFFF;
  border: 1px solid #E8DECE;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.dish-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ---- Rolling Digit Counter ---- */
.roll-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.roll-digit {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  position: relative;
  width: 0.62em;
}

.roll-digit-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.roll-digit-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.15em;
  line-height: 1;
}

.roll-separator {
  width: 0.2em;
  display: inline-block;
  text-align: center;
  line-height: 1;
}

.roll-plus {
  display: inline-block;
  margin-left: 0.05em;
  line-height: 1;
}

/* ---- Scroll Animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .dish-photo {
    aspect-ratio: 4 / 3;
  }
}
