body {
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 0;
  background-color: #F2F2F2; /* Gris Claro */
  color: #333333; /* Gris Oscuro */
  box-sizing: border-box;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/fondo.jpeg'); /* Ruta de la imagen */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.3; /* Ajusta este valor para cambiar la opacidad de la imagen */
  z-index: -1;
}

header {
  background-color: #003366; /* Azul Oscuro */
  color: white;
  padding: 15px;
  text-align: center;

}
.header {
  display: flex;
  align-items: center;
  gap: 150px; /* Espacio entre el ícono y el texto */
}
.navbar {
  background-color: #333;
  overflow: hidden;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: left;
  gap: 10px;
}

.navbar ul li {
  display: inline;
  padding: 0;
}

.navbar ul li a {
  color: white;
  text-align: center;
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  border-radius: 0px;
}

.navbar ul li a:hover {
  background-color: #ddd;
  color: black;
}

.navbar ul li a.active {
  background-color: #003366;
  color: white;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #0055A4; /* Azul Medio */
}

nav ul li {
  float: left;
}

nav ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: #007BFF; /* Azul Claro */
}

main {
  padding: 20px;
  text-align: center;
}

footer {
  background-color: #333333; /* Gris Oscuro */
  color: white;
  text-align: center;
  padding: 1px;
  position: static;
  width: 100%;
  bottom: 0;
}

.bar-section {
  margin-top: 30px;
  text-align: center;
}

.food-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  
}

.food-item {
  position: relative;
  width: 175px;
  transition: transform 0.3s ease;
  object-fit: cover;

}

.food-item:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.tooltip {
  visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.81);
    color: white;
    text-align: justify;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.food-img:hover + .tooltip {
  visibility: visible;
  opacity: 1;
}

.food-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.food-item:hover {
  transform: scale(1.05);
}

.food-item p {
  margin-top: 10px;
  font-weight: bold;
}

.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 2% auto;
  padding: 8px;
  border: 1px solid #888;
  width: 60%; /*ancho del modal*/
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .header-icon {
      margin-bottom: 10px;
  }

  .food-grid {
      flex-direction: column;
      align-items: center;
  }

  .food-img {
      width: 80px;
      height: 80px;
  }
}

@media (max-width: 480px) {
  .food-img {
      width: 60px;
      height: 60px;
  }
}

.pdf-container {
  margin: 20px auto;
  max-width: 900px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

iframe {
  display: block;
  width: 100%;
  height: 800px;
  border: none;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin: 10px auto;
  max-width: 800px;
}

.contact-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 45%;
}

.contact-photo {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}
