/* ===================================
   GALERÍA - EFECTO HOVER CAMBIO DE IMAGEN
   =================================== */

/* Texto informativo fijo debajo del título */
.gallery-notice {
    text-align: center;
    max-width: 800px;
    margin: 20px auto 40px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.85) 100%);
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-notice i {
    color: #d4af37;
    font-size: 1.4rem;
    margin-right: 12px;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.gallery-notice span {
    vertical-align: middle;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Contenedor de la galería */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

/* Sistema de dos imágenes superpuestas */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Imagen CON logo (visible por defecto) */
.gallery-img-with-logo {
    position: relative;
    z-index: 2;
    opacity: 1;
}

/* Imagen SIN logo (oculta por defecto, debajo) */
.gallery-img-no-logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
}

/* Al hacer hover: ocultar imagen con logo y mostrar imagen sin logo */
.gallery-item:hover .gallery-img-with-logo {
    opacity: 0;
    transform: scale(1.05);
}

.gallery-item:hover .gallery-img-no-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* Overlay con información del vehículo (se mantiene igual) */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.gallery-overlay p {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-notice {
        padding: 15px 20px;
        font-size: 0.9rem;
        margin: 15px 20px 30px;
    }

    .gallery-notice i {
        font-size: 1.1rem;
        margin-right: 10px;
    }

    .gallery-overlay {
        padding: 20px;
    }

    .gallery-overlay h4 {
        font-size: 1.2rem;
    }

    .gallery-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-notice {
        padding: 12px 15px;
        font-size: 0.85rem;
        margin: 10px 15px 25px;
        border-left-width: 3px;
    }

    .gallery-notice i {
        font-size: 1rem;
        margin-right: 8px;
    }

    .gallery-overlay {
        padding: 15px;
    }

    .gallery-overlay h4 {
        font-size: 1.1rem;
    }

    .gallery-overlay p {
        font-size: 0.85rem;
    }
}
