﻿/* ============================================================
   contact-us.css - استایل اختصاصی و مدرن صفحه تماس با ما
   ============================================================ */

.contact-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding: 40px 20px;
    direction: rtl;
}

.contact-card {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* ========== سمت راست: اطلاعات تماس ========== */
.contact-info-side {
    flex: 0.8;
    background: linear-gradient(135deg, #1e1e2a, #2c2c3e); /* همرنگ فوتر سایت */
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

    /* افکت دایره‌های پس‌زمینه */
    .contact-info-side::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: rgba(194, 24, 91, 0.2);
        border-radius: 50%;
        z-index: 1;
    }

    .contact-info-side::after {
        content: '';
        position: absolute;
        bottom: -80px;
        left: -50px;
        width: 250px;
        height: 250px;
        background: rgba(33, 150, 243, 0.1);
        border-radius: 50%;
        z-index: 1;
    }

.info-content {
    position: relative;
    z-index: 2;
}

    .info-content h2 {
        font-size: 28px;
        font-weight: 900;
        margin-bottom: 15px;
        color: #fff;
    }

    .info-content p {
        font-size: 15px;
        line-height: 1.8;
        color: rgba(255,255,255,0.7);
        margin-bottom: 40px;
    }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .contact-item i {
        font-size: 20px;
        color: #C2185B;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.05);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .contact-item span {
        font-size: 15px;
        font-weight: bold;
        letter-spacing: 1px;
    }

/* شبکه‌های اجتماعی */
.contact-social h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.social-icons-wrapper {
    display: flex;
    gap: 12px;
}

    .social-icons-wrapper a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
        transition: all 0.3s ease;
        border: 1px solid rgba(255,255,255,0.1);
    }

        .social-icons-wrapper a:hover {
            background: #C2185B;
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(194, 24, 91, 0.4);
        }

    .social-icons-wrapper img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

/* ========== سمت چپ: فرم ارسال پیام ========== */
.contact-form-side {
    flex: 1.2;
    padding: 50px 40px;
    background: #fff;
}

.form-header {
    margin-bottom: 30px;
}

    .form-header h3 {
        font-size: 24px;
        color: #333;
        font-weight: 900;
        margin-bottom: 5px;
    }

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .input-box label {
        font-size: 14px;
        font-weight: bold;
        color: #555;
    }

.contact-input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    background: #fcfcfc;
    transition: 0.3s;
    outline: none;
    box-sizing: border-box;
}

    .contact-input:focus {
        border-color: #C2185B;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.1);
    }

textarea.contact-input {
    resize: vertical;
    min-height: 120px;
}

/* دکمه‌های ارسال */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-send {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #00aaff);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

    .btn-telegram:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
    }

.btn-sms {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

    .btn-sms:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
    }

/* ========== ریسپانسیو ========== */
@media (max-width: 850px) {
    .contact-card {
        flex-direction: column;
    }

    .contact-info-side {
        order: 2; /* اطلاعات تماس می‌رود پایین */
        padding: 40px 25px;
    }

    .contact-form-side {
        order: 1; /* فرم می‌آید بالا */
        padding: 40px 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .action-buttons {
        flex-direction: column;
    }
}
