/* ==========================================
   Social Contact Section Styles
   ========================================== */

.social-contact-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.social-contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

.social-contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.social-contact-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.social-contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Social Icons Container */
.social-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Individual Social Icon */
.social-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: #333;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.social-icon:hover svg {
    fill: white;
    transform: rotateY(360deg);
}

/* Facebook */
.social-icon.facebook::before {
    background: linear-gradient(45deg, #1877F2, #3B5998);
}

/* Instagram */
.social-icon.instagram::before {
    background: linear-gradient(45deg, #E1306C, #C13584, #833AB4, #5851DB, #405DE6);
}

/* Threads */
.social-icon.threads::before {
    background: linear-gradient(45deg, #000000, #333333);
}

/* Google */
.social-icon.google::before {
    background: linear-gradient(45deg, #4285F4, #DB4437, #F4B400, #0F9D58);
}

/* Tooltip */
.social-icon .tooltip {
    position: absolute;
    bottom: -40px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-icon .tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid rgba(0, 0, 0, 0.9);
}

.social-icon:hover .tooltip {
    opacity: 1;
    bottom: -50px;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .social-contact-title {
        font-size: 2rem;
    }
    
    .social-icons-wrapper {
        gap: 1.5rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Hover Animation for entire section */
.social-contact-section:hover .social-icon {
    animation: bounce 0.6s ease-in-out;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Add ripple effect on click */
.social-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    opacity: 0;
}

.social-icon:active::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}