/* HamidCMS Default Theme Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
    --hcms-font: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --hcms-primary: #2563eb;
    --hcms-primary-dark: #1d4ed8;
    --hcms-text: #1f2937;
    --hcms-bg-light: #f8fafc;
}

body {
    font-family: var(--hcms-font);
    color: var(--hcms-text);
    background-color: #fdfdfd;
    line-height: 1.8;
}

/* RTL Helpers */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
}

[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Navbar */
.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 1.4rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #4b5563;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--hcms-primary) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 4.5rem 0;
}

/* Content & Block Styles */
.content-area {
    font-size: 1.1rem;
}

.content-heading {
    font-weight: 700;
    color: #111827;
    margin-top: 1.8rem;
}

.content-paragraph {
    margin-bottom: 1.5rem;
    color: #374151;
}

.content-quote {
    background: #f1f5f9;
    border-radius: 8px;
}

[dir="rtl"] .content-quote {
    border-right: 4px solid var(--hcms-primary) !important;
    border-left: none !important;
}

.content-gallery img {
    transition: transform 0.25s ease-in-out;
}

.content-gallery img:hover {
    transform: scale(1.02);
}

/* Cards */
.post-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #ffffff;
}

/* Comments */
.comment-item {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
