/* =========================================================
   Estilos del sitio Fredy Mariscos
   ========================================================= */

* {
  box-sizing: border-box;
}

/* Título de sección (h1) */
h1 {
  font-family: 'Anton', sans-serif;
  font-weight: 600;       /* puede usar 800 si deseas más peso */
}

/* Título de sección (h2) */
.subtitulo {
  font-family: 'Anton', sans-serif;
  color: #f26522;         /* naranja */
  font-weight: 400;       /* puede usar 800 si deseas más peso */
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

/* Nombre del platillo */
.plate-name p {
  color: #005a80;         /* azul claro */
  margin-bottom: 0;
}

/* Descripción del platillo */
.plate-description {
  color: #002561;         /* azul marino */
}

/* Precio del platillo */
.price {
  font-weight: bold;
  color: inherit;         /* conserva el color del texto general */
  text-align: right;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  margin: 0;
  padding: 0;
}

p {
  margin-block-start: 0.3em;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.7s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* HERO RESPONSIVO CON PARALLAX COMPATIBLE EN MÓVILES */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: none;
}

/* Imagen de fondo con efecto de desplazamiento */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-color: #0a2540; /* respaldo si img/header.webp no está disponible */
  background-image: url('../img/header.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: translateY(0);
  transition: transform 0.1s linear;
}

/* Degradado encima de la imagen */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 31, 63, 0.7), rgba(0, 116, 217, 0.7));
  z-index: 1;
}

/* Logotipo encima de todo */
.hero-section img {
  position: relative;
  z-index: 2;
  max-width: 375px;
  width: 60%;
}

/* CONTENIDO */
.content-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

/* PIE DE PÁGINA */
.footer-section {
  background-color: darkgrey;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

/* azul claro:005a80 azul marino:002561 naranja:f26522 */


/* =========================================================
   Utilidades de layout (equivalentes mínimos a Bootstrap,
   ya que el sitio no usa dependencias externas)
   ========================================================= */

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

.menu-section {
  padding: 1rem 0 2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0 -10px;
}

.row > [class^="col-"] {
  padding: 0 10px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }

.text-center { text-align: center; }
.text-end { text-align: right; }
.text-white { color: #fff; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }

.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-5 { margin-top: 3rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.social-link:hover {
  opacity: 0.8;
}
