/*
Theme Name: Dima Shahrdari 23 Pro
Theme URI: https://dimawp.ir
Author: روح الله بلوردی
Author URI: https://dimawp.ir
Description: قالب حرفه‌ای شهرداری با طراحی مدرن
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dima-shahrdari
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    background-color: #f3f4f6;
    color: #374151;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-in { animation: fadeIn 0.5s ease-in-out; }
.animate-slide-up { animation: slideUp 0.4s ease-out; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* ==================== LAYOUT ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==================== HEADER ==================== */
.gradient-header {
   background: url('assets/images/bac.png') #0d2137;
    position: relative;
    overflow: hidden;
}
.nav-gradient {
    background: linear-gradient(90deg, #1a3a6b, #2d5aa0, #1a3a6b);
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ==================== WIDGETS ==================== */
.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.widget-title {
    color: #1a3a6b;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #2d5aa0;
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==================== NEWS ITEMS ==================== */
.news-item {
    transition: all 0.3s;
}

.news-item:hover {
    background: #f0f4ff;
}

/* ==================== FOOTER ==================== */
.footer-link {
    color: #9ca3af;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: #3b7dd8;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.3s;
}

.social-btn:hover {
    background: rgba(45, 90, 160, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
    }
    .desktop-nav {
        display: none !important;
    }
    .desktop-fab {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* ==================== UTILITY ==================== */
.text-primary { color: #1a3a6b; }
.text-secondary { color: #2d5aa0; }
.text-accent { color: #3b7dd8; }
.bg-primary { background-color: #1a3a6b; }
.bg-secondary { background-color: #2d5aa0; }
.bg-accent { background-color: #3b7dd8; }
.border-primary { border-color: #1a3a6b; }