/* Ocultar para cambio de idioma */
.hidden {
    display: none;
}
/* FIN Ocultar para cambio de idioma */


/* Estilo para cada elemento del menú Galeria fotografica */
.menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    box-shadow: 0 0 6px 6px rgba(251, 234, 78, 0.6) !important;
	border: 2px solid #000;
}

.menu-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.menu-item:hover img {
    transform: scale(1.1);
}
/* FIN Estilo para cada elemento del menú Galeria fotografica */


/* Estilo para cada elemento del Submenú Esculturas */
.subGalleryGroup {
	display: none; /* ocultas por defecto */
	display: grid;
  	/* grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem; /* separación entre miniaturas */
}

.sub_menu {
  display: grid;
  white-space: normal;
  overflow: visible;
  gap: 20px;
  padding: 20px;
}

/* Estilo para cada miniatura */
.sub_menu-item {
  	text-align: center;
  	display: flex;
  	max-width: 220px;
	position: relative;
  	overflow: hidden;
  	border-radius: 10px;
  	transition: transform 0.3s ease, box-shadow 0.3s ease;
  	cursor: pointer;
  	flex-direction: column;
	align-items: center;
}

.sub_menu-item:hover {
    box-shadow: 0 0 6px 6px rgba(251, 234, 78, 0.6);
	outline: 2px solid #000;
}

/* Imagen dentro de la miniatura */
.sub_menu-item img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Zoom al hacer hover */
.sub_menu-item:hover img {
	transform: scale(1.1);
}

/* Pie de imagen */
.pie_de_imagen {
	width: 100%;
  	margin-top: 8px;
  	text-align: center;
  	font-weight: bold;
  	color: #FFF !important;
}
/* FIN Estilo para cada elemento del Submenú Esculturas */



/* Pie de foto para subgaleria */
.subgallery-item {
	display: flex;
  	flex-direction: column;
  	align-items: center;
  	width: 200px;
}

.subgallery-wrapper {
  	width: 200px;
  	height: 200px;
  	overflow: hidden;
  	border-radius: 12px;
  	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  	background-color: white;
}

.subgallery-wrapper:hover img {
  	transform: scale(1.1);
}

.subgallery-img {
  	width: 100%;
  	height: 100%;
  	object-fit: cover;
  	display: block;
  	transition: transform 0.3s ease;
}

.subgallery-title {
  	margin-top: 8px;
  	text-align: center;
  	font-family: sans-serif;
  	font-size: 14px;
  	color: white;
  	background-color: red;
  	padding: 6px 0;
  	width: 100%;
  	border-radius: 0 0 12px 12px;
  	
}
/* FIN Pie de foto para subgaleria */



/* Pie de foto */
.pie_de_imagen {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1rem;
    text-align: center;
    padding: 10px;
    transition: background 0.3s ease;
}

.back-button {
    font-size: 1rem;
    color: #000000 !important;
    text-align: center;
    letter-spacing: 0;
    width: auto;
    text-transform: none;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0px 0px 4px 4px;
    background-color: #FFFFFF;
    z-index: 1000;
}

.back-button:hover {
    opacity: .7;
    background-color: #FFFFFF;
}

.back-button.visible {
    display: block;
}

.gallery {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    cursor: pointer;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}








/* Efecto al pasar el cursor sobre las miniaturas
.lg-thumb-item:hover img {
    border: 3px solid #ffd200;
} */

.contenedor:hover .imagen {-webkit-transform:scale(1.3);transform:scale(1.3);}
.contenedor {overflow:hidden;}

/* Resaltar miniatura activa */
.lg-thumb-item.lg-current img {
    box-shadow: 0 0 10px rgba(255, 210, 0, 1);
    transform: scale(1.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lg-thumb-item.lg-current {
    border: 3px solid #ffcc00;
    border-radius: 5px;
    transform: scale(1.1);
    transition: transform 0.3s ease, border 0.3s ease;
}

/* Transición para todas las miniaturas */
.lg-thumb-item {
    transition: transform 0.3s ease, border 0.3s ease;
}

.lg-thumb .lg-thumb-item.lg-thumb-active {
  border: 2px solid #007bff; /* Borde azul */
  opacity: 1; /* Totalmente visible */
  transform: scale(1.1); /* Aumentar ligeramente el tamaño */
  transition: all 0.3s ease; /* Animación suave */
}






/**************************/
/* MEDIA QUERY */
/**************************/

@media (max-width: 768px) {
	.lg-thumb-item {
	width: calc(15vw); /* Reducir tamaño de miniaturas */
	max-width: 80px; /* Limitar tamaño máximo */
    }
	
	.sub_menu {
    grid-template-columns: 1fr !important;
	
}

@media (max-width: 480px) {
	.lg-thumb-item {
	width: calc(20vw); /* Aumentar proporcionalmente para móviles */
	max-width: 60px; /* Limitar tamaño máximo en móviles */
    }
}


