/** site-footer  Start --------------------------------------------------------------------- **/
.site-footer {
    background: var(--bg-header);
    /* متغیر */
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px 0;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #d8b4fe;
    transform: translateX(-5px);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 10px;
}

.footer-links h3 {
    color: var(--text-main);
    margin-bottom: 15px;
}

.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-input {
    width: 100%;
    padding: 15px;
    padding-left: 50px;
    background: var(--bg-card);
    /* متغیر */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: 0.3s;
}

.newsletter-input:focus {
    border-color: #ec4899;
}

.newsletter-btn {
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--gradient-main);
    ;
    border: none;
    border-radius: 8px;
    width: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding: 20px 30px 0 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
}

.social-link {
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    /* تک ستونه شدن در موبایل */
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo-link {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/** site-footer  End --------------------------------------------------------------------- **/
