/**
 * استایل‌های باکس فراخوانی
 */

.wp-cta-box-container {
    margin: 40px 0;
    padding: 0;
}

.wp-cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.wp-cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.wp-cta-box-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.wp-cta-box-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
    /* جلوگیری از CLS با مشخص کردن ابعاد */
    aspect-ratio: 1 / 1;
}

.wp-cta-box-text {
    margin-bottom: 25px;
}

.wp-cta-box-text p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
    font-weight: 500;
}

.wp-cta-box-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.wp-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

.wp-cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    color: #ffffff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.wp-cta-button:active {
    transform: scale(0.98);
}

.wp-cta-icon {
    font-size: 20px;
    display: inline-block;
}

.wp-cta-button-phone {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.wp-cta-button-telegram {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.4) 0%, rgba(0, 136, 204, 0.2) 100%);
}

/* طراحی واکنش‌گرا */
@media (max-width: 768px) {
    .wp-cta-box {
        padding: 25px 20px;
        margin: 30px 10px;
    }
    
    .wp-cta-box-image img {
        width: 100px;
        height: 100px;
    }
    
    .wp-cta-box-text p {
        font-size: 16px;
    }
    
    .wp-cta-box-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .wp-cta-button {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .wp-cta-box {
        padding: 20px 15px;
    }
    
    .wp-cta-box-text p {
        font-size: 15px;
    }
    
    .wp-cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* انیمیشن بارگذاری */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wp-cta-box {
    animation: fadeInUp 0.6s ease-out;
}

