/* Social Media Icons Styling */

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--accent-teal);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

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

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.social-link:hover svg {
    transform: rotate(5deg);
}

/* Individual social media colors */
.social-link.facebook:hover {
    background: #1877F2;
}

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

.social-link.linkedin:hover {
    background: #0A66C2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4);
}

/* Responsive design */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Animation for when social links appear */
.social-link {
    animation: socialFadeIn 0.6s ease-out;
}

.social-link:nth-child(1) { animation-delay: 0.1s; }
.social-link:nth-child(2) { animation-delay: 0.2s; }
.social-link:nth-child(3) { animation-delay: 0.3s; }
.social-link:nth-child(4) { animation-delay: 0.4s; }

@keyframes socialFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Empty state styling when no social links are set */
.social-links:empty::after {
    content: 'Add social media links in admin panel';
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

/* Pulse effect for new social links */
.social-link.new-link {
    animation: pulse 2s ease-in-out 3;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(74, 124, 124, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(74, 124, 124, 0);
    }
}