/* NIXTLI - Estilos personalizados */

:root {
  --color-nixtli-terracota: #C8532B;
  --color-nixtli-texto-header: #FFFFFF;
  --header-height: 88px;
}

html {
  scroll-behavior: smooth;
}

/* Compensa el header sticky para que las secciones no queden tapadas al navegar */
main section[id] {
  scroll-margin-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: 'Poppins', sans-serif;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

/* Tarjetas de platos: entrada suave al filtrar/cargar */
@keyframes nixtli-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dish-card {
  animation: nixtli-fade-in 0.35s ease-out both;
}

/* Botón de filtro activo */
.filter-btn {
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

