/* PRODUCTOS.CSS - Fondo visible sin sombras */

body.productos-page {
  background-image: url("../Usadas/Estudio/DSC_4525.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

/* SIN OVERLAY */
body.productos-page::before {
  display: none !important;
}

body.gallery-page header, 
body.gallery-page main {
  position: relative;
  z-index: 1;
}
h1.display-2 {
  font-weight: 800;
  color: #000;
  letter-spacing: 2px;
  background: transparent;
  padding: 1rem 2rem;
  border-radius: 15px;
  display: inline-block;
  box-shadow: none !important;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.lead {
  color: #000;
  font-weight: 600;
  font-size: 1.3rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.product-card {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: none !important;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: none !important;
}

.card-img-top-wrapper {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  transition: all 0.3s ease;
}

.card-img-top-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img-top-wrapper img {
  transform: scale(1.08);
}

.product-icon-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #000;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  box-shadow: none !important;
}

.product-card:hover .product-icon-badge {
  transform: scale(1.1);
}

.product-card .card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000;
  font-weight: 700;
}

.product-card .card-text {
  color: #000;
  line-height: 1.6;
  font-weight: 500;
}

.product-card ul li {
  padding: 0.4rem 0;
  color: #000;
  font-weight: 600;
}

.product-card ul li i {
  color: #000;
}

.product-card .btn-dark {
  background-color: #000;
  border: 2px solid #000;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem;
  text-transform: uppercase;
  box-shadow: none !important;
}

.product-card .btn-dark:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.bg-dark.card {
  background: #000 !important;
  border: none;
  box-shadow: none !important;
}

.bg-dark.card h2,
.bg-dark.card h4 {
  color: #fff !important;
}

.bg-dark.card i {
  transition: transform 0.3s ease;
  color: #fff;
}

.bg-dark.card:hover i {
  transform: scale(1.1);
}

.bg-dark.card .text-muted {
  color: #ddd !important;
  font-weight: 500;
}

.bg-dark .btn-light {
  background-color: #fff;
  border: 2px solid #fff;
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: none !important;
}

.bg-dark .btn-light:hover {
  background-color: #000;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.product-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .product-card {
    margin-bottom: 1.5rem;
  }
  
  .card-img-top-wrapper {
    height: 150px;
  }
  
  .product-card .card-title {
    font-size: 1.25rem;
  }
  
  h1.display-2 {
    font-size: 2.5rem;
    padding: 1rem;
  }

  /* background-attachment: fixed da problemas de renderizado en móviles */
  body.productos-page {
    background-attachment: scroll;
  }
}