/* Frontend Styles pour Social Links Display */

.sld-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Section profil */
.sld-profile-section {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Effet de background adaptatif */
.sld-container:not(.sld-custom-bg) .sld-profile-section,
.sld-container.sld-bg-gradient .sld-profile-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Arrière-plan couleur personnalisée */
.sld-container.sld-bg-color .sld-profile-section {
    background: var(--sld-bg-color, #667eea);
    color: white;
    backdrop-filter: none;
}

/* Arrière-plan image personnalisée */
.sld-container.sld-bg-image .sld-profile-section {
    background-image: var(--sld-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.sld-container.sld-bg-image .sld-profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: inherit;
}

.sld-container.sld-bg-image .sld-profile-section > * {
    position: relative;
    z-index: 2;
}

.sld-profile-image {
    margin-bottom: 20px;
}

.sld-profile-image img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.sld-profile-image img:hover {
    transform: scale(1.05);
}

.sld-company-name {
    font-size: 2.2em;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sld-container:not(.sld-custom-bg) .sld-company-name {
    color: white;
}

.sld-company-description {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0.95;
}

.sld-container:not(.sld-custom-bg) .sld-company-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Section liens */
.sld-links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sld-social-link {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.sld-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.sld-social-link:hover::before {
    left: 100%;
}

.sld-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
    text-decoration: none;
    color: #333;
}

.sld-social-link i {
    margin-right: 15px !important;
    font-size: 32px !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    text-align: center !important;
    transition: transform 0.3s ease;
    display: inline-block !important;
}



.sld-social-link:hover i {
    transform: scale(1.1);
}

.sld-social-link .sld-custom-icon {
    margin-right: 15px !important;
    width: 32px !important;
    height: 32px !important;
    object-fit: cover !important;
    border-radius: 3px !important;
    transition: transform 0.3s ease;
}

.sld-social-link:hover .sld-custom-icon {
    transform: scale(1.1);
}

.sld-link-text {
    flex: 1;
}

/* Couleurs spécifiques pour chaque réseau social */
.sld-link-email:hover { 
    background: #EA4335; 
    color: white; 
}

.sld-link-phone:hover { 
    background: #FF9800; 
    color: white; 
}

.sld-link-address:hover { 
    background: #8E24AA; 
    color: white; 
}

.sld-link-whatsapp:hover { 
    background: #25D366; 
    color: white; 
}

.sld-link-instagram:hover { 
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); 
    color: white; 
}

.sld-link-facebook:hover { 
    background: #1877f2; 
    color: white; 
}

.sld-link-twitter:hover { 
    background: #1da1f2; 
    color: white; 
}

.sld-link-linkedin:hover { 
    background: #0077b5; 
    color: white; 
}

.sld-link-youtube:hover { 
    background: #ff0000; 
    color: white; 
}

.sld-link-tiktok:hover { 
    background: #000; 
    color: white; 
}

.sld-link-snapchat:hover { 
    background: #FFFC00; 
    color: #000; 
}

.sld-link-discord:hover { 
    background: #5865F2; 
    color: white; 
}

.sld-link-telegram:hover { 
    background: #0088cc; 
    color: white; 
}

.sld-link-pinterest:hover { 
    background: #E60023; 
    color: white; 
}

.sld-link-twitch:hover { 
    background: #9146FF; 
    color: white; 
}

.sld-link-reddit:hover { 
    background: #FF4500; 
    color: white; 
}

.sld-link-spotify:hover { 
    background: #1DB954; 
    color: white; 
}

.sld-link-website:hover { 
    background: #4CAF50; 
    color: white; 
}

/* Animations d'entrée */
@keyframes sldFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sld-social-link {
    animation: sldFadeInUp 0.5s ease forwards;
}

.sld-social-link:nth-child(1) { animation-delay: 0.1s; }
.sld-social-link:nth-child(2) { animation-delay: 0.2s; }
.sld-social-link:nth-child(3) { animation-delay: 0.3s; }
.sld-social-link:nth-child(4) { animation-delay: 0.4s; }
.sld-social-link:nth-child(5) { animation-delay: 0.5s; }
.sld-social-link:nth-child(6) { animation-delay: 0.6s; }
.sld-social-link:nth-child(7) { animation-delay: 0.7s; }
.sld-social-link:nth-child(8) { animation-delay: 0.8s; }
.sld-social-link:nth-child(9) { animation-delay: 0.9s; }
.sld-social-link:nth-child(10) { animation-delay: 1.0s; }

/* Responsive Design */
@media (max-width: 768px) {
    .sld-container {
        padding: 15px;
    }

    .sld-company-name {
        font-size: 1.8em;
    }

    .sld-company-description {
        font-size: 1em;
    }

    .sld-social-link {
        padding: 15px 20px;
        font-size: 1em;
    }

    .sld-social-link i {
        margin-right: 12px !important;
        font-size: 28px !important;
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
    }

    .sld-social-link .sld-custom-icon {
        margin-right: 12px !important;
        width: 28px !important;
        height: 28px !important;
    }

    .sld-profile-section {
        padding: 30px 15px;
    }

    .sld-profile-image img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .sld-container {
        padding: 10px;
    }

    .sld-company-name {
        font-size: 1.6em;
    }

    .sld-social-link {
        padding: 12px 16px;
        font-size: 0.95em;
    }

    .sld-social-link .sld-custom-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .sld-profile-section {
        padding: 25px 10px;
    }

    .sld-profile-image img {
        width: 160px;
        height: 160px;
    }
}

/* Thème sombre (optionnel) */
.sld-container.sld-dark-theme {
    background: #1a1a1a;
    color: white;
}

.sld-container.sld-dark-theme .sld-profile-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sld-container.sld-dark-theme .sld-social-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sld-container.sld-dark-theme .sld-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Accessibilité */
.sld-social-link:focus {
    outline: 3px solid #0073aa;
    outline-offset: 2px;
}

.sld-social-link:focus:not(:focus-visible) {
    outline: none;
}

/* Préchargement des animations */
.sld-social-link {
    opacity: 0;
    transform: translateY(30px);
}

.sld-container.sld-loaded .sld-social-link {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes de largeur */
.sld-container.sld-narrow {
    max-width: 400px;
}

.sld-container.sld-wide {
    max-width: 800px;
}

/* Variante compacte */
.sld-container.sld-compact .sld-social-link {
    padding: 12px 18px;
    font-size: 0.95em;
}

.sld-container.sld-compact .sld-profile-section {
    padding: 25px 15px;
    margin-bottom: 25px;
}

.sld-container.sld-compact .sld-company-name {
    font-size: 1.8em;
}

.sld-container.sld-compact .sld-profile-image img {
    width: 160px;
    height: 160px;
}

.sld-container.sld-compact .sld-social-link .sld-custom-icon {
    width: 28px !important;
    height: 28px !important;
}

/* Support pour les anciens navigateurs */
@supports not (backdrop-filter: blur(10px)) {
    .sld-profile-section {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
} 