body { 
  font-family: Arial, sans-serif; 
  margin:0; 
  background:#f4f8fb; 
}

header { 
  background:#444444; 
  color:white; 
  padding:15px; 
  display:flex; 
  justify-content:space-between; 
}

nav a { 
  color:white; 
  margin:0 10px; 
  text-decoration:none; 
}

.icon { 
  margin-left:10px; 
  cursor:pointer; 
}

/* ===============================
   BIENVENIDA CON VIDEO DE FONDO
   =============================== */

.welcome {
  position: relative;
  width: 100%;
  height: 80vh;          /* Altura del banner */
  overflow: hidden;
  padding: 0;            /* Quitamos el padding anterior */
}

/* Video */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Contenido encima del video */
.welcome-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.35); /* Overlay */
}

.welcome-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.welcome-content p {
  font-size: 1.3rem;
  max-width: 700px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ===============================
   SECCIONES DE PRODUCTOS
   =============================== */

.products { 
  padding:40px; 
}

.grid { 
  display:grid; 
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); 
  gap:20px; 
}

.card {
  background:white;
  padding:15px;
  border-radius:8px;
  text-align:center;
  position:relative;
}

.card img { 
  width:100%; 
  border-radius:6px; 
}

/* Precio en rojo */
.price {
  position:absolute;
  bottom:10px;
  right:10px;
  background:white;
  color:red;
  font-weight:bold;
  padding:4px 8px;
  border-radius:6px;
  font-size:14px;
}

/* Botón */
button {
  background:#006bb3;
  color:white;
  border:none;
  padding:8px 12px;
  cursor:pointer;
  margin-top:10px;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 768px) {
  .welcome {
    height: 60vh;
  }

  .welcome-content h2 {
    font-size: 2rem;
  }

  .welcome-content p {
    font-size: 1.1rem;
    padding: 0 20px;
  }
}
/* ===== SECCIÓN VIDEO BIENVENIDA ===== */

.welcome {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  padding: 0;
}

/* VIDEO (CLASE CORRECTA) */
.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* TEXTO ENCIMA DEL VIDEO */
.welcome-content {
  position: relative;
  z-index: 2; /* CLAVE */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.35);
}

.welcome-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.welcome-content p {
  font-size: 1.3rem;
  max-width: 700px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .welcome {
    height: 60vh;
  }

  .welcome-content h2 {
    font-size: 2rem;
  }

  .welcome-content p {
    font-size: 1.1rem;
    padding: 0 20px;
  }
}

/* ===============================
   FOOTER / COPYRIGHT
   =============================== */

.footer {
  background: #5e5d5d;
  color: #cccccc;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  margin-top: 40px;
}

.footer p {
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    font-size: 13px;
  }
}
