* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ff884b, #ffb16a);
  color: #fff;
  text-align: center;
  overflow-x: hidden;
}

header {
  padding: 40px 20px;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

h1 {
  margin-top: 10px;
  font-size: 2rem;
}

p {
  font-size: 1.1rem;
  margin-top: 5px;
}

.galeria {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 30px;
}

.plato img {
  width: 280px;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.plato img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.boton-pedido {
  margin: 20px;
}

.btn-pedido {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 14px 25px;
  border-radius: 50px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.btn-pedido:hover {
  background-color: #1ebe5d;
  transform: translateY(-3px);
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 30px 10px;
}

.social-btn {
  text-decoration: none;
  color: white;
  padding: 14px 25px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.social-btn:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.tiktok { background-color: #000; }
.rappi { background-color: #ff6b35; }
.whatsapp { background-color: #25D366; }
.linktree { background-color: #39e09b; }

.mapa iframe {
  width: 90%;
  height: 300px;
  border-radius: 15px;
  border: none;
  margin-bottom: 30px;
}

footer {
  background: rgba(0,0,0,0.2);
  padding: 15px 0;
  font-size: 0.9rem;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 16px;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 100;
  transition: 0.3s;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 70vh; /* ✅ evita que la imagen sea demasiado alta */
  border-radius: 15px;
  object-fit: contain; /* ✅ mantiene proporciones */
}
.close {
  position: absolute;
  top: 25px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.modal-btn {
  margin: 20px 0 40px 0; /* ✅ más espacio inferior */
}

.btn-pedido-modal {
  background-color: #25D366;
  color: #fff;
  padding: 14px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.btn-pedido-modal:hover {
  background-color: #1ebe5d;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  .plato img { width: 90%; }
  .social-btn { width: 90%; justify-content: center; }
}
