/* RESET + VARIABLES */
:root {
  --rojo: #e63946;
  --verde: #25D366;
  --negro: #000;
  --blanco: #ffffff;
  --gris-degradado: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  color: var(--blanco);
  scroll-behavior: smooth;
}

/* ============================= */
/* HEADER                        */
/* ============================= */
.header {
  background: linear-gradient(to right, #000, #3a0000, var(--rojo));
  color: var(--blanco);
  padding: 20px 30px;
  text-align: center;
}

.logo img {
  height: 80px;
  width: auto;
  margin-bottom: 10px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav .activo {
  color: var(--rojo);
}

/* ============================= */
/* HERO (SECCIÓN VIDEO)         */
/* ============================= */
.hero {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 30px;
  align-items: center;
  background: rgba(0, 0, 0, 0.4); /* Superposición oscura */
}

.hero-texto {
  flex: 1;
  padding: 20px;
}

.hero-texto h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--rojo);
}

.hero-texto p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.hero-texto ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
}

.hero-texto li {
  margin-bottom: 8px;
}

.hero-video {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video video {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

/* ============================= */
/* HERO PRESENTACIÓN INDEX      */
/* ============================= */
.hero-presentacion {
  padding: 60px 30px;
  background: linear-gradient(to bottom, #2a2a2a, #1b1b1b);
  color: #fff;
}

.hero-presentacion .titulo-seccion {
  text-align: center;
  font-size: 2rem;
  color: var(--rojo);
  margin-bottom: 30px;
}

.hero-presentacion .imagenes-presentacion {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.hero-presentacion .imagenes-presentacion div {
  text-align: center;
  max-width: 300px;
}

.hero-presentacion .imagenes-presentacion img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.hero-presentacion .imagenes-presentacion img:hover {
  transform: scale(1.05);
}

.hero-presentacion .imagenes-presentacion p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--rojo); 
}

/* ============================= */
/* BOTÓN WHATSAPP                */
/* ============================= */
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.btn-whatsapp img {
  height: 45px;
  width: 45px;
  transition: transform 0.2s ease;
}

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

/* ============================= */
/* FOOTER                        */
/* ============================= */
.footer {
  background: #000;
  color: var(--blanco);
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
}

.footer .redes {
  margin-top: 10px;
}

.footer .redes a img {
  height: 25px;
  margin: 0 5px;
}

/* ============================= */
/* RESPONSIVE                   */
/* ============================= */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-video video {
    width: 90%;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .imagenes-sucursal {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================= */
/* SUCURSALES - AJUSTES VISUALES */
/* ============================= */
.sucursales {
  padding: 60px 30px;
  text-align: center;
  color: var(--blanco);
}

.sucursales .intro {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.sucursal {
  background: linear-gradient(to bottom, #2a2a2a, #1b1b1b); /* gris oscuro degradado */
  color: var(--blanco);
  padding: 30px 20px;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.sucursal h2 {
  margin-bottom: 15px;
  color: var(--rojo);
}

.sucursal p {
  margin: 6px 0;
}

.sucursal .btn-whatsapp-link {
  margin: 10px auto;
  display: inline-block;
  padding: 10px 16px;
  background: var(--verde);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.sucursal .btn-whatsapp-link:hover {
  background: #1ebe5d;
  transform: scale(1.05);
}

/* ============================= */
/* IMÁGENES SUCURSAL             */
/* ============================= */
.imagenes-sucursal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.imagenes-sucursal img {
  width: 300px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.imagenes-sucursal img:hover {
  transform: scale(1.03);
}

/* ============================= */
/* MAPAS EMBEBIDOS               */
/* ============================= */
.mapa {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

.mapa iframe {
  width: 100%;
  height: 250px;
  border: none;
  display: block;
}
/* ============================= */
/* CATALOGO               */
/* ============================= */
.categorias-sticky {
  position: sticky;
  top: 0; /* 👈 achicás la distancia desde arriba */
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  padding: 10px 16px; /* 👈 también podés achicar el padding */
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 12px;
  z-index: 999;
}

.categorias-sticky a {
  background: var(--rojo);
  color: white;
  padding: 10px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
.categorias-sticky a[href="#veganas"] {
  background-color: var(--verde);
  color: #fff;
}

.categorias-sticky a:hover {
  background-color: #c72536;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}


.card {
  background: rgba(30, 30, 30, 0.85); /* Gris oscuro translúcido */
  color: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.card h3 {
  color: var(--rojo);
  text-align: center;
}


.card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.card {
  background: rgba(30, 30, 30, 0.85); /* Gris oscuro translúcido */
  color: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


.card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.card .btn-whatsapp-link {
  display: inline-block;
  background-color: var(--verde);
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s;
}

.card .btn-whatsapp-link:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}


.titulo-seccion {
  text-align: center;
  color: var(--rojo);
  font-size: 2rem;
  margin: 40px 0 20px;
}
#veganas .titulo-seccion {
  color: var(--verde);
}

.subtitulo-veganas {
  text-align: center;
  font-size: 1rem;
  color: #ccc;
  margin-top: -10px;
  margin-bottom: 20px;
}

/* ============================= */
/* PIZZA-PARTY                   */
/* ============================= */

.btn-whatsapp-link {
  display: inline-block;
  background-color: var(--verde);
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.2s;
}

.btn-whatsapp-link:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}
.hero-imagen video {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.25);
  filter: brightness(1.1) contrast(1.1);
}

.btn-ver-video {
  display: inline-block;
  margin-bottom: 10px;
  padding: 10px 18px;
  background-color: var(--rojo);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
}

.btn-ver-video:hover {
  background-color: #b42a35;
}


/* ============================= */
/* CONTACTO                      */
/* ============================= */
.medios-pago h2 {
  font-size: 22px;
  margin: 0 auto 20px auto; /* ✅ Centra el bloque si tiene ancho definido */
  color: #ffffff;
  text-align: center;
  display: block;
  width: max-content; /* Ajusta el ancho al contenido */
}


.iconos-pago {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.iconos-pago figure {
  text-align: center;
}

.iconos-pago img {
  width: 80px;
  height: auto;
  filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.3));
  border-radius: 5px;
}

.contacto-wsp {
  text-align: center; /* ✅ Centra todo el texto y el botón */
  margin: 40px auto;
  max-width: 600px;
  padding: 0 20px;
}

.contacto-wsp h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
}

.contacto-wsp p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffffff;
}

.btn-whatsapp-link {
  background-color: #25D366;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-whatsapp-link:hover {
  background-color: #1ebe5d;
}

.formulario-contacto {
  max-width: 500px;
  margin: 30px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.formulario-contacto h2 {
  text-align: center;
  color: var(--rojo);
  margin-bottom: 20px;
}

.formulario-contacto label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.formulario-contacto button {
  background-color: var(--verde);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s ease;
  width: 100%;
}

.formulario-contacto button:hover {
  background-color: #1ebe5d;
  transform: scale(1.03);
}

.contacto-link-final {
  background: linear-gradient(to bottom, #f0f0f0, #e0e0e0); /* fondo gris degradado */
  color: #333; /* texto más legible sobre fondo claro */
  padding: 20px 25px;
  border-radius: 12px;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 40px auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contacto-link-final a {
  color: #b22222; /* rojo oscuro */
  font-weight: bold;
  text-decoration: none;
  position: relative;
  padding-left: 22px;
  transition: color 0.3s ease;
}

.contacto-link-final a::before {
  content: "✏️";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(10%);
  font-size: 1rem;
}

.contacto-link-final a:hover {
  color: #ff4c4c;
  text-decoration: underline;
}

/* ============================= */
/* ICONOS REDES SOCIALES        */
/* ============================= */
.redes {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.redes a img {
  height: 32px;
  width: 32px;
  transition: transform 0.2s ease;
}

.redes a img:hover {
  transform: scale(1.1);
}

.fondo-fijo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../img/fondo-madera.jpg');
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: top center;
  z-index: -1;
}
main {
  position: relative;
  z-index: 1;
  overflow: visible; /* 👈 importante para que sticky funcione */
}

