/* CSS - Dark Theme Contact Section */

/* Contact Section Container */
.contact-section {
    /* Layout */
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    margin-top: 0;
    overflow: hidden;
    
    /* Flexbox */
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    /* Background matching your theme */
    background: linear-gradient(135deg, #101522 0%, #0E111A 100%);
    
    /* Padding */
    padding: 80px 20px;
}

/* Subtle Background Pattern - optional enhancement */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(120, 70, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(70, 120, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Contact Content Wrapper */
.contact-section .contact-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* The section-title class will inherit from global.css */
/* No need to redefine it here, but we can add contact-specific adjustments if needed */
.contact-section .section-title {
    margin-bottom: 1rem;
}

/* Subtitle */
.contact-section .contact-subtitle {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Contact Methods Container */
.contact-section .contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Individual Contact Item */
.contact-section .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Effect Background */
.contact-section .contact-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(120, 70, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-section .contact-item:hover::before {
    width: 300px;
    height: 300px;
}

.contact-section .contact-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(120, 70, 255, 0.3);
    box-shadow:
        0 10px 30px rgba(120, 70, 255, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Contact Item Icon */
.contact-section .contact-item i {
    font-size: 1.25rem;
    width: 24px;
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.contact-section .contact-item:hover i {
    transform: scale(1.1);
}

/* Specific Icon Colors on Hover */
.contact-section .contact-item.email:hover i {
    color: #ea4335;
}

.contact-section .contact-item.linkedin:hover i {
    color: #0077b5;
}

.contact-section .contact-item.whatsapp:hover i {
    color: #25d366;
}

.contact-section .contact-item.twitter:hover i {
    color: #1da1f2;
}

/* Contact Item Text */
.contact-section .contact-text {
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 20px;
        min-height: auto;
    }
    
    .contact-section .section-title {
        font-size: 2rem;
    }

    .contact-section .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-section .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .contact-section .contact-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Tooltip for copy confirmation */
#tooltip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #7846ff, #4670ff);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(120, 70, 255, 0.3);
}

#tooltip.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Ripple animation keyframe */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}