/* 
 * social-share.css
 * Styles for floating social media sharing buttons
 */

/* Floating Social Share Buttons */
.floating-social-share {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 999;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 5px 5px 0;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.floating-social-share:hover {
    left: 0; /* Ensure it stays visible on hover */
}

.share-label {
    padding: 10px 12px;
    background-color: #003366;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    border-radius: 0 5px 0 0;
}

.floating-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.social-share-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share-btn:hover {
    transform: translateX(3px);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
    width: 45px;
}

.share-icon {
    font-weight: bold;
    font-size: 16px;
}

.facebook-btn {
    background-color: #3b5998;
}

.facebook-btn:hover {
    background-color: #2d4373;
}

.twitter-btn {
    background-color: #1da1f2;
}

.twitter-btn:hover {
    background-color: #0c85d0;
}

.linkedin-btn {
    background-color: #0077b5;
}

.linkedin-btn:hover {
    background-color: #005582;
}

.pinterest-btn {
    background-color: #bd081c;
}

.pinterest-btn:hover {
    background-color: #8c0615;
}

.email-btn {
    background-color: #737373;
    border-radius: 0 0 5px 0;
}

.email-btn:hover {
    background-color: #595959;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-social-share {
        left: -40px; /* Initially hide most of the bar */
    }
    
    .floating-social-share:hover,
    .floating-social-share:focus-within {
        left: 0; /* Show on hover/focus */
    }
    
    .share-label {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        padding: 10px 5px;
        height: auto;
    }
}

/* For very small screens or when printing */
@media (max-width: 480px), print {
    .floating-social-share {
        display: none;
    }
}