/* --- RESET Y BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

/* --- HEADER Y LOGO --- */
header {
  text-align: center;
  padding: 20px 0;
  background-color: #C84DD6; /* morado */
}

header .logo img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}

header .logo h1 {
  margin-top: 10px;
  font-size: 2rem;
  color: #fff;
}

/* --- RECUADRO DEL MENÚ --- */
.menu-recuadro {
  background-color: #fff; /* fondo blanco */
  border: 3px solid #C84DD6; /* borde morado */
  border-radius: 20px;
  display: inline-block;
  padding: 15px 40px;
  margin-top: 20px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* --- MENÚ INTERNO --- */
nav.menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav.menu ul li {
  margin: 0 20px;
}

nav.menu ul li a {
  text-decoration: none;
  color: #C84DD6;
  font-weight: bold;
  font-size: 1.2rem;
  transition: 0.3s;
}

nav.menu ul li a:hover {
  color: #8e28a6;
  text-decoration: underline;
}

/* --- MÓDULO DE REDES SOCIALES --- */
.redes-sociales {
  text-align: center;
  margin-top: 40px;
}

.redes-sociales h3 {
  font-size: 1.6rem;
  color: #C84DD6;
  margin-bottom: 20px;
  font-weight: 700;
}

.iconos-redes {
  display: flex;
  justify-content: center; /* 🔹 Esto centra los iconos horizontalmente */
  align-items: center;      /* 🔹 Esto los alinea verticalmente */
  gap: 25px;                /* Espacio entre iconos */
  flex-wrap: wrap;          /* Permite que se acomoden en varias filas si hace falta */
  width: 100%;
}

.iconos-redes a svg {
  transition: transform 0.3s ease, fill 0.3s ease;
}

.iconos-redes a:hover svg {
  transform: scale(1.2);
  fill: #8e28a6; /* tono más oscuro al pasar el ratón */
}


nav ul { list-style: none; display: flex; gap: 20px; }
nav ul li a { text-decoration: none; color: #333; font-weight: bold; }
.banner { position: relative; text-align: center; }
.banner img { width: 100%; height: auto; }
.banner h2 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 2.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.productos { padding: 50px 20px; text-align: center; }
.historia-container {
  background-color: #fdf5ff;   
  border: 2px solid #cda4ff;   
  padding: 30px;                
  border-radius: 15px;          
  max-width: 800px;             
  margin: 0 auto;              
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}

.grid-productos { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.producto { border: 5px solid #ccc; padding: 20px; width: 250px; }
.producto img { width: 100%; height: auto; }
.contacto { padding: 50px 20px; text-align: center; }
.contacto form { display: flex; flex-direction: column; gap: 15px; max-width: 400px; margin: 0 auto; }
.contacto input, .contacto textarea { padding: 10px; font-size: 1rem; width: 100%; }
.contacto button { padding: 10px; background-color: #ffcc00; border: none; font-weight: bold; cursor: pointer; }
footer { text-align: center; padding: 20px; background-color: #333; color: #fff; }