
/************** galerias.html *************/
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.card img {
    object-fit: cover;
    height: 220px;
}
.thumbs img {
    height: 70px;
    object-fit: cover;
}

/********* galeriadetalle.html ************/

/* --- Miniaturas uniformes --- */
.thumbnail-gallery img {
    width: 100%;
    height: 150px;            /* 🔹 altura fija */
    object-fit: cover;        /* 🔹 recorta la imagen sin deformarla */
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.thumbnail-gallery img:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

/* --- Modal y carrusel --- */
.modal-content {
    border: none;
    background: rgba(0,0,0,0.9);
}

.carousel-item img {
    width: 100%;
    height: 75vh;             /* 🔹 ocupa el 80% de la ventana */
    object-fit: contain;      /* 🔹 se ajusta sin recortarse */
    background-color: #000;
}
/* --- Botón cerrar personalizado --- */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1056;
}