/* ===================================
   ORACNOOS - Social Media Styles
   Follow buttons, Share buttons, Floating
   =================================== */

/* ===================================
   Social Follow Buttons (Footer)
   =================================== */

.social-follow {
    margin-top: var(--spacing-xl);
}

.social-follow h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.social-follow-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-follow-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
    transition: all var(--transition-bounce);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.social-follow-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
}

.social-follow-btn:hover::before {
    width: 100%;
    height: 100%;
}

.social-follow-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Platform Colors */
.social-follow-btn.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-follow-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-follow-btn.instagram {
    background: linear-gradient(135deg, #e1306c 0%, #c13584 50%, #833ab4 100%);
}

.social-follow-btn.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.social-follow-btn.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-follow-btn.github {
    background: linear-gradient(135deg, #333 0%, #000 100%);
}

/* ===================================
   Floating Social Buttons
   =================================== */

.floating-social-buttons {
    position: fixed;
    right: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%) translateX(100px);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    z-index: 9996;
    transition: transform var(--transition-slow);
}

.floating-social-buttons.visible {
    transform: translateY(-50%) translateX(0);
}

.floating-social-buttons.hidden {
    transform: translateY(-50%) translateX(100px);
}

.floating-social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
    transition: all var(--transition-bounce);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.floating-social-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
}

.floating-social-btn:hover::after {
    width: 100%;
    height: 100%;
}

.floating-social-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Platform Colors */
.floating-social-btn.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.floating-social-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.floating-social-btn.instagram {
    background: linear-gradient(135deg, #e1306c 0%, #c13584 50%, #833ab4 100%);
}

.floating-social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.floating-social-btn.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.floating-social-btn.github {
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
}

/* ===================================
   Social Share Buttons (Article)
   =================================== */

.social-share {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.social-share-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-lg);
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-md);
    position: relative;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
}

.share-btn:hover::before {
    width: 100%;
    height: 100%;
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow-hover);
}

.share-btn:active {
    transform: translateY(-2px) scale(1.05);
}

/* Platform Colors */
.share-btn.facebook,
.share-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.share-btn.twitter,
.share-twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.share-btn.linkedin,
.share-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.share-btn.whatsapp,
.share-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}

.share-btn.copy,
.share-copy {
    background: var(--gradient-primary);
}

/* Share Count (Optional) */
.share-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-pink);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-full);
    display: none;
    box-shadow: var(--shadow-sm);
}

/* ===================================
   Social Bar (Alternative Layout)
   =================================== */

.social-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    margin: var(--spacing-2xl) 0;
}

.social-bar-text {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-bar-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* ===================================
   Social Widget (Optional)
   =================================== */

.social-widget {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid rgba(0, 229, 255, 0.15);
    margin: var(--spacing-xl) 0;
}

.social-widget h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-md);
}

.social-widget-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(0, 229, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.social-widget-item:hover {
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-3px);
}

.social-widget-item i {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
}

.social-widget-item .count {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    display: block;
}

.social-widget-item .label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 768px) {
    .floating-social-buttons {
        right: var(--spacing-sm);
    }
    
    .floating-social-btn {
        width: 45px;
        height: 45px;
        font-size: var(--font-size-base);
    }
    
    .social-follow-buttons {
        justify-content: center;
    }
    
    .social-bar {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .social-widget-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .floating-social-buttons {
        display: none; /* Hide on very small screens */
    }
    
    .social-follow-btn {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }
}

/* ===================================
   Animations
   =================================== */

@keyframes socialPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.social-follow-btn:hover,
.floating-social-btn:hover {
    animation: socialPulse 0.6s ease-in-out;
}

/* ===================================
   Accessibility
   =================================== */

.social-follow-btn:focus,
.floating-social-btn:focus,
.share-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===================================
   Print
   =================================== */

@media print {
    .floating-social-buttons,
    .social-share,
    .social-bar {
        display: none;
    }
}


