/* Reset general */
body, h1, h2, p, a {
  margin: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* Portada */
.portada {
  background: url('img-mar/portada.webp') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
}

.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;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.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;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

#desayunos {
  background-color: #f8f8f8;
  padding: 2rem;
}

#desayunos h2 {
  text-align: center;
  margin-bottom: 1rem;
  text-decoration: underline;
  line-height: 1rem;
}

/* TITULOS CENTRADOS EN SECCIONES */
section h2 {
  text-align: center;
  margin-bottom: 1rem;
  text-decoration: underline;
  line-height: 1rem;
}

/* Responsive H2 */
@media (max-width: 768px) {
  section h2 {
    text-align: center;
    font-size: 1.5rem;
  }
}

.slider-container {
  width: 100%;
  overflow: hidden;
  height: 300px;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  height: 300px;
}

.slide img,
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swiper {
  width: 100%;
  height: 300px;
  border: 4px solid #006847;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.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;
  line-height: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.menu-item.especial.visible {
  opacity: 1;
  transform: translateY(0);
}

h3 {
  text-align: center;
}

/* FOTO FIJA */
.foto-fija {
  width: 100%;
  padding: 1rem 0;
  text-align: center;
}

.foto-fija img {
  max-width: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: 10px;
}

/* Responsive fix para fotos fijas */
@media (max-width: 768px) {
  .foto-fija img {
    max-width: 90vw;
    width: 90vw;
    height: auto;
  }
}

/* Alinear contenido de secciones */
#tortas .contenido,
#burritos .contenido,
#quesadillas .contenido,
#enchiladas .contenido,
#enchilada .contenido,
#tacos .contenido-1,
#flautas .contenido,
#cemitas .contenido,
#huaraches .contenido,
#chalupas .contenido,
#tacosplaceros .contenido,
#sopes .contenido,
#nachos .contenido,
#tostadas .contenido,
#sopas .contenido,
#ensaladas .contenido,
#bebidas .contenido,
#bebidascalientes .contenido,
#sandwiches .contenido {
  text-align: left;
}

/* Sección agradecimiento */
.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: 2px;
  animation: slideUp 1.5s ease-in-out;
}

.redes-sociales {
  margin-top: 8px;
}

.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;
}

#volver-arriba:hover {
  background-color: #e65c00;
}
