body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #fff;
  text-align: center;
}

header {
  background-color: #111;
  padding: 20px;
}

h1 {
  color: #ffa31a;
  margin: 0;
}

.subtitle {
  color: #fff;
  font-size: 1.2em;
}
/* ======= Ajuste visual para doble menú (Hamburguesas y Lomitos) ======= */
.doble-menu .menu-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doble-menu .menu-img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(255, 163, 26, 0.4);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.category-card {
  width: 220px;
  height: 180px;
  border: 2px solid #ffa31a;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 10px rgba(255, 163, 26, 0.2);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* oscurece un poco las imágenes */
  transition: background 0.3s;
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffa31a;
}

.category-card:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

.category-card h2 {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  margin: 0;
  padding: 10px 0;
  font-size: 1.2rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Fondo de cada categoría */
.cafeteria {
  background-image: url("cafeteria.jpg");
}

.lomitos {
  background-image: url("lomitos.png");
}

.pizzas {
  background-image: url("pizza.png");
}

.hamburguesas {
  background-image: url("hamburguesas.png");
}

/* 🥔 Nueva categoría: Papas Fritas */
.papas {
  background-image: url("papas.jpg"); /* Cambiá el nombre según tu imagen */
  background-size: cover;
  background-position: center;
}
/* 🧒 Nueva categoría: Menú Kids */
.menukids {
  background-image: url("kids.jpeg"); /* Cambiá por tu imagen real */
  background-size: cover;
  background-position: center;
}

footer {
  background-color: #111;
  padding: 15px;
  color: #ccc;
  font-size: 0.9em;
}

/* ======= Página de Cafetería ======= */
.top-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap; /* para que se acomode si la pantalla es chica */
}

.top-gallery img {
  width: 25%;              /* tres imágenes pequeñas y alineadas */
  max-width: 200px;        /* límite de tamaño */
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ffa31a;
  transition: transform 0.3s;
}

.top-gallery img:hover {
  transform: scale(1.05);
}

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

.menu-img {
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  border: 2px solid #ffa31a;
  box-shadow: 0 0 15px rgba(255, 163, 26, 0.3);
}

.back-link {
  color: #ffa31a;
  text-decoration: none;
  font-weight: bold;
}

.back-link:hover {
  text-decoration: underline;
}

/* ======= Logo general ======= */
.logo-link {
  text-decoration: none;
  display: inline-block;
}

.logo {
  width: 200px;       /* 🔸 tamaño más pequeño */
  height: auto;
  margin: 15px auto 5px auto;
  display: block;     /* centra la imagen */
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 100;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
}

/* Sección de promos de Instagram */
.promo-instagram {
  text-align: center;
  margin: 15px 0;
  font-family: 'Poppins', sans-serif;
}

.promo-instagram p {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 5px;
}

.instagram-link {
  display: inline-block;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.instagram-link:hover {
  text-decoration: underline;
}

/* Botón flotante de Instagram */
.instagram-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 90px; /* un poco más arriba que el de WhatsApp */
  right: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 100;
  transition: transform 0.3s ease;
}

.instagram-float:hover {
  transform: scale(1.1);
}

.instagram-icon {
  width: 35px;
  height: 35px;
}

/* Barra superior de aviso */
.aviso-pedidos {
  background-color: #25d366;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 17px;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
}

/* ======= Doble menú lado a lado ======= */
.doble-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.doble-menu .menu-img {
  width: 48%;
  max-width: 700px;
}

/* 📱 En celular que ocupen casi todo */
@media (max-width: 768px) {
  .doble-menu {
    flex-direction: column;
    align-items: center;
  }

  .doble-menu .menu-img {
    width: 95%;
  }
}
/* ===== Zoom solo a la imagen del medio en galería Lomitos ===== */
.galeria-lomitos .galeria-item:nth-child(2) img {
  transform: scale(1.4); /* nivel de zoom */
  transition: transform 0.3s ease;
}

/* Para que no se salga del cuadro */
.galeria-lomitos .galeria-item {
  overflow: hidden;
}
/* FONDO OSCURO QUE CUBRE TODO */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* CAJA CENTRADA */
.popup-contenido {
  position: relative;
  max-width: 400px;
  width: 90%;
}

/* IMAGEN */
.popup-img {
  width: 100%;
  border-radius: 15px;
  display: block;
}
.cerrar {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  color: black;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 1; /* ← ACÁ estaba el problema */
  transition: opacity 0.3s ease;
}
