/* ============================================================
   🌱 رنگ‌بندی داینامیک تم (Dynamized Theme Colors)
   ============================================================ */

/* ============================================================
   1) نوار بالای سایت
   ============================================================ */
.hafizi-navbar {
    background: var(--theme-primary) !important;
    background-color: var(--theme-primary) !important;
    background-image: none !important;
    padding: 14px 0;
}

    /* لوگو داخل نوار */
    .hafizi-navbar .brand-icon {
        background: #ffffff;
        color: var(--theme-primary) !important;
    }

    /* لینک‌های منو */
    .hafizi-navbar .nav-link {
        color: #eaf4fc;
    }

        .hafizi-navbar .nav-link:hover,
        .hafizi-navbar .nav-link:focus {
            color: #ffffff;
        }

    /* دکمه‌های داخل نوار */
    .hafizi-navbar .btn-outline-light {
        color: #ffffff !important;
        border-color: #ffffff !important;
    }

        .hafizi-navbar .btn-outline-light:hover {
            background-color: #ffffff !important;
            color: var(--theme-primary) !important;
        }

    /* دکمه سفید «دریافت نوبت» */
    .hafizi-navbar .btn-light {
        background-color: #ffffff !important;
        border-color: #ffffff !important;
        color: var(--theme-primary) !important;
    }

        .hafizi-navbar .btn-light:hover {
            background-color: #f0f0f0 !important;
        }

        .hafizi-navbar .btn-light.text-primary {
            color: var(--theme-primary) !important;
        }

/* ============================================================
   2) لیبل‌ها و تیترهای بخش‌های صفحه اصلی
   ============================================================ */

/* «تازه‌های مطب»، «خدمات ما»، «ارتباط با مطب» و ... */
.section-label,
.hero-badge {
    color: var(--theme-primary) !important;
    background: #eaf4fc !important; /* رنگ ثابت روشن */
}

/* تیترهای h2 در هر بخش */
.section-heading h2,
.doctor-info-card h2 {
    color: #10365f !important; /* رنگ تیتر رو تیره نگه می‌داریم که خوانا باشه */
}

/* خط زیر تیترها (اگه از ::after استفاده می‌کنی، اینو هم اضافه کن) */
.section-label::after {
    background: var(--theme-primary) !important;
}

/* ============================================================
   3) دکمه‌های داینامیک
   ============================================================ */
.btn-primary {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #ffffff !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: var(--theme-primary) !important;
        border-color: var(--theme-primary) !important;
        filter: brightness(90%);
    }

.btn-outline-primary {
    color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    background-color: transparent !important;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        background-color: var(--theme-primary) !important;
        color: #ffffff !important;
    }

/* دکمه‌های داخل hero */
.hero-section .btn-primary {
    background: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
}

    .hero-section .btn-primary:hover {
        filter: brightness(90%);
    }

/* ============================================================
   4) آیکون‌های خدمات (01، 02، ...)
   ============================================================ */
.service-icon {
    background: var(--theme-primary) !important;
    color: #ffffff !important;
}

/* کارت‌های خدمات - خط بالای کارت */
.service-card {
    border-top: 3px solid var(--theme-primary) !important;
}

    /* لینک‌های داخل کارت خدمات */
    .service-card a {
        color: var(--theme-primary) !important;
    }

/* ============================================================
   5) آیکون‌های بزرگ (معرفی پزشک، ...)
   ============================================================ */
.doctor-info-icon {
    background: var(--theme-primary) !important;
    color: #ffffff !important;
}

/* ============================================================
   6) بج‌ها (badge)
   ============================================================ */
.badge.text-bg-primary,
.badge.bg-primary {
    background-color: var(--theme-primary) !important;
    color: #ffffff !important;
}

/* ============================================================
   7) لینک‌های داخل بخش تماس
   ============================================================ */
.contact-section a,
.contact-section .card a {
    color: var(--theme-primary) !important;
}

    .contact-section a:hover {
        color: var(--theme-primary) !important;
        opacity: 0.8;
    }

/* ============================================================
   8) کارت تماس (اگر از .contact-card استفاده می‌کنی)
   ============================================================ */
.contact-card {
    background: var(--theme-primary) !important;
    color: #ffffff !important;
}

/* ============================================================
   9) کلاس‌های عمومی Bootstrap
   ============================================================ */
.text-primary {
    color: var(--theme-primary) !important;
}

.bg-primary {
    background-color: var(--theme-primary) !important;
}

.border-primary {
    border-color: var(--theme-primary) !important;
}

/* ============================================================
   10) Tabها
   ============================================================ */
.nav-tabs .nav-link.active {
    border-bottom-color: var(--theme-primary) !important;
    color: var(--theme-primary) !important;
}

/* ============================================================
   11) پابرگ (فوتر)
   ============================================================ */
.hafizi-footer {
    background-color: var(--theme-primary) !important;
}
/* ============================================================
   12) لوگو Hafizi - هماهنگ با تم
   ============================================================ */

/* کلمه "Hafizi" کنار لوگو - سفید بمونه که روی نوار رنگی خوانا باشه */
.hafizi-navbar .navbar-brand {
    color: #ffffff !important;
}

/* آیکون H (داخل دایره سفید) - رنگ متنش با تم هماهنگ */
.hafizi-navbar .brand-icon {
    background: #ffffff !important;
    color: var(--theme-primary) !important;
    font-weight: 800;
    transition: color 0.2s ease;
}

/* افکت هاور روی لوگو */
.hafizi-navbar .navbar-brand:hover .brand-icon {
    background: #f0f0f0 !important;
}

.hafizi-navbar .navbar-brand:hover {
    color: #ffffff !important;
    opacity: 0.95;
}