/**
 * Social Media Follow Links - CSS Styles
 * Compatible with PrestaShop 1.7+ and 8.x
 * Responsive design with multiple style variations
 */

/* Base styles */
.social-media-follow-links {
    margin: 20px 0;
    padding: 20px;
    text-align: center;
    clear: both;
}

.social-links-container {
    max-width: 600px;
    margin: 0 auto;
}

.social-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: white;
    min-width: 45px;
    min-height: 45px;
    position: relative;
    overflow: hidden;
}

.social-btn:hover,
.social-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
    outline: none;
}

.social-btn:active {
    transform: translateY(0);
}

.social-btn i {
    font-size: 1.2rem;
    line-height: 1;
}

.social-label {
    margin-left: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Social Platform Colors */
.social-facebook {
    background: #1877f2;
}

.social-facebook:hover {
    background: #166fe5;
}

.social-twitter {
    background: #1da1f2;
}

.social-twitter:hover {
    background: #1a91da;
}

.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-instagram:hover {
    background: linear-gradient(45deg, #e8832b 0%, #de5a2c 25%, #d41f3b 50%, #c41b5e 75%, #b41080 100%);
}

.social-youtube {
    background: #ff0000;
}

.social-youtube:hover {
    background: #e60000;
}

.social-linkedin {
    background: #0077b5;
}

.social-linkedin:hover {
    background: #006ba1;
}

.social-tiktok {
    background: #000000;
}

.social-tiktok:hover {
    background: #333333;
}

/* Style Variations */

/* Modern Style (default) */
.social-style-modern .social-btn {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.social-style-modern .social-btn:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Classic Style */
.social-style-classic .social-btn {
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.social-style-classic .social-btn:hover {
    border-color: rgba(255,255,255,0.3);
}

/* Minimal Style */
.social-style-minimal .social-btn {
    background: transparent !important;
    color: #333 !important;
    border: 2px solid #ddd;
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 0.8rem;
}

.social-style-minimal .social-btn:hover {
    color: white !important;
    border-color: #333;
}

.social-style-minimal .social-facebook:hover {
    background: #1877f2 !important;
    border-color: #1877f2;
}

.social-style-minimal .social-twitter:hover {
    background: #1da1f2 !important;
    border-color: #1da1f2;
}

.social-style-minimal .social-instagram:hover {
    background: #e6683c !important;
    border-color: #e6683c;
}

.social-style-minimal .social-youtube:hover {
    background: #ff0000 !important;
    border-color: #ff0000;
}

.social-style-minimal .social-linkedin:hover {
    background: #0077b5 !important;
    border-color: #0077b5;
}

.social-style-minimal .social-tiktok:hover {
    background: #000000 !important;
    border-color: #000000;
}

/* Rounded Style */
.social-style-rounded .social-btn {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    min-width: 50px;
    min-height: 50px;
}

.social-style-rounded .social-label {
    display: none; /* Hide labels in rounded style */
}

.social-style-rounded .social-btn i {
    font-size: 1.4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-media-follow-links {
        padding: 15px 10px;
    }
    
    .social-buttons {
        gap: 8px;
    }
    
    .social-btn {
        padding: 8px 12px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .social-btn i {
        font-size: 1.1rem;
    }
    
    .social-label {
        font-size: 0.8rem;
        margin-left: 6px;
    }
    
    .social-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    /* Stack buttons vertically on very small screens */
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 200px;
        justify-content: flex-start;
        padding-left: 20px;
    }
    
    .social-style-rounded .social-btn {
        width: 50px;
        justify-content: center;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .social-media-follow-links {
        padding: 10px 5px;
    }
    
    .social-btn {
        width: 180px;
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .social-btn i {
        margin-right: 8px;
    }
    
    .social-style-rounded .social-btn {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
    }
    
    .social-style-rounded .social-btn i {
        font-size: 1.2rem;
    }
}

/* Accessibility improvements */
.social-btn:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .social-btn {
        border: 2px solid;
    }
    
    .social-style-minimal .social-btn {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .social-btn {
        transition: none;
    }
    
    .social-btn:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .social-media-follow-links {
        display: none;
    }
}

