/* Social Share Styles for DENGARINFO.COM */

.social-share {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.social-share .section-tittle {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.social-share .section-tittle h3 {
    color: #065d81;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    margin-right: 20px;
}

.social-share ul {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.social-share li {
    margin: 0;
}

.social-share a,
.social-share button {
    display: inline-block;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-share a:hover,
.social-share button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-share a:active,
.social-share button:active {
    transform: scale(0.95);
}

/* Platform specific colors */
.social-share a[data-platform="facebook"] {
    background: #3b5998;
}

.social-share a[data-platform="facebook"]:hover {
    background: #2d4373;
    box-shadow: 0 4px 12px rgba(59,89,152,0.3);
}

.social-share a[data-platform="twitter"] {
    background: #1da1f2;
}

.social-share a[data-platform="twitter"]:hover {
    background: #0d8bd9;
    box-shadow: 0 4px 12px rgba(29,161,242,0.3);
}

.social-share a[data-platform="whatsapp"] {
    background: #25d366;
}

.social-share a[data-platform="whatsapp"]:hover {
    background: #1ea952;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}


.social-share a[data-platform="telegram"] {
    background: #0088cc;
}

.social-share a[data-platform="telegram"]:hover {
    background: #006699;
    box-shadow: 0 4px 12px rgba(0,136,204,0.3);
}


.social-share button {
    background: #6c757d;
}

.social-share button:hover {
    background: #5a6268;
    box-shadow: 0 4px 12px rgba(108,117,125,0.3);
}

.social-share i {
    color: #fff;
    font-size: 18px;
    display: block;
}

/* Copy notification styles */
#copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    color: white;
}

#copy-notification.success {
    background: #28a745;
}

#copy-notification.error {
    background: #dc3545;
}

#copy-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive styles */
@media (max-width: 768px) {
    .social-share ul {
        gap: 8px;
    }
    
    .social-share a,
    .social-share button {
        padding: 10px;
    }
    
    .social-share i {
        font-size: 16px;
    }
    
    .social-share .section-tittle h3 {
        font-size: 16px;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .social-share ul {
        gap: 6px;
    }
    
    .social-share a,
    .social-share button {
        padding: 8px;
    }
    
    .social-share i {
        font-size: 14px;
    }
    
    .social-share .section-tittle {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-share .section-tittle h3 {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Animation for share buttons */
@keyframes sharePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.social-share a:focus,
.social-share button:focus {
    outline: 2px solid #be0914;
    outline-offset: 2px;
}

/* Loading state for copy button */
.social-share button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.social-share button.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
