/*
 Theme Name: shamsa (Child of Hello Elementor)
 Theme URI: https://bahooshaneh.com
 Description: تولید شده توسط «باهوشانه» — https://bahooshaneh.com
  — توجه: برای فعال بودن این قالب، به هیچ وجه قالب «Hello Elementor» را حذف نکنید.
 Author: باهوشانه
 Author URI: https://bahooshaneh.com
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: shamsa
 Requires at least: 6.0
 Requires PHP: 7.4
*/
.date-header {
    display: flex;
    justify-content: center; /* قرار دادن تاریخ‌ها در وسط */
    align-items: center; /* تراز عمودی */
    padding: 10px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.shamsi-date {
    margin-right: 20px; /* فاصله بین تاریخ شمسی و قمری */
    color: #333;
    font-weight: bold;
}

.hijri-date {
    color: #0073aa;
    font-weight: bold;
}
/* =========================
   💡 حالت عادی (روشن)
   ========================= */
body.theme-normal {
  --site-bg: #EFF5FF6B;   /* زمینه اصلی سایت (آبی روشن شفاف فعلی) */
  --text: #222;
  --header-bg: #1976d2;   /* آبی فعلی هدر */
  --header-text: #ffffff;
  --footer-bg: #1976d2;
  --footer-text: #ffffff;
}

/* =========================
   💡 حالت مناسبتی (تیره)
   ========================= */
body.theme-dark {
  --site-bg: #000000;   دودی تیره‌تر
  */
  --text: #222;
  --header-bg: #000000;
  --header-text: #ffffff;
  --footer-bg: #000000;
  --footer-text: #ffffff;
}

/* =========================
   🎨 زمینه کلی صفحه (پترن بماند)
   ========================= */

/* فقط رنگ پس‌زمینه صفحه را تغییر بده، تصویر پس‌زمینه را حذف نکن */
body.theme-normal,
body.theme-dark {
  background-color: var(--site-bg) !important;
  color: var(--text);
}

/* مطمئن شو که تمام رَپرها شفاف هستند تا پترن دیده بشه */
body.theme-normal .site,
body.theme-normal #page,
body.theme-normal .elementor,
body.theme-dark .site,
body.theme-dark #page,
body.theme-dark .elementor {
  background-color: transparent !important;
}

/* =========================
   🧱 هدر
   ========================= */
body.theme-normal header,
body.theme-normal header.site-header,
body.theme-normal .site-header,
body.theme-normal [data-elementor-type="header"],
body.theme-normal .elementor-location-header {
  background-color: var(--header-bg) !important;
  color: var(--header-text) !important;
}

body.theme-dark header,
body.theme-dark header.site-header,
body.theme-dark .site-header,
body.theme-dark [data-elementor-type="header"],
body.theme-dark .elementor-location-header,
body.theme-dark .elementor-location-header .elementor-section,
body.theme-dark .elementor-location-header .elementor-container,
body.theme-dark .elementor-location-header .elementor-column,
body.theme-dark .elementor-location-header .elementor-widget-wrap,
body.theme-dark .elementor-location-header .e-con,
body.theme-dark .elementor-location-header .e-con-inner {
  background-color: var(--header-bg) !important;
  background-image: none !important;
  color: var(--header-text) !important;
}

body.theme-dark .elementor-location-header .elementor-background-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

body.theme-normal .elementor-location-header a,
body.theme-normal .elementor-location-header .elementor-icon,
body.theme-normal .elementor-location-header .elementor-heading-title,
body.theme-normal .elementor-location-header .elementor-nav-menu--main .elementor-item,
body.theme-dark .elementor-location-header a,
body.theme-dark .elementor-location-header .elementor-icon,
body.theme-dark .elementor-location-header .elementor-heading-title,
body.theme-dark .elementor-location-header .elementor-nav-menu--main .elementor-item {
  color: var(--header-text) !important;
}

/* =========================
   🧱 فوتر
   ========================= */
body.theme-normal footer,
body.theme-normal footer.site-footer,
body.theme-normal .site-footer,
body.theme-normal [data-elementor-type="footer"],
body.theme-normal .elementor-location-footer {
  background-color: var(--footer-bg) !important;
  color: var(--footer-text) !important;
}

body.theme-dark footer,
body.theme-dark footer.site-footer,
body.theme-dark .site-footer,
body.theme-dark [data-elementor-type="footer"],
body.theme-dark .elementor-location-footer,
body.theme-dark .elementor-location-footer .elementor-section,
body.theme-dark .elementor-location-footer .elementor-container,
body.theme-dark .elementor-location-footer .elementor-column,
body.theme-dark .elementor-location-footer .elementor-widget-wrap,
body.theme-dark .elementor-location-footer .e-con,
body.theme-dark .elementor-location-footer .e-con-inner {
  background-color: var(--footer-bg) !important;
  background-image: none !important;
  color: var(--footer-text) !important;
}

body.theme-dark .elementor-location-footer .elementor-background-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

/* =========================
   🎛️ دکمه‌های داخل هدر/فوتر
   ========================= */
body.theme-dark .elementor-location-header .elementor-button,
body.theme-dark .elementor-location-footer .elementor-button {
  background-image: none !important;
  background-color: rgba(255,255,255,0.08) !important;
  color: var(--header-text) !important;
  border-color: transparent !important;
}
body.theme-dark .elementor-location-header .elementor-button:hover,
body.theme-dark .elementor-location-footer .elementor-button:hover {
  background-color: rgba(255,255,255,0.16) !important;
}
