/* ====== ESTILOS GENERALES ====== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #FF0000;
  color: #FF0000;
}

/* ====== ENCABEZADO ====== */
header {
  background-color: #d32f2f;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
header img {
  width: 120px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}
header h1 {
  margin: 0.5rem 0 0;
  font-size: 2rem;
}
header p {
  margin: 0;
  font-size: 1.1rem;
  color: #ffe9e9;
}

/* ====== NAVEGACIÓN ====== */
nav {
  background-color: #222;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.8rem;
}
nav a {
  color: #ff9800;
  text-decoration: none;
  font-weight: bold;
  background: #1b1b1b;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  transition: background 0.3s, transform 0.2s;
}
nav a:hover {
  background: #ff9800;
  color: #111;
  transform: scale(1.05);
}

/* ====== BANNER ====== */
.hero {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}
.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero img.active {
  opacity: 1;
}
.hero-text {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 10px black;
}

/* ====== PRODUCTOS ====== */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}
.producto {
  background: #1c1c1c;
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.3s;
  overflow: hidden; /* evita que se salga el zoom */
}
.producto:hover {
  transform: scale(1.05);
}

/* 🔍 ZOOM EN IMÁGENES */
.producto img {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,152,0,0.6);
  transition: transform 0.3s ease; /* transición suave */
}
.producto img:hover {
  transform: scale(1.15); /* zoom al pasar el mouse */
}

.producto h3 {
  margin-top: 0.8rem;
  color: #ff9800;
}
.producto p {
  font-size: 0.95rem;
}
.producto .btn {
  display: inline-block;
  margin-top: 0.6rem;
  background-color: #ff9800;
  color: #111;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.producto .btn:hover {
  background-color: #ffa733;
}

/* ====== CONTACTO ====== */
.contacto {
  text-align: center;
  padding: 2rem;
}
.contacto a {
  color: #ff9800;
  text-decoration: none;
  font-weight: bold;
}
.contacto a:hover {
  text-decoration: underline;
}

/* ====== PIE DE PÁGINA ====== */
footer {
  background: #222;
  text-align: center;
  padding: 1.5rem;
  color: #bbb;
  font-size: 0.9rem;
}
.redes a {
  color: #ff9800;
  margin: 0 8px;
  text-decoration: none;
  font-weight: bold;
}
.redes a:hover {
  color: #fff;
}

/* ====== BOTÓN WHATSAPP ====== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px #999;
  z-index: 100;
  transition: transform 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
