/* استایل‌های مخصوص صفحه تماس */

/* هیرو صفحه تماس */
.contact-hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #FF8E8E);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,100 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');*/
    background-size: cover;
}

.contact-hero .page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-hero .page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* بخش اصلی تماس */
.contact-main {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* سایدبار اطلاعات تماس */
.contact-info-sidebar {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.method-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-method:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-content {
    flex: 1;
}

.method-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.method-content p {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.method-content small {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-social {
    margin-bottom: 3rem;
}

.contact-social h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    color: var(--text-color);
    transition: var(--transition);
    width: auto;
}

.social-link:hover {
    transform: translateX(-5px);
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
}

.social-link.github:hover {
    background-color: #333;
    color: white;
}

.social-link.linkedin:hover {
    background-color: #0077B5;
    color: white;
}

.social-link.twitter:hover {
    background-color: #1DA1F2;
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.social-link i {
    width: 20px;
    font-size: 1.1rem;
}

.contact-hours h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-list li:last-child {
    border-bottom: none;
}

/* بخش فرم تماس */
.contact-form-section {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.contact-form-section .section-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-form-section .section-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* فرم تماس */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: #FF6584;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    font-weight: normal;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-actions .btn {
    flex: 1;
}

.form-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 1rem;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: var(--border-radius-sm);
    margin-top: 1rem;
}

.form-notice i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.form-notice p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* پیام موفقیت */
.contact-success {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius-lg);
    border: 2px solid #4CAF50;
}

.success-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    color: #4CAF50;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.contact-success h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-success p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* سوالات متداول سریع */
.quick-faq {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.quick-faq .section-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.faq-item h3 i {
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* استایل‌های واکنش‌گرا */
@media (max-width: 768px) {
    .contact-hero .page-title {
        font-size: 2.5rem;
    }
    
    .contact-info-sidebar {
        position: static;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .quick-faq {
        padding: 1.5rem;
    }
}