/* =====================================================
   ATRIN TEJARAT — Contact Page (تماس با ما)
   ===================================================== */

.contact-page-main {
    background-color: #ECEBF2;
    direction: rtl;
    font-family: 'Yekan Bakh', Tahoma, sans-serif;
    padding-bottom: 80px;
}

/* =====================================================
   HERO STRIP
   ===================================================== */
.contact-hero-strip {
    background: linear-gradient(135deg, #153152 0%, #1e4a7a 100%);
    padding: 50px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-strip::before {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(251,185,0,0.06);
    top: -100px; left: -80px;
    pointer-events: none;
}

.contact-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-hero-text {
    flex: 1;
    min-width: 260px;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251,185,0,0.15);
    color: #FBB900;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.contact-hero-title {
    font-family: 'Rokh Pro','Yekan Bakh', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 1.45;
    margin: 0 0 14px 0;
}

.contact-hero-desc {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,0.75);
    margin: 0;
    max-width: 480px;
}

.contact-hero-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 280px;
}

.contact-info-pill {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.3s ease;
}

.contact-info-pill:hover {
    background: rgba(255,255,255,0.13);
}

.contact-info-pill-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(251,185,0,0.15);
    display: flex; align-items: center; justify-content: center;
    color: #FBB900;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-pill-label {
    font-size: 11.5px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 3px;
}

.contact-info-pill-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.contact-info-pill-value:hover { color: #FBB900; }

/* =====================================================
   BODY GRID
   ===================================================== */
.contact-body-section {
    padding: 50px 0;
}

.contact-body-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
}

/* =====================================================
   FORM CARD
   ===================================================== */
.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 12px 40px rgba(21,49,82,0.06);
}

.contact-form-title {
    font-family: 'Rokh Pro','Yekan Bakh', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #153152;
    margin: 0 0 6px 0;
}

.contact-form-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0 0 28px 0;
    line-height: 1.7;
}

.contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-alert i { font-size: 20px; }
.contact-alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.contact-alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-field-group {
    margin-bottom: 18px;
}

.contact-field-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #153152;
    margin-bottom: 8px;
}

.contact-field-label span { color: #e53e3e; }

.contact-field-input {
    width: 100%;
    height: 46px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 14px;
    font-family: 'Yekan Bakh', sans-serif;
    font-size: 14px;
    color: #2d3748;
    background: #f9fafc;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    direction: rtl;
}

.contact-field-input:focus {
    outline: none;
    border-color: #153152;
    box-shadow: 0 0 0 3px rgba(21,49,82,0.08);
    background: #fff;
}

.contact-field-textarea {
    height: auto;
    padding: 12px 14px;
    resize: vertical;
}

select.contact-field-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23153152' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FBB900;
    color: #153152;
    font-family: 'Yekan Bakh', sans-serif;
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.contact-submit-btn:hover {
    background: #e5a700;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251,185,0,0.3);
}

/* =====================================================
   INFO COLUMN
   ===================================================== */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Map */
.contact-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(21,49,82,0.08);
    height: 260px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.contact-map-placeholder {
    background: #fff;
    border-radius: 16px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #888;
    font-size: 14px;
    box-shadow: 0 8px 30px rgba(21,49,82,0.06);
    text-align: center;
    padding: 20px;
}

/* Social Card */
.contact-social-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 8px 30px rgba(21,49,82,0.06);
}

.contact-social-title {
    font-family: 'Rokh Pro','Yekan Bakh', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #153152;
    margin: 0 0 16px 0;
}

.contact-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
}

.contact-social-btn i { font-size: 18px; }
.contact-social-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }

.contact-social-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.contact-social-telegram  { background: #2AABEE; }
.contact-social-whatsapp  { background: #25D366; }
.contact-social-linkedin  { background: #0A66C2; }
.contact-social-twitter   { background: #1DA1F2; }
.contact-social-youtube   { background: #FF0000; }

/* Detail Card */
.contact-detail-card {
    background: linear-gradient(135deg, #153152 0%, #1e4a7a 100%);
    border-radius: 16px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-detail-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-detail-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(251,185,0,0.15);
    display: flex; align-items: center; justify-content: center;
    color: #FBB900;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 11.5px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 3px;
}

.contact-detail-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.contact-detail-value:hover { color: #FBB900; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .contact-body-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-hero-cards {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .contact-hero-strip {
        padding: 100px 0 40px 0;
    }

    .contact-hero-title { font-size: 23px; }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .contact-social-grid {
        grid-template-columns: 1fr;
    }
}
