/* استایل‌های اصلی */
* {
    font-family: 'Vazirmatn', sans-serif;
}

body {
    direction: rtl;
    text-align: right;
    background-color: #f8f9fa;
}

/* نوار ناوبری */
.navbar-brand {
    font-weight: 700;
}

/* بخش قهرمان */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 20px 20px;
}

/* آمار کمک‌ها */
.donation-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 40px 20px;
    margin: 30px 0;
}

.stat-item {
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}

/* کارت‌ها */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.news-card, .gallery-card {
    transition: all 0.3s ease;
}

.news-card:hover, .gallery-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* عنوان بخش‌ها */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* فرم‌ها */
.form-control, .form-select {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* دکمه‌ها */
.btn {
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* جدول‌ها */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 15px;
}

.table td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* اطلاعات بانکی */
.bank-card-number, .bank-sheba, .bank-name {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1em;
    margin: 10px 0;
}

/* بخش مدیریت */
.admin-sidebar .list-group-item {
    border: none;
    padding: 15px 20px;
    border-radius: 0;
}

.admin-sidebar .list-group-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .donation-stats {
        padding: 20px 10px;
    }
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.5s ease;
}

/* اسکرول بار */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}