
/* Floating Social Sidebar */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    color: #333;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.floating-sidebar a:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Specific Colors - Always Colored */
.floating-sidebar a.fb { background-color: #1877f2; color: #fff; }
.floating-sidebar a.wa { background-color: #25d366; color: #fff; }
.floating-sidebar a.ph { background-color: #333; color: #fff; }
.floating-sidebar a.gm { background-color: #ea4335; color: #fff; }

.floating-sidebar a:hover {
    transform: scale(1.1);
    /* Colors remain same on hover, just scale effect */
}

/* Tooltip on Hover */
.floating-sidebar a::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    pointer-events: none;
}

.floating-sidebar a:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-sidebar {
        right: 10px;
        gap: 10px;
    }
    
    .floating-sidebar a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
