/*
Theme Name: Hello Elementor Child
Theme URI: https://www.neurado.ir/
Description: پوسته فرزند هلو المنتور - بهینه شده برای سایت‌های چند زبانه.
Author: Neurado Team
Author URI: https://www.neurado.ir/
Template: hello-elementor
Version: 2.1.0
Text Domain: hello-elementor-child
Domain Path: /languages
License: GNU General Public License v3 or later.
Tags: flexible-header, custom-colors, custom-menu, rtl-language-support, translation-ready
*/

/* این فایل برای استایل‌های عمومی و زبان‌های چپ‌چین (LTR) مثل انگلیسی است.
   برای استایل‌های فارسی به فایل rtl.css مراجعه کنید.
*/

/* تعریف فونت معمولی */
@font-face {
    font-family: 'MyClinicFont';
    /* اصلاح شد: فقط یک woff2 دارد */
    src: url('/wp-content/themes/hello-theme-child-master/fonts/DanaFaNum-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* تعریف فونت ضخیم */
@font-face {
    font-family: 'MyClinicFont';
    /* اصلاح شد: فقط یک woff2 دارد */
    src: url('/wp-content/themes/hello-theme-child-master/fonts/DanaFaNum-ExtraBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* اعمال فونت */
body, h1, h2, h3, h4, h5, h6, p, a, span, li, button, input, textarea, div, .elementor {
    font-family: 'MyClinicFont', sans-serif !important;
}
.clinic-modern-list .elementor-icon-list-item{position:relative;padding:12px 15px;margin-bottom:10px;background-color:#fff;border-radius:12px;border:1px solid rgba(149,163,179,0.2);transition:all .3s cubic-bezier(.25,.8,.25,1);cursor:pointer;overflow:hidden}.clinic-modern-list .elementor-icon-list-text{color:#4b4e6d;font-weight:500;font-size:15px;transition:color .3s ease;padding-right:0}.clinic-modern-list .elementor-icon-list-item::before{content:'←';position:absolute;left:20px;top:50%;transform:translateY(-50%) translateX(10px);color:#95a3b3;font-size:18px;opacity:0;transition:all .3s ease}.clinic-modern-list .elementor-icon-list-item:hover{background-color:#f9fbfd;border-color:#4b4e6d;transform:translateX(-5px);box-shadow:0 5px 15px rgba(75,78,109,.1)}.clinic-modern-list .elementor-icon-list-item:hover .elementor-icon-list-text{font-weight:700;color:#222}.clinic-modern-list .elementor-icon-list-item:hover::before{opacity:1;transform:translateY(-50%) translateX(0);color:#4b4e6d}.clinic-modern-list .elementor-icon-list-icon{display:none!important}
/*چسباندن فوتر به انتهای صفحه */
body {
    display: flex;          
    flex-direction: column; 
    min-height: 100vh;      
}
main#content,
.site-main,
.elementor-location-archive,
.elementor-location-single {
    flex-grow: 1;
}

/* =========================================
   Apple-Style Glassmorphism Footer
========================================= */
.apple-style-footer {
    position: relative;
    width: 100%;
    margin-top: 60px;
    background-color: rgba(250, 250, 252, 0.7); /* رنگ پس‌زمینه نیمه‌شفاف */
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    color: #1d1d1f;
    font-family: inherit;
    direction: rtl;
}

/* افکت گلس (شیشه‌ای) پشت فوتر */
.footer-glass-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    z-index: -1;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px;
}

/* ساختار گرید برای ستون‌ها */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* استایل ستون‌ها */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #515154;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1d1d1f;
    position: relative;
}

/* لیست لینک‌ها */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #515154;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #0066cc; /* رنگ آبی اپل هنگام هاور */
    padding-right: 5px; /* یک افکت ریز برای حرکت به چپ در فارسی */
}

/* اطلاعات تماس */
.contact-info li {
    font-size: 14px;
    color: #515154;
    display: flex;
    gap: 10px;
}

.contact-info li span {
    font-weight: 600;
    color: #1d1d1f;
}

/* شبکه‌های اجتماعی */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    color: #1d1d1f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-3px);
}

/* جایگاه نمادها */
.trust-seals {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    padding: 5px;
}

.seal-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #86868b;
    text-align: center;
}

/* بخش پایین (کپی‌رایت) */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #86868b;
    margin: 0;
}

/* =========================================
   تنظیمات ریسپانسیو (Responsive)
========================================= */
/* برای تبلت‌ها */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* دو ستونه شدن */
    }
}

/* برای موبایل‌ها */
@media (max-width: 768px) {
    .footer-inner {
        padding: 40px 20px 80px; /* پدینگ پایین بیشتر شده تا با نوار ناوبری پایین موبایل تداخل نکند */
    }
    
    .footer-grid {
        grid-template-columns: 1fr; /* تک ستونه شدن */
        gap: 30px;
    }

    .footer-col {
        align-items: center;
        text-align: center;
    }

    .footer-col ul li a:hover {
        padding-right: 0; /* غیرفعال کردن افکت هاور در موبایل */
    }

    .contact-info li {
        justify-content: center;
    }
}

