/* ============================================
   فوتر - پاک پلیمر کردستان
   ============================================ */

.footer {
    background: var(--bg-footer);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

/* ==================== بخش درباره ==================== */
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-about .footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

/* ==================== شبکه‌های اجتماعی ==================== */
.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icon-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-sm:hover {
    transform: translateY(-3px);
}

.social-icon-sm.whatsapp:hover {
    background: #25D366;
    color: white;
}

.social-icon-sm.telegram:hover {
    background: #0088cc;
    color: white;
}

.social-icon-sm.rubika:hover {
    background: #e91e63;
    color: white;
}

.social-icon-sm.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-icon-sm.instagram:hover {
    background: #E4405F;
    color: white;
}

.social-icon-sm svg {
    width: 18px;
    height: 18px;
}

/* ==================== عنوان‌ها ==================== */
.footer h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer ul a:hover {
    color: var(--text-white);
    transform: translateX(-4px);
}

/* ==================== اطلاعات تماس ==================== */
.footer-contact p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--text-white);
}

/* ==================== پایین فوتر ==================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom strong {
    color: var(--secondary);
}

.footer-legal {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-white);
}

.footer-legal span {
    color: var(--text-light);
}

/* ==================== ریسپانسیو فوتر ==================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-about .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer h4 {
        text-align: center;
    }
    
    .footer h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer ul {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
}