/* Social Share Buttons */
.social-share {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animal-card:hover .social-share,
.gallery-item:hover .social-share {
    opacity: 1;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1877f2;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 2px;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: #166fe5;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #166fe5;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #1a91da;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.whatsapp:hover {
    background: #20b854;
}

.share-btn i {
    font-size: 18px;
}

/* Share Tooltip */
.share-tooltip {
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.share-btn:hover .share-tooltip {
    opacity: 1;
}

/* Animal Card Position */
.animal-card {
    position: relative;
}

.animal-card .social-share {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

/* Gallery Item Position */
.gallery-item {
    position: relative;
}

.gallery-item .social-share {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

/* Responsive */
@media (max-width: 768px) {
    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .share-btn i {
        font-size: 16px;
    }
    
    .social-share {
        top: 8px;
        right: 8px;
    }
    
    .share-tooltip {
        top: 45px;
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* Animation */
@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.social-share {
    animation: slideInRight 0.3s ease;
}

/* Multiple buttons */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
