* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
}

/* ENCABEZADO */
header {
  background-color: #ffffff;
  padding: 15px 0;
  text-align: center;
}

header h1 {
  color: white;
  font-size: 2em;
}

nav ul {
  list-style: none;
  margin-top: 10px;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover,
nav a.activo {
  text-decoration: underline;
}
.carrito {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.boton-ordenar {
  background-color: #850400;
  color: white;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.3s;
}

.boton-ordenar:hover {
  background-color: #b56540;
}

/* HERO */
.hero {
  position: relative;
  text-align: left;
  color: white;
  padding: 150px 60px;
  background-image: url('momento1.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 1000px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero h2, .hero p {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h2 {
  font-size: 2.8em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.3em;
}

/* CATEGORÍAS */
.categorias {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.categoria {
  width: 300px;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.categoria img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.categoria h3 {
  padding: 15px;
  color: #000000;
  font-size: 1.5em;
}

.categoria:hover { transform: scale(1.05); }

/* SOBRE NOSOTROS */
.sobre-nosotros {
  background-color: #ffffff;
  padding: 80px 20px;
}

.contenedor-sobre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}

.contenedor-sobre img {
  width: 400px;
  border-radius: 15px;
  object-fit: cover;
}

.texto-sobre {
  max-width: 500px;
}

.texto-sobre h2 {
  color: #000000;
  margin-bottom: 15px;
}

.texto-sobre p {
  color: #333;
  line-height: 1.6;
}

/* PRODUCTOS POPULARES */
.productos {
  text-align: center;
  padding: 60px 20px;
}

.productos h2 {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 30px;
}

.galeria {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.card {
  background: white;
  border-radius: 15px;
  width: 260px;
  box-shadow: 0 4px 8px rgb(255, 255, 255);
  transition: transform 0.3s;
}

.card:hover { transform: scale(1.05); }

.card img {
  width: 100%;
  border-radius: 15px 15px 0 0;
}

.card h3 {
  color: #000000;
  margin: 10px 0;
}

.card p {
  font-size: 0.9em;
  padding: 0 10px;
}

.card span {
  display: block;
  font-weight: bold;
  color: #444;
  margin: 10px 0 15px;
}

/* OPINIONES */
.opiniones {
  background-color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.opiniones h2 {
  color: #000000;
  margin-bottom: 30px;
}

.reseñas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.reseña {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  width: 280px;
  font-style: italic;
}

.reseña span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #850400;
}

/* GALERÍA LOCAL */
.galeria-local {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 70px 20px;
}

.galeria-local h2 {
  color: #000000;
  margin-bottom: 30px;
}

.imagenes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.imagenes img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.imagenes img:hover { transform: scale(1.05); }

/* CTA */
.cta {
  background-color: #fffcfc;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.cta .boton-cta {
  display: inline-block;
  background: #850400;
  color: #000000;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta .boton-cta:hover {
  background: #fff0f0;
}

/* CONTACTO */
.contacto {
  background-color: #ffffff;
  text-align: left;
  padding: 70px 50px;
}

.contacto h2 {
  text-align: center;
  color: #000000;
  font-size: 2em;
  margin-bottom: 40px;
}

.contacto-contenido {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.info-contacto {
  flex: 1;
  min-width: 280px;
}

.info-contacto p {
  font-size: 1.1em;
  margin: 10px 0;
  color: #000000;
}

.redes { margin-top: 25px; }

.redes h3 {
  color: #fff;
  margin-bottom: 15px;
}

.ubicacion {
  flex: 1;
  min-width: 320px;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ubicacion iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 10px;
  margin-top: 10px;
}

.ubicacion h3 {
  color: #410000;
  margin-bottom: 10px;
}

.ubicacion p {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333;
}

.ubicacion iframe {
  width: 100%;
  height: 250px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .contacto-contenido {
    flex-direction: column;
    align-items: center;
  }
  .info-contacto, .ubicacion {
    width: 100%;
    max-width: 500px;
  }
  .ubicacion { margin-top: 30px; }
}

/* ICONOS REDES */
.icono {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px;
  padding: 12px 25px;
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s;
}

.icono i { font-size: 1.2em; }

.insta { background-color: #e1306c; }
.face { background-color: #1877f2; }
.whats { background-color: #25d366; }

.icono:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* FOOTER */
footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 50px;
}
