﻿/* Communication Modal Styles - مخصوص مودال تماس */
.communication-modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.communication-modal-header {
    background: white;
    color: #333;
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 25px;
    position: relative;
    text-align: center;
}

.communication-modal-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.communication-modal-header .btn-close {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.communication-modal-body {
    padding: 25px;
}

.communication-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.communication-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #f8f9fa;
    background: white;
}

.communication-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #e9ecef;
}

.communication-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-left: 15px;
}

.communication-icon.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.communication-icon.telegram-icon {
    background: linear-gradient(135deg, #0088cc 0%, #006bb3 100%);
}

.communication-icon.phone-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* WhatsApp Icon Style */
.communication-icon.whatsapp-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.communication-content {
    flex: 1;
    text-align: right;
}

.communication-content h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.communication-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.communication-arrow {
    color: #ccc;
    font-size: 18px;
    transition: all 0.3s ease;
}

.communication-option:hover .communication-arrow {
    color: #999;
    transform: translateX(-5px);
}

/* Responsive برای مودال تماس */
@media (max-width: 576px) {
    .communication-option {
        padding: 15px;
    }
    
    .communication-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-left: 10px;
    }
    
    .communication-content h6 {
        font-size: 1rem;
    }
    
    .communication-content p {
        font-size: 0.8rem;
    }
    
    .communication-modal-body {
        padding: 20px;
    }
}

/*//////////////////////////////////////////*/

/* انیمیشن wave effect - نسخه کامل */
.communication-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #f8f9fa;
    background: white;
    position: relative;
    overflow: hidden;
}

.communication-option::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
    opacity: 0;
}

.communication-option:hover::before {
    width: 600px; /* اندازه رو خیلی بزرگ‌تر کردم */
    height: 600px; /* اندازه رو خیلی بزرگ‌تر کردم */
    opacity: 1;
}

/* رنگ‌های wave برای هر گزینه - با پوشش کامل */
.communication-option:nth-child(1)::before {
    background: radial-gradient(circle, rgba(240, 148, 51, 0.2) 0%, rgba(230, 104, 60, 0.15) 30%, rgba(220, 39, 67, 0.1) 60%, rgba(188, 24, 136, 0.05) 80%, transparent 100%);
}

.communication-option:nth-child(2)::before {
    background: radial-gradient(circle, rgba(0, 136, 204, 0.2) 0%, rgba(0, 120, 190, 0.15) 30%, rgba(0, 107, 179, 0.1) 60%, rgba(0, 90, 150, 0.05) 80%, transparent 100%);
}

.communication-option:nth-child(3)::before {
    background: radial-gradient(circle, rgba(37, 211, 102, 0.25) 0%, rgba(30, 190, 95, 0.18) 30%, rgba(25, 170, 85, 0.12) 60%, rgba(20, 150, 75, 0.06) 80%, transparent 100%);
}

.communication-option:nth-child(4)::before {
    background: radial-gradient(circle, rgba(34, 139, 34, 0.2) 0%, rgba(46, 125, 50, 0.15) 30%, rgba(56, 142, 60, 0.1) 60%, rgba(66, 160, 71, 0.05) 80%, transparent 100%);
}

/* اطمینان از قرار گیری محتوا روی انیمیشن */
.communication-icon,
.communication-content,
.communication-arrow {
    position: relative;
    z-index: 2;
}

/* تنظیمات hover موجود */
.communication-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #e9ecef;
}