/* styles.css */

/* ==== FONDO Y ESTILO GENERAL ==== */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  color: #fff;
  background: linear-gradient(135deg, #000, #111, #000);
  background-size: 400% 400%;
  animation: fondoAnimado 15s ease infinite;
  position: relative;
  min-height: 100vh;
}

@keyframes fondoAnimado {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('logo-qc.jpeg');
  background-repeat: repeat;
  background-size: 180px;
  opacity: 0.04;
  z-index: -1;
}

/* ==== HEADER ==== */
header {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  text-align: center;
  padding: 10px 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  }
    header h1 {
  font-family: "Anton", sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  background: linear-gradient(90deg, #fff, #746f6e);
    -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(200, 213, 216, 0.986);

 }


nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

nav a.activo,
nav a:hover {
  color: #aaa;
}

/* ==== SECCION PRINCIPAL ==== */
section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

section.inicio p {
  max-width: 600px;
  margin: 10px auto 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
  text-align: center;
}

/* ==== PRODUCTOS GRID ==== */
.grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.producto {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  color: #fff;
}

.producto:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

.producto img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  padding: 10px;

  display: block;
  margin: 0 auto 12px; /* centrado horizontal */
}

.producto h3 {
  margin: 10px 0 6px;
  font-size: 1.2rem;
}

.precio {
  font-weight: 700;
  font-size: 1.1rem;
  color: #100f0f;
}

/* ==== FOOTER ==== */
footer {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 50px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

footer a {
  color: #aaa;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* ==== LOGO FLOTANTE ==== */
.logo-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: transform 0.3s;
  z-index: 101;
}

.logo-flotante:hover {
  transform: scale(1.1);
}

.logo-flotante img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.boton-explorar {
  display: inline-block;
  background-color: #222;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: background-color 0.3s;
}

.boton-explorar:hover {
  background-color: #444;
}


.logo-header {
  width: 120px; /* o el tamaño que prefieras */
  height: auto;
  display: block;
  margin: 0 auto 10px; /* centrado y espacio abajo */
}

.productos h2 {
  text-align: center;
  font-size: 2rem;
  margin: 40px 0 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}





.marcas {
  text-align: center;
  padding: 40px 20px;
}

.marcas h2 {
  font-size: 2em;
  margin-bottom: 30px;
}

.contenedor-marcas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.marca {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  width: 200px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.marca:hover {
  transform: scale(1.05);
}

.marca img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #222;
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
}

.btn:hover {
  background-color: #706868;
}





.instagram-logo {
  color: #fff;                 /* Color del texto */
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;                    /* Espacio entre el logo y el texto */
  transition: color 0.3s ease, transform 0.3s ease;
}

.instagram-logo i {
  font-size: 1.5em;
  color: #696666;              /* Color del logo */
  transition: transform 0.3s ease;
}

.instagram-logo:hover {
  color: #7c7c7c;
}

.instagram-logo:hover i {
  transform: scale(1.2);
}
