/* ========================================
   SOCIAL LINKS - REDES SOCIALES
   ======================================== */

/* Contenedor principal */
#socialLinks {
    margin-top: 3rem;
}

/* Título de redes sociales */
.social-title {
    color: #D4AF37;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.5px;
}

/* Wrapper de iconos */
.social-icons-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Enlaces de redes sociales */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: #D4AF37;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    background: rgba(212, 175, 55, 0.05);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.social-link:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.social-link:active {
    transform: translateY(-3px) scale(1.05);
}

.social-link i {
    position: relative;
    z-index: 1;
}

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

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

.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; }

/* Responsive */
@media (max-width: 768px) {
    .social-title {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .social-icons-wrapper {
        gap: 0.8rem;
    }
}

@media (max-width: 576px) {
    #socialLinks {
        margin-top: 2rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* Dark mode - asegurar contraste */
.bg-dark .social-link {
    background: rgba(212, 175, 55, 0.08);
}

.bg-dark .social-link:hover {
    background: var(--hover-bg-color, rgba(212, 175, 55, 0.2));
}

/* Accesibilidad */
.social-link:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 3px;
}

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