﻿:root {
    --primary-blue: #1a3e72;
    --secondary-blue: #2a56a5;
    --gold-accent: #d4af37;
    --dark-gray: #333333;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Vazir', 'B Nazanin', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: var(--dark-gray);
}

/* هدر رسمی */
.official-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--gold-accent);
}

.official-logo {
    height: 30px;
    margin-left: 10px;
}

/* نوبار اصلی */
.main-navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-blue);
    padding: 0.75rem 1.25rem;
    position: relative;
}

    .nav-link:hover, .nav-link.active {
        color: var(--secondary-blue);
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 1.25rem;
            left: 1.25rem;
            height: 3px;
            background-color: var(--gold-accent);
        }

/* بخش اصلی */
.main-content {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin: 2rem auto;
    padding: 2rem;
    border-top: 4px solid var(--gold-accent);
}

.page-title {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* کارت رویداد */
.event-card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.event-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.event-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--gold-accent);
    color: var(--primary-blue);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.event-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-blue);
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.event-body {
    padding: 1.5rem;
}

.event-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

    .event-meta i {
        color: var(--gold-accent);
        margin-left: 5px;
    }

.event-description {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.event-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s;
}

    .event-btn:hover {
        background-color: var(--secondary-blue);
    }

/* تب‌های فیلتر */
.nav-tabs .nav-link {
    color: var(--dark-gray);
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
}

    .nav-tabs .nav-link.active {
        color: var(--primary-blue);
        border-bottom: 3px solid var(--gold-accent);
        background-color: transparent;
    }

/* فوتر رسمی */
.official-footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 3rem 0 1.5rem;
    border-top: 2px solid var(--gold-accent);
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 2px;
        background-color: var(--gold-accent);
    }

.footer-link {
    color: #d1d1d1;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
}

    .footer-link:hover {
        color: white;
        padding-right: 5px;
    }

.contact-info {
    color: #d1d1d1;
    margin-bottom: 1rem;
}

.contact-icon {
    color: var(--gold-accent);
    margin-left: 8px;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-left: 0.5rem;
    transition: all 0.3s;
}

    .social-badge:hover {
        background-color: var(--gold-accent);
        color: var(--primary-blue);
    }

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    color: #aaa;
    font-size: 0.85rem;
}
