/* Reset básico */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* estilos.css */
/* BLOQUE: Header con pseudo-elemento de fondo */
#inicio {
  position: relative;       /* Contenedor relativo para el ::before */
  overflow: hidden;         /* Evita que se salga la imagen */
  padding: 80px 20px;
  color: #fff;
  z-index: 1;               /* Texto por encima del ::before */
}

/* El fondo */
#inicio::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("../image/fondo.jpeg") center/cover no-repeat;
  opacity: 0.5;             /* Ajusta transparencia */
  z-index: -1;              /* Detrás del texto */
}

/* Estilos de texto para buen contraste */
#inicio h1, #inicio p {
  margin: 0;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

/* Contenedor principal para mantener el footer abajo */
.wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Encabezados */
h1 {
  color: #f451b3;
}
h2, h5 {
  color: #080808;
}

/* Carrusel multi-imagen */
.carousel-item > .d-flex > div {
  flex: 1;
  max-width: 50%;
}
.carousel-item img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.carousel-item img:hover {
  transform: scale(1.05);
}

img.producto {
  max-width: 100%;
  height: auto;
}

/* Tarjetas de productos */
.card {
  border: none;
  transition: box-shadow 0.3s ease;
}
.card:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.card-img-top {
  height: 180px;
  object-fit: cover;
}

/* Botones flotantes de redes sociales */
.social-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.btn-social {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background-color: transparent;
  box-shadow: 0 4px 8px rgba(72, 29, 240, 0.2);
  transition: transform 0.3s ease;
}

.btn-social {
  cursor: pointer;
}

.btn-social:active,
.btn-social:focus {
  transform: scale(0.95);
  outline: 2px solid #f451b3;
}

.icono-red {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Footer fijo al fondo */
footer {
  margin-top: auto;
}

/* Tabla del carrito */
.table img {
  border-radius: 8px;
}

/* Botones */
.btn-primary {
  background-color: #f451b3;
  border-color: #f451b3;
}
.btn-primary:hover {
  background-color:  #4ff9f6;
  border-color: #4ff9f6;
}
.btn-success:hover {
  background-color: #f451b3;
  border-color: #f451b3;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .carousel-item > .d-flex {
    flex-direction: column;
  }
  .carousel-item > .d-flex > div {
    max-width: 100%;
  }
  
  .card-img-top {
    height: 150px;
  }
}