/* ========================================
   فونت‌ها و تنظیمات پایه
   ======================================== */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.8;
}


/* ========================================
   هدر و ناوبری
   ======================================== */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* لوگو */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8e44ad;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* لینک‌های منو */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #8e44ad;
}


/* ========================================
   مسیر ناوبری (Breadcrumb)
   ======================================== */
.breadcrumb {
    background: #f8f9fa;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #8e44ad;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #999;
}


/* ========================================
   عنوان صفحه
   ======================================== */
.page-title {
    background: linear-gradient(135deg, #f5f0f8 0%, #e8e0f0 100%);
    padding: 2rem;
    text-align: center;
}

.page-title h1 {
    color: #2c3e50;
    font-size: 1.8rem;
}


/* ========================================
   محتوای تماس با ما
   ======================================== */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* کارت‌های اطلاعات تماس */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* آیکون کارت تماس */
.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: #8e44ad;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.contact-card h3 {
    color: #8e44ad;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: #555;
    line-height: 2;
}


/* ========================================
   فرم تماس
   ======================================== */
.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

/* گروه‌های فرم */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8e44ad;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* دکمه ارسال */
.submit-btn {
    background: #8e44ad;
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background: #9b59b6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(142, 68, 173, 0.3);
}


/* ========================================
   بخش خبرنامه
   ======================================== */
.newsletter {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    padding: 1.5rem;
    text-align: center;
    color: #fff;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    align-items: stretch;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px 0 0 8px;
    font-family: inherit;
    text-align: right;
}

.newsletter button {
    padding: 0.8rem 2rem;
    background: #fff;
    color: #8e44ad;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter button:hover {
    transform: scale(1.05);
}


/* ========================================
   فوتر
   ======================================== */
footer {
    background: #fff;
    padding: 3rem 2rem 1rem;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #8e44ad;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8e44ad;
}

.contact-info-footer {
    color: #555;
    line-height: 2;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #8e44ad;
    color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: #777;
}


/* ========================================
   طراحی واکنش‌گرا (Responsive)
   ======================================== */
@media (max-width: 768px) {
    /* منو */
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    /* فوتر */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* کارت‌های تماس */
    .contact-info {
        grid-template-columns: 1fr;
    }
}