/* ========================================
   تماس با ما - استایل کامل
   ======================================== */

:root {
    --contact-primary: #2563eb;
    --contact-primary-dark: #1d4ed8;
    --contact-primary-light: #3b82f6;
    --contact-dark: #1e293b;
    --contact-gray: #64748b;
    --contact-light: #f8fafc;
    --contact-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.contact-page { direction: rtl; }

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== هیرو ========== */
.contact-hero {
    background: linear-gradient(135deg, #0a2540, #2563eb, #3b82f6);
    padding: 60px 0;
}
.contact-hero__content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.contact-hero__text { flex: 1; }
.contact-hero__text h1 { font-size: 42px; color: white; margin-bottom: 15px; }
.contact-hero__text h1 span { color: #fbbf24; }
.contact-hero__text p { font-size: 18px; color: rgba(255,255,255,0.9); }
.contact-hero__image { flex: 1; text-align: center; }
.contact-hero__image img { max-width: 100%; }

/* ========== اطلاعیه ========== */
.contact-notice {
    padding: 20px 0;
    background: #fef3c7;
    border-bottom: 1px solid #fde68a;
}
.contact-notice__content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.contact-notice__icon { font-size: 28px; }
.contact-notice__content p { flex: 1; color: #92400e; font-size: 14px; line-height: 1.6; }
.contact-notice__content p strong { color: #d97706; }

/* ========== اطلاعات تماس و فرم ========== */
.contact-info { padding: 80px 0; background: var(--contact-light); }
.contact-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* اطلاعات تماس */
.contact-info__details { background: var(--contact-white); padding: 35px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-info__details h2 { font-size: 24px; color: var(--contact-dark); margin-bottom: 25px; border-right: 4px solid var(--contact-primary); padding-right: 15px; }

.contact-detail-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}
.contact-detail-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-detail-icon { font-size: 32px; min-width: 50px; }
.contact-detail-text h3 { font-size: 16px; color: var(--contact-dark); margin-bottom: 6px; }
.contact-detail-text p { color: var(--contact-gray); font-size: 14px; margin-bottom: 4px; }

.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.contact-btn {
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}
.contact-btn--call { background: var(--contact-primary); color: white; }
.contact-btn--call:hover { background: var(--contact-primary-dark); transform: translateY(-2px); }
.contact-btn--ticket { background: #10b981; color: white; }
.contact-btn--ticket:hover { background: #059669; transform: translateY(-2px); }

/* فرم تماس */
.contact-info__form { background: var(--contact-white); padding: 35px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-info__form h2 { font-size: 24px; color: var(--contact-dark); margin-bottom: 25px; border-right: 4px solid var(--contact-primary); padding-right: 15px; }

.contact-form__row { margin-bottom: 20px; }
.contact-form__row:has(input, textarea) { display: flex; gap: 15px; flex-wrap: wrap; }

.contact-input, .contact-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    transition: 0.3s;
    background: var(--contact-white);
}
.contact-input:focus, .contact-textarea:focus {
    outline: none;
    border-color: var(--contact-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.contact-textarea { resize: vertical; }
.contact-submit {
    width: 100%;
    padding: 14px;
    background: var(--contact-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.contact-submit:hover { background: var(--contact-primary-dark); transform: translateY(-2px); }

/* ========== نقشه ========== */
.contact-map { padding: 80px 0; background: var(--contact-light); }
.contact-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.contact-section-header h2 { font-size: 28px; color: var(--contact-dark); margin-bottom: 8px; }
.contact-section-header p { color: var(--contact-gray); }

.contact-map__container {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.contact-map__container iframe,
.contact-map__container #map-container {
    width: 100%;
    height: 100%;
    border: none;
}

/* اسکلتون نقشه */
.skeleton-map {
    width: 100%;
    height: 400px;
    background: #e2e8f0;
    border-radius: 20px;
    animation: pulse 1.2s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}
.skeleton-map-inner {
    width: 80px;
    height: 80px;
    background: #cbd5e1;
    border-radius: 50%;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ========== ریسپانسیو ========== */
@media (max-width: 992px) {
    .contact-info__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .contact-container { padding: 0 16px; }
    .contact-hero__content { flex-direction: column; text-align: center; }
    .contact-hero__text h1 { font-size: 32px; }
    .contact-notice__content { flex-direction: column; text-align: center; }
    .contact-info__details, .contact-info__form { padding: 25px; }
    .contact-buttons { justify-content: center; }
    .contact-form__row { flex-direction: column; }
    .contact-map__container { height: 300px; }
}

@media (max-width: 480px) {
    .contact-detail-item { flex-direction: column; text-align: center; }
    .contact-detail-icon { margin: 0 auto; }
    .contact-btn { width: 100%; text-align: center; }
}