/* 3D Design Elements for Manning Project */

/* Card 3D Effects */
.user-info {
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.user-info:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transform: none; /* prevent tilt/movement */
}

/* Profile Photo 3D Effects */
.profile-photo-container {
    perspective: 1000px;
}

.profile-photo, 
.profile-photo-placeholder {
    transform-style: preserve-3d;
    transition: box-shadow 0.3s ease; /* limit to shadow only */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.profile-photo:hover, 
.profile-photo-placeholder:hover {
    transform: none; /* prevent tilt/movement */
    box-shadow: -15px 15px 30px rgba(0,0,0,0.3);
}

/* Button 3D Effects */
.logout-btn {
    position: relative;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.logout-btn:hover {
    transform: none; /* prevent movement */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.logout-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Section Headers 3D Effect */
.user-info h2 {
    position: relative;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.user-info h2:hover {
    transform: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* 3D Floating Animation for Profile Photo */
/* Remove floating animation to avoid distracting movement */

/* Disable 3D effects on mobile for better performance */
@media only screen and (max-width: 768px) {
    .user-info:hover,
    .profile-photo:hover,
    .profile-photo-placeholder:hover,
    .logout-btn:hover,
    .user-info h2:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .profile-photo, 
    .profile-photo-placeholder {
        animation: none;
    }
}
