/* استایل‌های تکمیلی - assets/main.css */

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    animation: fadeInUp 0.8s ease-out;
}

.post-card {
    animation: fadeInUp 0.6s ease-out;
}

.post-card:nth-child(2) {
    animation-delay: 0.1s;
}

.post-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* اسکرول */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6c5ce7;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a4bd1;
}

/* لودینگ */
.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6c5ce7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* استایل مطلب تکی */
.single-post {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.single-post .post-thumbnail img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.single-post .post-title {
    font-size: 32px;
    color: #2d3436;
    margin-bottom: 10px;
}

.single-post .post-meta {
    color: #b2bec3;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-post .entry-content {
    line-height: 2;
}

.single-post .entry-content p {
    margin-bottom: 15px;
}

.single-post .post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    color: #6c5ce7;
}

/* استایل صفحات */
.page-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.page-content .page-title {
    font-size: 32px;
    color: #2d3436;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* استایل 404 */
.file-404 {
    text-align: center;
    padding: 60px 20px;
}

.file-404 h1 {
    font-size: 80px;
    color: #6c5ce7;
    margin-bottom: 10px;
}

.file-404 h2 {
    font-size: 28px;
    color: #2d3436;
    margin-bottom: 20px;
}

/* منوی فوتر */
.footer-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-menu li a {
    color: #b2bec3;
}

.footer-menu li a:hover {
    color: #fff;
}

/* استایل منوی موبایل */
@media (max-width: 768px) {
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}