/* holopic.css - Images rondes avec effet parallaxe au curseur */

/* Grille principale */
.holopic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Container de chaque image - TRANSPARENT */
.holopic-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: none;
    border: none;
    outline: none;
    /* Pas de styles de fond */
}

/* Images rondes avec effet parallaxe */
.holopic-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    
    /* Garder la forme ronde originale */
    border-radius: 50%;
    
    /* Ombre portée pour effet flottant */
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1);
    
    /* Transition fluide pour les transformations */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Transform de base */
    transform: translateY(-5px);
    
    /* Empêcher la sélection */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    
    /* Curseur pointer */
    cursor: pointer;
}

/* Reset hover basique */
.holopic-item:hover .holopic-image {
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Effet active/click visible */
.holopic-item:active .holopic-image {
    transform: translateY(-2px) scale(0.95);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.1s ease;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .holopic-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        padding: 15px;
    }
    
    .holopic-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .holopic-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .holopic-image {
        width: 160px;
        height: 160px;
    }
}