/* Social Media Integration Styles */

/* Social Sharing Buttons */
.social-sharing {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.social-sharing-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 1rem;
    font-size: 0.9rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

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

.social-btn.twitter {
    background: #1DA1F2;
}

.social-btn.twitter:hover {
    background: #1991DB;
}

.social-btn.linkedin {
    background: #0077B5;
}

.social-btn.linkedin:hover {
    background: #006395;
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.facebook:hover {
    background: #166FE5;
}

.social-btn.email {
    background: var(--primary-blue);
}

.social-btn.email:hover {
    background: var(--primary-blue-dark);
}

.social-btn.copy-link {
    background: #6B7280;
}

.social-btn.copy-link:hover {
    background: #4B5563;
}

.social-btn.copy-link.copied {
    background: #10B981;
    animation: pulse 0.3s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Compact social sharing for specific contexts */
.social-sharing.compact {
    padding: 1rem;
    margin: 1rem 0;
}

.social-sharing.compact .social-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.social-sharing.compact .social-sharing-label {
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* Social proof section */
.social-proof {
    text-align: center;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    margin: 2rem 0;
}

.social-proof h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.social-proof p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-sharing {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .social-sharing-label {
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .social-sharing.compact {
        padding: 0.75rem;
    }
}

/* Accessibility improvements */
.social-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.social-btn[aria-pressed="true"] {
    transform: scale(0.95);
}

/* Loading state for copy link */
.social-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
