/**
 * Social Media Styles for Fair E Web Host
 * 
 * This file provides styling for social media links, sharing buttons,
 * and social media feed displays.
 */

/* Social Icons in Footer */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color, #0d6efd);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color, #6610f2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icons i {
    font-size: 1.2rem;
}

/* Social Sharing Buttons */
.social-sharing-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.share-email {
    background-color: #505050;
}

.share-whatsapp {
    background-color: #25d366;
}

.share-reddit {
    background-color: #ff4500;
}

/* Social Sharing with Text */
.social-sharing-with-text {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.social-sharing-with-text .share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 4px;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-sharing-with-text .share-button i {
    margin-right: 8px;
}

/* Social Media Feeds */
.social-feed-container {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-feed-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.social-feed-header i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.social-feed-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.social-feed-content {
    padding: 20px;
    background-color: white;
    max-height: 500px;
    overflow-y: auto;
}

/* Twitter Feed */
#twitter-feed {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

/* Instagram Feed */
#instagram-feed {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.instagram-placeholder {
    padding: 30px;
    text-align: center;
    background-color: #f8f9fa;
}

.instagram-placeholder a {
    color: var(--primary-color, #0d6efd);
    font-weight: 600;
    text-decoration: none;
}

.instagram-placeholder .note {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 10px;
}

/* Social Media Grid */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Follow Us Banner */
.follow-us-banner {
    background: linear-gradient(135deg, var(--primary-color, #0d6efd) 0%, var(--secondary-color, #6610f2) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin: 60px 0;
}

.follow-us-banner h2 {
    margin-bottom: 20px;
}

.follow-us-banner .social-icons {
    justify-content: center;
    margin-top: 25px;
}

.follow-us-banner .social-icons a {
    background-color: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
}

.follow-us-banner .social-icons a:hover {
    background-color: white;
    color: var(--primary-color, #0d6efd);
}

/* Floating Social Bar */
.floating-social-bar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.floating-social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color, #0d6efd);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-social-bar a:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-social-bar {
        position: static;
        flex-direction: row;
        justify-content: center;
        transform: none;
        margin: 20px 0;
    }
    
    .social-media-grid {
        grid-template-columns: 1fr;
    }
}