﻿body {
    font-family: "Vazirmatn", sans-serif;
    margin: 0;
    background: #f2f6fa;
    color: #333;
}

/* ظرف اصلی */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* هدر */
.main-header {
    background: linear-gradient(135deg, #004466, #0077b6);
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 999;
}

    .main-header .logo-text {
        font-weight: 700;
        font-size: 1.4rem;
        color: #fff;
        text-decoration: none;
    }

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .main-nav a:hover {
        color: #ffdd00;
    }

/* مقاله */
.article-box {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    margin: 40px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    line-height: 1.9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .article-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

.article-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

    .article-title::after {
        content: "";
        display: block;
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #00b4d8, #0077b6);
        margin: 15px auto 0;
        border-radius: 2px;
    }

.article-image {
    text-align: center;
    margin: 25px 0;
}

    .article-image img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
        transition: transform 0.4s ease;
    }

        .article-image img:hover {
            transform: scale(1.03);
        }

.article-content {
    font-size: 1.15rem;
    text-align: justify;
    color: #444;
    line-height: 2.1;
    margin-top: 20px;
}

/* دکمه‌های قبلی/بعدی */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

    .nav-btn i {
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

.prev-btn:hover i {
    transform: translateX(5px);
}

.next-btn:hover i {
    transform: translateX(-5px);
}

.nav-btn:hover {
    background: linear-gradient(135deg, #0096c7, #00b4d8);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

/* فوتر */
.main-footer {
    background: #004466;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
