/* ========================================
   فونت‌ها و تنظیمات پایه
   ======================================== */
@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;
}


/* ========================================
   محتوای اصلی صفحه
   ======================================== */
.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content p {
    text-align: justify;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 2;
}


/* ========================================
   بخش خبرنامه
   ======================================== */
.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 {
    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;
    }
}