@charset "utf-8";
/* CSS Document */

/* Contenedor principal de la imagen */
.contenedor-hover {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Comportamiento de las imágenes */
.contenedor-hover .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.contenedor-hover .img-por-defecto {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out;
}

/* Control de estados con la clase 'activo' (JS/Click) */
.contenedor-hover.activo .img-hover {
    opacity: 1;
}

/* Estilos de las etiquetas de texto */
.etiqueta-foto {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 10;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contenedor-hover .etiqueta-despues {
    opacity: 0;
}

.contenedor-hover.activo .etiqueta-antes {
    opacity: 0;
}

.contenedor-hover.activo .etiqueta-despues {
    opacity: 1;
}

/* Botón inferior personalizado */
.btn-galeria-corpo {
    background-color: #000; /* Cambia por tu color de marca */
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-galeria-corpo:hover {
    background-color: #333;
}

.contenedor-hover {
    border-radius: 8px 8px 0 0 !important; /* Redondeado solo arriba */
}


/*SECCION REDES*/

/* ==========================================
   ESTILOS PREMIUM TEXTO NEGRO - CONTACTO Y REDES
   ========================================== */

/* Botón de WhatsApp estilizado (Texto blanco dentro del botón oro) */
.btn-oro-contacto {
    background-color: rgba(212, 175, 55, 1.00) !important;
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none !important;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 1.00);
    padding: 12px 28px !important;
    transition: all 0.3s ease;
}

.btn-oro-contacto:hover {
    background-color: transparent !important;
    color: rgba(212, 175, 55, 1.00) !important;
    border-color: rgba(212, 175, 55, 1.00) !important;
}

/* Círculos translúcidos oscuros para las Redes Sociales */
.enlace-red-social {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    background-color: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important; /* Borde oscuro sutil */
    border-radius: 50% !important;
    color: #000000 !important; /* Iconos en color negro puro */
    font-size: 1.2rem !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Efecto hover interactivo para los iconos */
.enlace-red-social:hover {
    color: rgba(212, 175, 55, 1.00) !important; /* Pasan a color oro al pasar el ratón */
    border-color: rgba(212, 175, 55, 1.00) !important;
    background-color: rgba(212, 175, 55, 0.05) !important;
    transform: translateY(-3px) !important;
}


/* Asegura que el carrusel interno del Lightbox se mantenga centrado y limpio */
.zona-foto-visor {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    background-color: #000000;
    border-radius: 4px;
}

.zona-foto-visor img {
    max-height: 70vh; /* Controla que la foto no sea más alta que la pantalla */
    object-fit: contain;
}

/* Agranda y pinta las flechas del carrusel con un tinte sutil dorado al pasar el cursor */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(72%) sepia(50%) saturate(545%) hue-rotate(5deg) brightness(93%) contrast(89%) !important;
}

/* ==========================================
   CORRECCIÓN COMPLETA DE DESBORDE DEL LIGHTBOX
   ========================================== */

/* 1. Forzamos a que el carrusel oculte cualquier foto que intente salirse de la caja */
.zona-foto-visor, 
#carruselGaleriaOto, 
.carousel-inner {
    overflow: hidden !important;
    position: relative !important;
    background-color: #000000 !important; /* Mantiene un fondo negro sólido detrás de la foto */
}

/* 2. Aseguramos que las imágenes que no tienen la clase .active estén ocultas de verdad */
.carousel-item {
    display: none !important;
    opacity: 0;
    transition: opacity 0.3s ease-in-out !important; /* Reemplaza la animación pesada por un fundido suave */
}

/* 3. Solo la foto con la clase .active se dibuja y se vuelve visible */
.carousel-item.active {
    display: block !important;
    opacity: 1 !important;
}

/* 4. Evitamos que las flechas se salgan de los márgenes y se desaliñen */
.carousel-control-prev, 
.carousel-control-next {
    width: 12% !important; /* Limita el ancho de la zona de clic de las flechas */
}

