/* Estilos para Redes Sociales - Integrado con el diseño de la página */

/* Sección de Redes Sociales */
.social-media-section {
    background: #ffffff;
    padding: 35px 0;
    position: relative;
    border-top: 1px solid rgba(13, 131, 253, 0.1);
}

/* Título de la sección - mismo estilo que otras secciones */
.social-section-title {
    text-align: center;
    padding-bottom: 15px;
}

.social-section-title h2 {
    color: #2d465e;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-family: var(--heading-font);
}

.social-section-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    background: #0d83fd;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 2px;
}

.social-section-title p {
    color: color-mix(in srgb, #212529, transparent 40%);
    margin-bottom: 0;
    font-size: 16px;
}

/* Contenedor de Enlaces Sociales */
.social-links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

/* Botones de Redes Sociales - Estilo coherente con la página */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e3e6ea;
    color: #2d465e;
    font-size: 46px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 131, 253, 0.3), rgba(118, 75, 162, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 35px rgba(13, 131, 253, 0.2), 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.social-link i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* Colores específicos para cada red social - Estilo más sutil */
.social-link.facebook {
    color: #1877f2;
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
    border-color: #1877f2;
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(24, 119, 242, 0.4), 0 4px 10px rgba(24, 119, 242, 0.2);
}

.social-link.twitter {
    color: #000000;
}

.social-link.twitter:hover {
    background: linear-gradient(135deg, #000000 0%, #2c2c2c 100%);
    border-color: #000000;
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-link.instagram {
    color: #e1306c;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e1306c;
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.3);
}

.social-link.youtube {
    color: #ff0000;
}

.social-link.youtube:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-color: #ff0000;
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.4), 0 4px 10px rgba(255, 0, 0, 0.2);
}

.social-link.whatsapp {
    color: #25d366;
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.social-link.linkedin {
    color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 119, 181, 0.3);
}

.social-link.tiktok {
    color: #000000;
}

.social-link.tiktok:hover {
    background: #000000;
    border-color: #00f2ea;
    color: #00f2ea;
    box-shadow: 0 8px 30px rgba(0, 242, 234, 0.3);
}

.social-link.email {
    color: #ea4335;
}

.social-link.email:hover {
    background: #ea4335;
    border-color: #ea4335;
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(234, 67, 53, 0.3);
}

/* Versión con texto (opcional) */
.social-link-with-text {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 12px;
}

.social-link-with-text i {
    font-size: 24px;
}

.social-link-with-text:hover {
    transform: translateY(-3px);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .social-section-title h2 {
        font-size: 28px;
    }
    
    .social-link {
        width: 60px;
        height: 60px;
        font-size: 38px;
    }
    
    .social-links-container {
        gap: 10px;
    }
    
    .social-media-section {
        padding: 20px 0;
    }
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-link {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.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; }
.social-link:nth-child(5) { animation-delay: 0.5s; }
.social-link:nth-child(6) { animation-delay: 0.6s; }
.social-link:nth-child(7) { animation-delay: 0.7s; }
.social-link:nth-child(8) { animation-delay: 0.8s; }

