/* Reset general */
body, h1, h2, p, a {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
}

/* Portada */
.portada {
  background: url('../img/portada.webp') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Animación del nombre en la portada */
.overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease-out forwards;
}

.overlay h2 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s ease-out forwards;
  animation-delay: 0.5s; /* Retraso para que aparezca después del h1 */
}


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Oscurece un poco la foto */
  color: #fff;
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
}

.overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.btn-menu {
  background-color: #e67e22;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-menu:hover {
  background-color: #cf711f;
}

/* Para la sección desayunos */
#desayunos {
  padding: 2rem;
  background-color: #f8f8f8;
}

#desayunos h2 {
  text-align: center;
  margin-bottom: 1rem;
  text-decoration: underline;
}

/* Estilo general */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Sección Desayunos */
#desayunos {
  background-color: #f8f8f8;
  padding: 1rem;
}

#desayunos h2 {
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1rem;
}

/* Slider Container */
.slider-container {
  width: 100%;
  overflow: hidden;
  height: 300px;
  position: relative;
}

/* Slider */
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Slide */
.slide {
  flex: 0 0 100%; /* Cada slide ocupa el 100% del ancho */
  height: 300px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swiper {
  width: 100%;
  height: 300px;
  border: 4px solid #006847; /* Borde naranja */
  border-radius: 10px;        /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
  overflow: hidden; /* Para que las imágenes respeten el borde redondeado */
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin: 1rem auto;
  max-width: 400px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.menu-item .contenido {
  padding: 1rem;
  text-align: center;
  line-height: 1rem;
}

.menu-item h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.menu-item p {
  color: #666;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.menu-item span {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: #e67e22;
  font-size: 1.1rem;
}

.menu-item.especial {
  border: 2px solid #2ecc71; /* Borde verde */
  line-height: 0.8rem;
}

.menu-item.especial span {
  color: #2ecc71; /* Precio verde */
}

/* Animación al aparecer */
.menu-item.especial {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Cuando esté visible */
.menu-item.especial.visible {
  opacity: 1;
  transform: translateY(0);
}


/* SECCION TACOS */
h3{
  text-align: center;
}

.foto-fija img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 4px solid #e67e22; /* O el verde bandera #006847 si prefieres */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

/* Justificar textos en la sección Tortas */
#tortas .contenido {
  text-align: left;
}

#burritos .contenido {
  text-align: left;
}

#quesadillas .contenido {
  text-align: left;
}

#enchiladas .contenido {
  text-align: left;
}

#enchilada .contenido {
  text-align: left;
}

#tacos .contenido-1{
  text-align: left;
}

#flautas .contenido {
  text-align: left;
}

#cemitas .contenido {
  text-align: left;
}

#huaraches .contenido {
  text-align: left;
}

#chalupas .contenido {
  text-align: left;
}

#tacosplaceros .contenido {
  text-align: left;
}

#sopes .contenido {
  text-align: left;
}

#nachos .contenido {
  text-align: left;
}

#tostadas .contenido {
  text-align: left;
}

#sopas .contenido {
  text-align: left;
}

#ensaladas .contenido {
  text-align: left;
}

#bebidas .contenido {
  text-align: left;
}

#bebidascalientes .contenido {
  text-align: left;
}

#sandwiches .contenido {
  text-align: left;
}

.agradecimiento {
  background: linear-gradient(to right, #fff5e1, #ffe8cc);
  text-align: center;
  padding: 30px 20px;
  animation: fadeIn 2s ease-in-out;
}

.agradecimiento-contenido h2 {
  font-size: 2em;
  margin-bottom: 10px;
  animation: slideUp 1s ease-in-out;
}

.agradecimiento-contenido p {
  font-size: 1.2em;
  margin-bottom: 20px;
  animation: slideUp 1.5s ease-in-out;
}

.emoji-corazon {
  font-size: 2.5rem;
  animation: heartbeat 1.5s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

#volver-arriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
  z-index: 1000;
  display: none; /* oculto al principio */
}

#volver-arriba:hover {
  background-color: #e65c00;
}

@media (max-width: 480px) {
  /* Ajustes para móviles pequeños, como iPhone SE */
}

@media (max-width: 768px) {
  /* Ajustes para móviles normales, como iPhone 12 o Galaxy */
}

/* iPhone SE (1st gen) */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    /* Ajustes aquí */
}

/* iPhone 12 y más grandes */
@media only screen 
  and (min-device-width: 390px) 
  and (max-device-width: 844px) 
  and (-webkit-min-device-pixel-ratio: 3) {
    /* Ajustes aquí */
}






