/**
 * =====================================================
 * استایل‌های پروژه شهدای آذربایجان غربی
 * طراحی مدرن و زیبا با پشتیبانی RTL کامل
 * =====================================================
 */

/* =====================================================
   متغیرهای CSS - رنگ‌ها و فونت‌ها
   ===================================================== */
:root {
    /* رنگ‌های اصلی */
    --primary-color: #1a5f4a;
    --primary-dark: #0d3d2e;
    --primary-light: #2e8b6e;
    --secondary-color: #c9a227;
    --secondary-dark: #a8851f;
    --secondary-light: #e6c455;
    
    /* رنگ‌های پس‌زمینه */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-dark: #1a1a2e;
    --bg-gradient: linear-gradient(135deg, #1a5f4a 0%, #0d3d2e 100%);
    
    /* رنگ‌های متن */
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #b2bec3;
    --text-white: #ffffff;
    
    /* رنگ‌های اضافی */
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #e17055;
    --info-color: #0984e3;
    
    /* سایه‌ها */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
    
    /* حاشیه‌ها */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 50%;
    
    /* انیمیشن */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* فونت‌ها */
    --font-primary: 'Vazirmatn', 'Tahoma', sans-serif;
    --font-heading: 'Lalezar', 'Vazirmatn', sans-serif;
}

/* =====================================================
   ریست و استایل‌های پایه
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* فونت‌های فارسی */
@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lalezar';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/lalezar@1.0.0/font/Lalezar.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* لینک‌ها */
a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

/* تصاویر */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* لیست‌ها */
ul, ol {
    list-style: none;
}

/* =====================================================
   کامپوننت‌های پایه
   ===================================================== */

/* کانتینر */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* عنوان‌ها */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title span {
    color: var(--primary-color);
}

/* دکمه‌ها */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* کارت‌ها */
.card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* =====================================================
   هدر سایت
   ===================================================== */
.header {
    background: var(--bg-gradient);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.logo-text {
    color: var(--text-white);
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
}

.logo-text p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* نویگیشن */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-white);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
}

/* منوی موبایل */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =====================================================
   هیرو سکشن
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: var(--text-white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--text-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
}

.hero-btn-white {
    background: var(--text-white);
    color: var(--primary-color);
}

.hero-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.hero-btn-outline:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

/* انیمیشن‌های پارتیکل */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* =====================================================
   بخش آمار
   ===================================================== */
.stats-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-gradient);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* =====================================================
   بخش شهرها
   ===================================================== */
.cities-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.city-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: var(--bg-gradient);
    opacity: 0.9;
    z-index: 1;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.city-header {
    position: relative;
    z-index: 2;
    padding: 30px 20px 20px;
    text-align: center;
}

.city-icon {
    width: 80px;
    height: 80px;
    background: var(--text-white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
    box-shadow: var(--shadow-md);
}

.city-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.city-body {
    padding: 25px 20px;
    text-align: center;
}

.city-martyr-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-primary);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.city-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.city-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.city-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* =====================================================
   بخش شهدای ویژه
   ===================================================== */
.featured-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.martyr-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.martyr-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.martyr-image {
    position: relative;
    height: 280px;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.martyr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.martyr-placeholder {
    font-size: 5rem;
    color: rgba(255,255,255,0.3);
}

.martyr-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.martyr-content {
    padding: 25px;
}

.martyr-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.martyr-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.martyr-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.martyr-info-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.martyr-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.martyr-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.martyr-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* =====================================================
   صفحه شهر - لیست شهداء
   ===================================================== */
.page-header {
    background: var(--bg-gradient);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--text-white);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.page-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

/* گرید شهداء */
.martyrs-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.martyrs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* فیلتر و جستجو */
.filter-section {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.search-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: 2px solid var(--bg-primary);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 74, 0.1);
}

/* =====================================================
   صفحه جزئیات شهید
   ===================================================== */
.martyr-detail {
    padding: 0 0 80px;
}

.martyr-hero {
    background: var(--bg-gradient);
    padding: 150px 0 100px;
    position: relative;
}

.martyr-hero-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
}

.martyr-photo {
    position: relative;
}

.martyr-photo-wrapper {
    width: 300px;
    height: 300px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--text-white);
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
}

.martyr-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.martyr-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.martyr-main-info {
    color: var(--text-white);
}

.martyr-main-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
}

.martyr-rank {
    display: inline-block;
    background: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1rem;
    margin-bottom: 25px;
}

.martyr-quick-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
}

.quick-info-item svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
}

.quick-info-item span {
    font-size: 0.95rem;
}

/* محتوای شهید */
.martyr-content-section {
    background: var(--bg-primary);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    padding: 60px 0;
}

.martyr-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    background: var(--bg-secondary);
    padding: 10px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.tab-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.martyr-text {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    line-height: 2.2;
    color: var(--text-primary);
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
}

.martyr-text p {
    margin-bottom: 20px;
}

/* گالری تصاویر */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* =====================================================
   صفحه تماس با ما
   ===================================================== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--bg-primary);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 74, 0.1);
}

.contact-info {
    padding: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

/* =====================================================
   فوتر
   ===================================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about {
    padding-left: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.9;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255,255,255,0.6);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* =====================================================
   پنل مدیریت
   ===================================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--bg-dark);
    padding: 30px 0;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo {
    padding: 0 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-logo h2 {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.admin-nav {
    padding: 0 15px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: rgba(255,255,255,0.7);
    border-radius: var(--border-radius-md);
    margin-bottom: 5px;
    transition: all var(--transition-fast);
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.admin-content {
    flex: 1;
    margin-right: 280px;
    padding: 30px;
    background: var(--bg-primary);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
}

/* جدول مدیریت */
.admin-table {
    width: 100%;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.admin-table th,
.admin-table td {
    padding: 18px 20px;
    text-align: right;
}

.admin-table th {
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 600;
}

.admin-table tr:not(:last-child) {
    border-bottom: 1px solid var(--bg-primary);
}

.admin-table tr:hover {
    background: rgba(26, 95, 74, 0.05);
}

.action-btns {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.action-btn-edit {
    background: var(--info-color);
    color: var(--text-white);
}

.action-btn-delete {
    background: var(--danger-color);
    color: var(--text-white);
}

.action-btn:hover {
    transform: scale(1.1);
}

/* فرم مدیریت */
.admin-form {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.admin-form .form-group {
    margin-bottom: 25px;
}

/* =====================================================
   پیام‌ها و نوتیفیکیشن
   ===================================================== */
.alert {
    padding: 18px 25px;
    border-radius: var(--border-radius-md);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-success {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.alert-error {
    background: rgba(225, 112, 85, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.alert-warning {
    background: rgba(253, 203, 110, 0.1);
    color: #b8860b;
    border: 1px solid var(--warning-color);
}

/* =====================================================
   پگینیشن
   ===================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: var(--text-white);
}

/* =====================================================
   ریسپانسیو
   ===================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .martyr-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .martyr-quick-info {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .admin-content {
        margin-right: 0;
    }
    
    .admin-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .martyr-main-name {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    
    .martyr-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .martyr-photo-wrapper {
        width: 200px;
        height: 200px;
    }
}

/* =====================================================
   انیمیشن‌های ورود
   ===================================================== */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأخیر انیمیشن */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* =====================================================
   استایل‌های چاپ
   ===================================================== */
@media print {
    .header,
    .footer,
    .btn,
    .admin-sidebar {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .martyr-hero {
        background: #f0f0f0;
        color: black;
    }
}
