@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap');

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Arial', sans-serif;
  color: #fff;
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #000 url('img/fondo.jpg') center top no-repeat;
  background-size: cover;
  z-index: -1;
  opacity: 1;
}

/* SOLUCIÓN PARA MÓVILES */
@media (max-width: 768px) {
  html, body {
    background-attachment: scroll !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  body::before {
    background-attachment: scroll !important;
    background-position: center top !important;
    background-size: cover !important;
    opacity: 1 !important;
  }
}

/* === HEADER === */
header {
  background: #000;
  text-align: center;
  padding: 1rem 0;
}
header img {
  height: 160px;
  transition: transform 0.3s;
}
header img:hover {
  transform: scale(1.1);
}

/* === NAVBAR === */
nav {
  background: rgba(187, 95, 95, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: fit-content;
  max-width: 95%;
  margin: 20px auto;
  padding: 0 20px;
  border-radius: 16px;
  position: relative;
  z-index: 10;
}

/* Estilo del UL contenedor */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  gap: 16px;
  white-space: nowrap;
  overflow-x: auto;
  flex-wrap: nowrap;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
nav ul::-webkit-scrollbar {
  display: none;
}

/* Estilo de los ítems */
nav li {
  flex: 0 0 auto;
}

/* Estilo de los enlaces */
nav a {
  text-decoration: none;
  color: #fff5eb; /* blanco cálido */
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 8px;
  background-color: transparent;
  transition: background 0.3s, transform 0.3s ease;
  white-space: nowrap;
}

/* Hover y enlace activo */
nav a:hover,
nav a.active {
  background: #fff5eb;
  color: #ba5940;
}

/* === SECCIONES === */
.section {
  display: none;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  flex-grow: 1;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* === GRID DE TARJETAS === */
.card-horizontal.full {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2c2c2c;
  color: #fff;
  border-radius: 12px;
  padding: 24px 36px;
  margin: 20px auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  width: 60vw;
  max-width: 1600px;
  height: 200px;
  border: 2px solid #000;
  box-sizing: border-box;
}
.card-horizontal.full img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}
.card-horizontal.full .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-right: 20px;
}
.card-horizontal.full h4 {
  font-size: 1.1rem;
  margin: 0 0 4px;
  color: #fff;
}
.card-horizontal.full p {
  font-size: 0.9rem;
  color: #ccc;
  margin: 0;
}
.card-horizontal.full .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #4CAF50;
  margin-top: 10px;
  align-self: flex-start;
}

/* === BIENVENIDA Y DATOS === */
.bienvenida-box {
  background: linear-gradient(
    to bottom,
    #f0cf2b 0%,     /* amarillo logo */
    #dea160 60%,    /* durazno claro */
    #f09952 75%,    /* naranja pastel */
    rgba(0,0,0,0) 100%  /* transición a fondo */
  );
  color: #333;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
  box-shadow: inset 0 -40px 60px -20px rgba(0, 0, 0, 0.4);
}

.bienvenida-bloque {
  background: rgba(28, 28, 28, 0.92); /* fondo oscuro semitransparente */
  border-radius: 16px;
  padding: 30px;
  max-width: 650px;
  margin: auto;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4); /* sombra más profunda */
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 25px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* soporte Safari */
  animation: fadeInUp 1s ease-out;
  border: 1px solid rgba(240, 207, 43, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ubicacion {
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #ffeb3b;
}

/* === REDES SOCIALES === */
.redes-sociales {
  margin-top: 20px;
}
.iconos-redes {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.iconos-redes a {
  text-decoration: none;
  font-size: 2.4rem;
}
.fa-whatsapp {
  color: #25d366;
}
.fa-instagram {
  color: #e1306c;
}

/* === FOOTER === */
footer {
  background-color: #000 !important;
  color: #FFD700;
  padding: 10px 0;
  text-align: center;
  margin: 0;
  min-height: 50px;
  z-index: 2;
  position: relative;
}
footer a {
  margin: 0 10px;
  text-decoration: none;
}

html {
  background-color: #000;
}

/* === LOGO REDONDO === */
.logo-redondo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  border: none;
  box-shadow: none;
  max-width: 100%;
}

/* === EMPANADAS === */
.bloque-precio-empanadas.simple {
  background-color: #1c1c1c;
  color: #fff;
  padding: 20px 30px;
  margin: 30px auto;
  border-radius: 12px;
  max-width: 600px;
  text-align: center;
  border: 2px solid #ffc107;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.bloque-precio-empanadas.simple h3 {
  color: #ffc107;
  margin-bottom: 16px;
}
.bloque-precio-empanadas.simple .precio {
  color: #4CAF50;
  font-weight: bold;
}

/* === CONOS === */
.bloque-promo-conos {
  background-color: #1c1c1c;
  color: #fff;
  padding: 20px 30px;
  margin: 30px auto;
  border-radius: 12px;
  max-width: 600px;
  border: 2px solid #ffc107;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  text-align: left;
}
.bloque-promo-conos h3 {
  color: #ffc107;
  margin-bottom: 20px;
  font-size: 1.6rem;
  text-align: center;
  text-transform: uppercase;
}
.bloque-promo-conos ul {
  list-style-type: disc;
  padding-left: 30px;
  font-size: 1.2rem;
  column-count: 2;
  column-gap: 40px;
}
.bloque-promo-conos li {
  margin-bottom: 10px;
}
.bloque-promo-conos li::marker {
  font-size: 1.3em;
  color: #fff;
}
.nota-conos {
  background-color: #2c2c2c;
  color: #fbf5fc;
  padding: 10px 15px;
  border: 2px solid #ffc107;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* === Precios dobles === */
.precios-dobles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}
.label {
  color: #fff;
}
.monto {
  color: #4CAF50;
}

/* === RESPONSIVE CELULARES === */
@media (max-width: 768px) {
  nav {
    width: fit-content;
    max-width: 90%;
    overflow-x: auto;
    padding: 4px 10px;
    margin: 0 auto;
    border-radius: 14px;
  }

  nav ul {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 0.5rem 12px;
    margin: 0;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge */
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-behavior: smooth;
  }

  nav ul::-webkit-scrollbar {
    display: none;
  }

  nav li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  nav a {
    font-size: 1rem;
    padding: 7px 14px;
  }

  .datos-negocio {
    max-width: 90%;
    padding: 10px;
  }

  .bienvenida h1 {
    font-size: 1.8rem;
  }

  .card-horizontal.full {
    flex-direction: row;
    align-items: center;
    height: 180px;
    padding: 10px;
    gap: 10px;
    width: 80vw;
    max-width: 350px;    /* Limita el ancho de la card */
    margin: 12px auto;
    border-radius: 12px;
  }
  .card-horizontal.full img {
    width: 85px;
    height: 85px;
    border-radius: 10px;
    margin-left: 0;
  }
  .card-horizontal.full .info {
    width: calc(100% - 92px);
    padding-right: 0;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
  }
  .card-horizontal.full h4,
  .card-horizontal.full p,
  .card-horizontal.full .price {
    font-size: 0.95rem;
  }

  footer {
    font-size: 0.9rem;
    padding: 15px;
  }

  .section {
    padding: 20px 16px;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  #sobre-nosotros {
    max-width: 80vw !important;
    width: 80vw !important;
    min-width: unset;
    padding: 22px 8px 18px 8px;
    border-radius: 14px;
  }
  #sobre-nosotros h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  #sobre-nosotros p {
    font-size: 0.99rem;
  }
  #cerrar-sobre-nosotros {
    top: 9px;
    right: 13px;
    font-size: 1.7rem;
  }
}

/* === ESTADO HORARIOS === */

.estado-horarios-box {
  background: #1c1c1c;
  padding: 25px 20px;
  border-radius: 16px;
  border: none;
  max-width: 500px;
  margin: 25px auto;
  text-align: center;
  box-shadow: 0 0 18px rgba(255, 193, 7, 0.3);
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.btn-horario {
  background-color: #ffc107;
  color: #000;
  border: none;
  padding: 6px 16px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
  display: inline-block; /* que no ocupe todo el ancho */
  width: auto;
  margin: 0 auto;
}

.btn-horario:hover {
  background-color: #ffd54f;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.5);
}

.horarios-detalle {
  display: none;
  margin-top: 15px;
  color: #fff;
  font-size: 0.95rem;
  text-align: left;
  background-color: #2c2c2c;
  padding: 15px;
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.4);
}

.horarios-detalle ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.horarios-detalle li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.horarios-detalle li::before {
  content: "🕒";
  font-size: 1rem;
  color: #ffc107;
}

.ubicacion-link {
  font-size: 1rem;
  margin: 0 auto;
  background: #2c2c2c;
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.ubicacion-link a {
  color: #fff; /* hace el texto blanco */
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ubicacion-link a i {
  color: #ffc107; /* deja el ícono dorado */
}

.ubicacion-link:hover {
  background: #3a3a3a;
}

.ver-mapa {
  font-size: 0.9rem;
  color: #aaa;
  margin-left: 8px;
  font-weight: normal;
}

/* === PAGO REDES === */

.pago-redes-moderno {
  text-align: center;
  padding: 20px 0;
  color: #fff;
}

.pago-redes-moderno h3 {
  color: #fff; /* blanco */
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.lista-medios {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 14px 40px;
  font-size: 1rem;
  max-width: 400px;
  justify-content: center;
  text-align: left;
  padding-left: 70px;
}

.lista-medios li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddd;
  justify-content: flex-start; /* Asegura alineación a la izquierda */
}

.lista-medios i {
  color: #4CAF50;
  font-size: 1.1rem;
}

.pedido-wsp a,
.redes-sociales-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  margin: 12px 0;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 30px;
  transition: background 0.3s;
}

.pedido-wsp a {
  background-color: #25d366;
}

.pedido-wsp a:hover {
  background-color: #1da955;
}

.redes-sociales-link a {
  background-color: #e1306c;
}

.redes-sociales-link a:hover {
  background-color: #c01e59;
}

.pedido-wsp i,
.redes-sociales-link i {
  color: #ffffff !important; /* blanco puro */
  filter: none !important;   /* sin efectos */
  font-size: 1.2rem;
}

/* === MODAL LIMPIO Y FUNCIONAL === */
#item-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#item-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

#item-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff8e1;
  border-radius: 18px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  text-align: left;
  box-sizing: border-box;
}

#item-modal.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

#item-modal img {
  border-radius: 12px;
  object-fit: cover;
  max-height: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}

/* Descripcion card */

.card-horizontal.full .info p {
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: 0.9rem;
  line-height: 1.4;
  max-height: 60px; /* Limita la altura del texto */
}

.modal-item-details {
  font-family: 'Montserrat', sans-serif;
  text-align: left;
  padding: 0;
  color: #333;
  display: flex;
  flex-direction: column;
}

.modal-item-details h4 {
  font-size: 1.6rem;
  margin: 0 0 6px;
  color: #222;
}

.modal-item-details p {
  font-size: 1rem;
  margin: 6px 0 12px;
  color: #555;
}

#modal-item-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #4CAF50;
}

#close-modal-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.8rem;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}

#close-modal-btn:hover {
  color: #f44336;
}

.modal-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #4CAF50;
  margin: 4px 0;
}

/* Estado-Local */

.estado-local {
  font-size: 1.2rem;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  margin: 0 auto 10px auto;
  display: inline-block;
  background-color: #2b2b2b;
  color: #fff;
  border: 2px solid transparent;
  position: relative;
  padding-left: 42px;
  max-width: 280px;
  text-align: center;
}

.estado-local::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0.9em;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #f44336;
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
  transition: background-color 0.3s;
}

/* Estados */
.estado-local.abriendo {
  background-color: #3c2e1e;
  border: 2px solid #ffc107;
  color: #fff3cd;
}

.estado-local.cerrando {
  background-color: #3c2e1e;
  border: 2px solid #ffc107;
  color: #fff3cd;
}

.estado-local.cerrado {
  background-color: #3c2b2b;
  border: 2px solid #f44336;
  color: #ffdede;
}

.estado-local.abierto {
  background-color: #2e3f2e;
  border: 2px solid #4CAF50;
  color: #c8ffc8;
}

/* luz led */
.estado-local.abriendo::before {
  background-color: #ffbb4f;
  box-shadow: 0 0 6px rgba(255, 235, 59, 0.6);
  top: 1.3em;
}

.estado-local.cerrando::before {
  background-color: #ffbb4f;
  box-shadow: 0 0 6px rgba(255, 82, 82, 0.6);
  top: 1.3em;
}

.estado-local.abierto::before {
  background-color: #4CAF50;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
  animation: pulse 1.5s infinite;
  top: 0.92em;
}

.estado-local.cerrado::before {
  background-color: #f44336;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
  top: 1.3em;
}

/* Animaciones */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

#sobre-nosotros-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.25s;
}
#sobre-nosotros-overlay.visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

#sobre-nosotros {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.97);
  background: linear-gradient(135deg, #ffe9b9 0%, #fff 100%);
  color: #222;
  border-radius: 18px;
  max-width: 450px;
  width: 92vw;
  min-height: 180px;
  padding: 34px 34px 22px 34px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.21);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s, transform 0.27s;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#sobre-nosotros.visible {
  opacity: 1;
  pointer-events: auto;
  display: flex;
  transform: translate(-50%,-50%) scale(1);
}

#sobre-nosotros h2 {
  width: 100%;
  margin: 0 0 10px 0;
  text-align: center;
  color: #c97a1c;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.6px;
}

#sobre-nosotros p {
  color: #222;
  font-size: 1.13rem;
  margin: 0;
  text-align: center;
  width: 100%;
  font-family: inherit;
}

#cerrar-sobre-nosotros {
  background: none;
  border: none;
  font-size: 2rem;
  color: #c97a1c;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 2px;
  margin-right: -9px;
  transition: color 0.2s;
  position: absolute;
  top: 15px; right: 19px;
  z-index: 1;
}
#cerrar-sobre-nosotros:hover {
  color: #f44336;
}

