/* متغیرهای رنگ رسمی و شکیل */
:root {
    --primary-dark: #0f2c3d;
    --primary: #1e4459;
    --primary-light: #286b84;
    --gold: #c9a03d;
    --gold-light: #e0b354;
    --gold-soft: #f5e7d3;
    --gray-bg: #f9f8f5;
    --card-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08), 0 4px 10px -4px rgba(0, 0, 0, 0.02);
    --hover-shadow: 0 25px 40px -14px rgba(0, 0, 0, 0.15);
    --border-light: #eae2d7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.entry-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}
.entry-meta span {
    margin-left: 1rem;
}
.post-thumbnail {
    margin: 1rem 0;
}

.faction_title {
    font-size: 1rem;
    font-weight: bold;
}

/* ========== HEADER / NAVBAR (رسمی و شیشه‌ای) ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 44, 61, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    padding: 14px 0;
    transition: all 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    border-right: 4px solid var(--gold);
    padding-right: 14px;
    line-height: 1.3;
}
.logo span {
    font-size: 0.85rem;
    font-weight: 400;
    display: block;
    color: var(--gold-light);
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #f0ede8;
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}
.nav-links a:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 12px;
    transition: 0.2s;
}
.menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* ========== هیرو اصلی (شکیل با خطوط طلایی) ========== */
.hero {
    background: linear-gradient(135deg, #112b38 0%, #1e4459 100%);
    color: white;
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(201,160,61,0.12) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(224,179,84,0.08) 0%, transparent 70%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 30%, #f5e2b0 80%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 36px;
    font-weight: 400;
}
.btn-group {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    background: var(--gold);
    color: #1e2a2f;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 700;
    transition: 0.25s;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    background: #e0b354;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold-light);
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.25s;
}
.btn-outline:hover {
    background: rgba(201,160,61,0.15);
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* ========== بخش عمومی ========== */
section {
    padding: 40px 0;
}
.section-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f2c3d;
    position: relative;
    display: inline-block;
    width: 100%;
}
.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 4px;
}
.section-sub {
    text-align: center;
    color: #5a6e7a;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1rem;
}

/* کارت رسمی با سایه نرم */
.card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    transition: all 0.25s;
    border: 1px solid var(--border-light);
    padding-bottom: 18px;


}
.card_center {
    justify-content: center;
    //align-items: center;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
}

/* درباره و اهداف */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.about-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #2c3e44;
}
.goals-list {
    list-style: none;
}
.goals-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    background: var(--gray-bg);
    padding: 12px 20px;
    border-radius: 60px;
    font-weight: 500;
}
.goals-list i {
    color: var(--gold);
    font-size: 1.3rem;
    width: 32px;
}

/* احزاب عضو (کارت‌های شکیل) */
.parties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 20px;
}
.party-card {
    text-align: center;
}
.party-icon {
    background: #f4efe6;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 60px;
    margin: 0 auto 20px;
    font-size: 2.3rem;
    color: var(--primary);
    transition: 0.2s;
}
.party-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.party-card p {
    color: #5e6f78;
    font-size: 0.9rem;
}

/* آمار چشمگیر */
.stats {
    background: linear-gradient(110deg, #f9f5ec 0%, #fff 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.stat-item p {
    font-weight: 500;
    color: #6c7c86;
    margin-top: 8px;
}

/* اخبار و رویدادها */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.news-card {
    padding: 0;
    overflow: hidden;
}
.news-img {
    background: var(--gold-soft);
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    //border-radius: 14px;
}
.news-content {
    padding: 22px 20px 25px;
}
.news-date {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.news-content h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.read-more {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 600;
    //border-bottom: 1px dashed var(--gold);
    text-align: end;
    padding-left: 18px;
}

/* تماس با ما */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--card-shadow);
}
.contact-info i {
    width: 38px;
    color: var(--gold);
    font-size: 1.3rem;
}
.info-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form {
    padding: 25px;
}
.contact-form input, .contact-form textarea {
    padding: 14px 20px;
    border-radius: 28px;
    border: 1px solid var(--border-light);
    font-family: 'Vazirmatn', sans-serif;
    background: #fff;
    transition: 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color:var(--gold);
    box-shadow: 0 0 0 2px rgba(201,160,61,0.2);
}
.contact-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.contact-form button:hover {
    background: var(--primary-light);
}

/* فوتر رسمی */
footer {
    background: #0f2c3d;
    color: #cdddd8;
    padding: 50px 0 20px;
    /*margin-top: 20px;*/
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}
.social-links a {
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 40px;
    justify-content: center;
    align-items: center;
    margin-left: 12px;
    transition: 0.2s;
    color: #f5e7d3;
}
.social-links a:hover {
    background: var(--gold);
    color: #0f2c3d;
    transform: translateY(-3px);
}
.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.party-card h3 {
    margin-top: 15px;
}

.party-card p {
    margin: 0px 10px;
}


/* واکنش‌گرایی (موبایل) */
@media (max-width: 900px) {
    .container {
        padding: 0 24px;
    }
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 18px;
        padding: 24px 0 12px;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .section-title {
        /*font-size: 1.8rem;*/
    }
    .stats-grid {
        gap: 30px;
    }
}
@media (max-width: 550px) {
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    .hero {
        padding: 50px 0;
    }
}