/**
 * Social Sharing Buttons Styles
 * Beautiful, responsive social media sharing buttons
 */

.social-share-buttons {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .social-share-buttons {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.social-share-buttons h4 {
    margin: 0 0 20px 0;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .social-share-buttons h4 {
    color: #e2e8f0;
}

.social-share-buttons h4 i {
    color: #667eea;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.share-btn i {
    font-size: 1.1rem;
}

/* WhatsApp */
.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.share-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

/* Facebook */
.share-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.share-btn.facebook:hover {
    background: linear-gradient(135deg, #0C63D4 0%, #084D9E 100%);
}

/* Twitter */
.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0C85D0 100%);
}

.share-btn.twitter:hover {
    background: linear-gradient(135deg, #0C85D0 0%, #0A6FB8 100%);
}

/* LinkedIn */
.share-btn.linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #005E93 100%);
}

.share-btn.linkedin:hover {
    background: linear-gradient(135deg, #005E93 0%, #004A75 100%);
}

/* Telegram */
.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.share-btn.telegram:hover {
    background: linear-gradient(135deg, #006699 0%, #005580 100%);
}

/* Copy Link */
.share-btn.copy-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.share-btn.copy-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #5a3a7d 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .social-share-buttons {
        padding: 20px 15px;
    }
    
    .social-share-buttons h4 {
        font-size: 1rem;
    }
    
    .share-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Copy Link Success Animation */
@keyframes copySuccess {
    0% {
        background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    }
    100% {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
}

.share-btn.copy-link.copied {
    animation: copySuccess 2s ease;
}

.share-btn.copy-link.copied::after {
    content: ' ✓ Copied!';
}

/* Floating Share Button (for sticky sharing) */
.floating-share {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
}

.floating-share-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.floating-share-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: none;
    min-width: 200px;
}

[data-theme="dark"] .floating-share-menu {
    background: #2d3748;
}

.floating-share-menu.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-share-menu .share-btn {
    width: 100%;
    margin-bottom: 8px;
}

.floating-share-menu .share-btn:last-child {
    margin-bottom: 0;
}

/* Print Styles */
@media print {
    .social-share-buttons,
    .floating-share {
        display: none !important;
    }
}
