/* Social sharing styles for RememberRIP.com */

.social-sharing {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.social-sharing h4 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.sharing-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-button, .copy-link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.share-button:hover, .copy-link-button:hover {
    transform: translateY(-2px);
}

.share-button i, .copy-link-button i {
    margin-right: 5px;
}

.share-button[data-platform="facebook"] {
    background-color: #3b5998;
    color: white;
}

.share-button[data-platform="twitter"] {
    background-color: #1da1f2;
    color: white;
}

.share-button[data-platform="linkedin"] {
    background-color: #0077b5;
    color: white;
}

.share-button[data-platform="pinterest"] {
    background-color: #bd081c;
    color: white;
}

.share-button[data-platform="email"] {
    background-color: #dd4b39;
    color: white;
}

.share-button[data-platform="whatsapp"] {
    background-color: #25d366;
    color: white;
}

.copy-link-button {
    background-color: #f1f1f1;
    color: #333;
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* Placeholder styles */
.placeholder {
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: #666;
}

.placeholder-image {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.placeholder-image i {
    font-size: 3rem;
    color: #999;
}

.placeholder-text {
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
}

.placeholder-text.short {
    width: 30%;
}

.placeholder-text.medium {
    width: 60%;
}

.placeholder-text.long {
    width: 90%;
}

/* Mobile responsiveness for social sharing */
@media (max-width: 768px) {
    .sharing-buttons {
        flex-direction: column;
    }
    
    .share-button, .copy-link-button {
        width: 100%;
    }
}
