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;
  }
}
/* ===============================
   CARRUSEL 3 COLUMNAS
================================ */

.triple-carousel {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.triple-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.triple-slide {
  min-width: 100%;
  display: flex;
  height: 100%;
}

.triple-item {
  width: 33.333%;
  position: relative;
  overflow: hidden;
}

.triple-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.triple-item:hover img {
  transform: scale(1.05);
}

/* Texto inferior */

.triple-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  border: 2px solid white;
  padding: 10px 25px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  background: rgba(0,0,0,0.3);
}

/* Flechas */

.triple-prev,
.triple-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.6);
  border: none;
  font-size: 28px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
}

.triple-prev:hover,
.triple-next:hover {
  background: white;
}

.triple-prev {
  left: 20px;
}

.triple-next {
  right: 20px;
}

/* Responsive */

@media (max-width: 768px) {
  .triple-slide {
    flex-direction: column;
  }

  .triple-item {
    width: 100%;
    height: 33.33%;
  }
}
