/* ===== SOCIAL MEDIA STYLES ===== */

/* Navbar Social Icons */
.social-icons-nav {
    display: flex;
    gap: 0.75rem;
    margin-right: 1rem;
}

.social-icon-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-icon-nav:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

/* Contact Social Icons */
.social-media {
    margin-top: 2rem;
}

.social-media h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.social-icon i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.social-icon span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Social Icon Colors */
.social-icon:nth-child(1) i { color: #1877F2; } /* Facebook */
.social-icon:nth-child(2) i { color: #E4405F; } /* Instagram */
.social-icon:nth-child(3) i { color: #0A66C2; } /* LinkedIn */
.social-icon:nth-child(4) i { color: #FF0000; } /* YouTube */
.social-icon:nth-child(5) i { color: #25D366; } /* WhatsApp */

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

/* Social Proof - Trusted Partners */
.social-proof {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trusted-by {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trusted-by span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.partner-logo {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #FF6B6B;
    transform: translateY(-5px);
}

/* Mobile Social Icons */
@media (max-width: 768px) {
    .social-icons-nav {
        display: none;
    }
    
    .social-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logos {
        justify-content: center;
    }
    
    .partner-logo {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 80px;
        right: 20px;
    }
}

/* Animation for social icons */
@keyframes socialIconPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.social-icon {
    animation: socialIconPop 0.5s ease-out forwards;
    animation-delay: calc(var(--index) * 0.1s);
}

/* Hover effect for partner logos */
.partner-logo {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.partner-logo:hover::before {
    left: 100%;
}

.partner-logo:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* Dark mode social icons */
@media (prefers-color-scheme: dark) {
    .social-icon {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .partner-logo {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* Light mode social icons */
@media (prefers-color-scheme: light) {
    .social-icon {
        background: rgba(0, 0, 0, 0.05);
        color: var(--text-dark);
    }
    
    .social-icon:hover {
        background: rgba(230, 57, 70, 0.1);
    }
    
    .partner-logo {
        background: rgba(0, 0, 0, 0.05);
        color: var(--text-dark);
        border-color: rgba(0, 0, 0, 0.1);
    }
    
    .footer-social a {
        background: rgba(0, 0, 0, 0.1);
        color: var(--text-dark);
    }
}