/* Estilos personalizados para la galería de YC Engineering */

/* Asegurar que todos los elementos de la galería sean visibles */
.pro-gallery-parent-container {
  position: relative;
  width: 100%;
}

.gallery-item-container {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.3s ease !important;
}

/* Elementos ocultos para LOAD MORE */
.gallery-item-container.hidden-for-load-more {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Botón LOAD MORE */
.show-more-container {
  text-align: center;
  margin: 30px 0;
  width: 100%;
}

.show-more {
  padding: 12px 30px !important;
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #000000 !important;
  font-family: 'Avenir LT W01 35 Light', sans-serif !important;
  font-size: 18px !important;
  font-weight: normal !important;
  line-height: 1.75em !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
}

.show-more:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.show-more:focus {
  outline: 2px solid #000000 !important;
  outline-offset: 2px !important;
}

/* Asegurar que las imágenes se muestren correctamente */
.gallery-item-content img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Footer en la posición correcta */
footer, .SITE_FOOTER {
  position: relative;
  width: 100%;
  clear: both;
  margin-top: auto;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item-container {
  animation: fadeIn 0.3s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .show-more {
    padding: 10px 20px !important;
    font-size: 16px !important;
  }

  .gallery-item-container {
    width: 100% !important;
    margin: 5px 0 !important;
  }
}

/* Corrección de posición del footer */
html, body {
  height: 100%;
}

#SITE_CONTAINER {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.SITE_FOOTER {
  margin-top: auto;
}