/* 
Contact Styles - EntrixSolutions
Styling for phone numbers and contact information
*/

/* Contact Info Container */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
    margin: 0;
    padding: 1vh 0;
}

/* Phone Numbers Container */
.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

/* Individual Phone Item */
.phone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid rgba(88, 59, 255, 0.2);
    background: linear-gradient(135deg, rgba(88, 59, 255, 0.08) 0%, rgba(88, 59, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(88, 59, 255, 0.1);
    cursor: pointer;
}

/* Shimmer Effect */
.phone-item::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.6s ease;
}

.phone-item:hover::before {
    left: 100%;
}

/* Hover Effects */
.phone-item:hover {
    border-color: rgba(88, 59, 255, 0.6);
    background: linear-gradient(135deg, rgba(88, 59, 255, 0.15) 0%, rgba(88, 59, 255, 0.08) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(88, 59, 255, 0.25);
}

/* Phone Icon */
.phone-item i {
    color: #583BFF;
    font-size: 16px;
    background: rgba(88, 59, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(88, 59, 255, 0.2);
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-item:hover i {
    background: rgba(88, 59, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(88, 59, 255, 0.3);
}

/* Phone Number Link */
.phone-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    flex: 1;
    text-align: left;
}

.phone-item a:hover {
    color: #583BFF;
    text-shadow: 0 0 8px rgba(88, 59, 255, 0.3);
}

/* Active State */
.phone-item:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(88, 59, 255, 0.2);
}

/* Focus State for Accessibility */
.phone-item:focus-within {
    outline: 2px solid rgba(88, 59, 255, 0.5);
    outline-offset: 2px;
}

/* Responsive Design - Desktop */
@media (min-width: 1200px) {
    .phone-numbers {
        flex-direction: row;
        gap: 2vh;
        justify-content: center;
    }
    
    .phone-item {
        flex: 1;
        max-width: 280px;
        min-width: 220px;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 1199px) and (min-width: 769px) {
    .phone-numbers {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2vh;
    }
    
    .phone-item {
        flex: 1;
        min-width: 220px;
        max-width: 280px;
        padding: 1.5vh 2.5vh;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .phone-numbers {
        flex-direction: column;
        gap: 1.5vh;
    }
    
    .phone-item {
        min-width: 200px;
        max-width: 260px;
        padding: 14px 22px;
    }
    
    .phone-item i {
        font-size: 14px;
        padding: 6px;
        min-width: 28px;
        min-height: 28px;
    }
    
    .phone-item a {
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .phone-item {
        min-width: 180px;
        max-width: 240px;
        padding: 12px 18px;
    }
    
    .phone-item i {
        font-size: 12px;
        padding: 5px;
        min-width: 24px;
        min-height: 24px;
    }
    
    .phone-item a {
        font-size: 12px;
    }
}

/* Animation Keyframes */
@keyframes phonePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(88, 59, 255, 0.1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(88, 59, 255, 0.2);
    }
}

/* Special Animation for Important Numbers */
.phone-item.important {
    animation: phonePulse 2s ease-in-out infinite;
}

.phone-item.important:hover {
    animation: none;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .phone-item {
        border-color: rgba(88, 59, 255, 0.3);
        background: linear-gradient(135deg, rgba(88, 59, 255, 0.12) 0%, rgba(88, 59, 255, 0.05) 100%);
    }
    
    .phone-item:hover {
        border-color: rgba(88, 59, 255, 0.7);
        background: linear-gradient(135deg, rgba(88, 59, 255, 0.2) 0%, rgba(88, 59, 255, 0.1) 100%);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .phone-item {
        border: 3px solid #583BFF;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .phone-item a {
        color: #ffffff;
        font-weight: 700;
    }
    
    .phone-item i {
        background: #583BFF;
        color: #ffffff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .phone-item {
        transition: none;
    }
    
    .phone-item::before {
        display: none;
    }
    
    .phone-item:hover {
        transform: none;
    }
}
