/*
 Theme Name:   Hello Elementor Child
 Description:  قالب اختصاصی و ماژولار برای سایت
 Author:       محمدرضا مهاجری
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/


/* ===== MODERN FOOTER STYLES (Full Width & Conflict-Free) ===== */

/* کانتینر اصلی فوتر با ترفند شکستن محدودیت عرض قالب */
.site-footer {
    position: relative;
    z-index: 999; /* قرار گرفتن فوتر روی عکس‌های شناور صفحه اصلی */
    background-color: #0f1216 !important; 
    color: #e2e8f0;
    font-family: "dana", tahoma, sans-serif;
    direction: rtl;
    border-top: 3px solid #eab308;
    padding-top: 4rem;
    display: block !important; /* خنثی کردن فلکس‌باکس فوتر قدیمی */
    
    /* تمام عرض کردن فوتر لبه به لبه مرورگر */
    width: 100vw !important;
    max-width: 100vw !important;
    margin-right: calc(-50vw + 50%) !important;
    margin-left: calc(-50vw + 50%) !important;
}

.site-footer .footer-container {
    /* باز کردن عرض محتوا برای پخش شدن در کل صفحه */
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 4%; /* فاصله امن ۴ درصدی از لبه‌های مانیتور */
    display: block !important; /* خنثی کردن مچاله شدن ستون‌ها */
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

/* ستون ۱: برند و تماس */
.site-footer .footer-logo {
    max-width: 120px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 10px rgba(255,255,255,0.1));
}

.site-footer .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.site-footer .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5e1;
}

.site-footer .contact-list svg {
    color: #eab308;
    flex-shrink: 0;
    margin-top: 3px;
}

/* تایتل ستون‌ها */
.site-footer .footer-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.site-footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: #eab308;
    border-radius: 2px;
}

/* ستون ۲: منوی دسترسی سریع */
.site-footer .footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer .footer-nav-links li a {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.site-footer .footer-nav-links li a::before {
    content: '\203A'; /* کاراکتر فلش چپ */
    font-size: 18px;
    margin-left: 8px;
    color: #eab308;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.site-footer .footer-nav-links li a:hover {
    color: #eab308;
}

.site-footer .footer-nav-links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ستون ۳: لینک‌های ویژه (دکمه‌ها) */
.site-footer .special-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-footer .footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer .footer-btn svg {
    color: #eab308;
}

.site-footer .footer-btn:hover {
    background: #eab308;
    color: #1d2128;
    border-color: #eab308;
}

.site-footer .footer-btn:hover svg {
    color: #1d2128;
}

/* ستون ۴: اینماد */
.site-footer .enamad-wrapper {
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 120px;
}

.site-footer .enamad-wrapper img {
    max-width: 100%;
    height: auto;
}

/* نوار کپی‌رایت پایین */
.site-footer .footer-bottom-bar {
    background: #000000;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.site-footer .bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.site-footer .copyright-text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.site-footer .since-text {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #eab308;
    letter-spacing: 2px;
}

/* ریسپانسیو موبایل */
@media (max-width: 992px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .site-footer .bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}