/* General */
html {
  scroll-behavior: smooth;
}  
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  background-color: rgb(241, 250, 246); /* Fondo blanco */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra */
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo img {
  height: 60px; /* Ajusta el tamaño del logo */
}

/* Menú */
.menu {
  display: flex;
}

.menu-items {
  list-style: none;
  display: flex;
  gap: 60px; /* Espacio entre los enlaces */
}

.menu-items li a {
  text-decoration: none;
  color: #1D3557; /* Enlaces en azul oscuro */
  font-size: 16px;
  font-weight: 500;
  transition: color 0.10s ease;
}

.menu-items li a:hover {
  color: #E63946; /* Cambia a rojo suave cuando se pasa el cursor */
}

/* Botón WhatsApp */
.boton-reservar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366; /* Color verde de WhatsApp */
  padding: 12px;
  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* Sombra para resaltar */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boton-reservar img {
  width: 50px;
  height: 50px;
  display: block;
}

.boton-reservar:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
}
/* Fondo degradado sutil */
.header {
  background: linear-gradient(to right, #FFFFFF, #F0F0F0); /* Degradado de blanco a gris claro */
  color: #333333; /* Texto gris oscuro */
}
/* Sección Brunch */
.brunch-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #a7d9d0;
  padding: 20px;
  max-width: 1200px;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.brunch-section:hover {
  background-color: rgba(217, 237, 233, 0.8);
}

.brunch-image img {
  width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.brunch-text {
  width: 100%;
  text-align: center;
  color: rgb(11, 10, 10);
}

.brunch-text .logo img {
  width: 100px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.brunch-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Sección Nosotros */
.nosotros {
  padding: 50px 20px;
  background-color: #F5F5F5; /* Gris suave */
  color: #333333; /* Texto gris oscuro */
  background-image: url(imagenes/cocina.avif);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.nosotros-container {
  max-width: 1200px;
  margin: 0 auto;
}

.nosotros-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.nosotros-item.reverse {
  flex-direction: row-reverse;
}

.nosotros-text {
  flex: 1;
}

.nosotros-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: rgba(181, 215, 204, 0.847);
}

.nosotros-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgb(193, 210, 199);
}

.nosotros-image {
  flex: 1;
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sección Propuesta */
.propuesta {
  padding: 50px 20px;
  background-color: #7eb286;
  text-align: center;
  color: #333;
}

.propuesta:hover {
  background-color: rgba(217, 237, 233, 0.8);
}

.propuesta-container {
  max-width: 800px;
  margin: 0 auto;
}
.mySwiper {
  width: 100%;
  height: auto;
  margin: 20px 0;
}
.swiper-slide img {
  width: 500px; /* Tamaño pequeño inicial */
  height: 400px; /* Ajusta la altura según sea necesario */
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.swiper-slide img:hover {
  transform: scale(1.1);
}
.swiper-button-next, .swiper-button-prev {
  color: rgb(17, 5, 5);
}
.propuesta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #E63946;
}

.propuesta p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #555;
}

.propuesta-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.boton-inicio {
  display: inline-block;
  padding: 10px 20px;
  background-color: #E63946; /* Rojo para botones */
  color: #FFFFFF; /* Texto blanco */
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.boton-inicio:hover {
  background-color: #C5303A; /* Rojo más oscuro al pasar el ratón */
}

/* Sección Platos */
.platos-fondo {
  padding: 50px 20px;
  text-align: center;
  background-image: url(imagenes/bufet.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.platos-fondo h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
}

.platos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.plato-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.plato-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.plato-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.plato-card h3 {
  font-size: 1.5rem;
  color: #e63946;
  margin: 15px 0;
}

.plato-card p {
  font-size: 1rem;
  color: #f6f0f0;
  padding: 0 15px 15px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plato-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #e63946;
}

.overlay p {
  font-size: 1rem;
  padding: 0 15px;
}

/* Pie de página */
.footer {
  background-color: rgba(16, 94, 33, 0.5);
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.footer:hover {
  background-color: rgba(16, 94, 33, 0.8);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #e63946;
}

.contact-info p,
.contact-info a {
  font-size: 1rem;
  line-height: 1.8;
  color: #ffffff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-media .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-media img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-media img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(27, 92, 25, 0.1);
  padding-top: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
  margin: 0;
}
/* Botón Volver Arriba */
.boton-inicio {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #E63946; /* Rojo para botones */
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 50%;
  transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.boton-inicio.mostrar {
  opacity: 1;
  visibility: visible;
  transform: scale(1.1);
}

.boton-inicio:hover {
  background-color: #C5303A;
  transform: scale(1.2);
}

/* Media Queries para dispositivos pequeños */
@media screen and (max-width: 768px) {
  .navbar {
      flex-direction: column;
      padding: 10px 20px;
  }

  .menu-items {
      flex-direction: column;
      gap: 20px;
      text-align: center;
  }

  .brunch-section {
      flex-direction: column;
      text-align: center;
  }

  .brunch-image img {
      width: 80%;
      margin: 0 auto;
  }

  .brunch-text {
      width: 80%;
      margin-top: 20px;
  }

  .nosotros-item {
      flex-direction: column;
      text-align: center;
  }

  .nosotros-item.reverse {
      flex-direction: column;
  }

  .platos-grid {
      grid-template-columns: 1fr;
  }
}

/* Media Queries para dispositivos muy pequeños (móviles) */
@media screen and (max-width: 480px) {
  .navbar {
      padding: 10px;
  }

  .menu-items {
      font-size: 14px;
  }

  .footer-container {
      flex-direction: column;
      align-items: center;
  }

  .footer {
      padding: 30px 10px;
  }

  .brunch-image img {
      width: 100%;
  }

  .nosotros-item {
      margin-bottom: 30px;
  }

  .platos-grid {
      grid-template-columns: 1fr;
  }
}
