/* Footer Styles */
.site-footer {
    background-color: #ffffff;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

body.dark-mode .site-footer {
    background-color: #1a1a1a;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

body.dark-mode .footer-logo .logo-light,
.footer-logo .logo-dark {
    display: none;
}

.footer-logo .logo-light {
    display: block;
}

body.dark-mode .footer-logo .logo-dark {
    display: block;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

body.dark-mode .footer-title {
    color: #ffffff;
}

.footer-description {
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.5;
    max-width: 600px;
}

body.dark-mode .footer-description {
    color: #cccccc;
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-menu li {
    position: relative;
}

.footer-menu li:not(:last-child)::after {
    content: '-';
    margin: 0 10px;
    color: #666666;
}

body.dark-mode .footer-menu li:not(:last-child)::after {
    color: #cccccc;
}

.footer-menu a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

body.dark-mode .footer-menu a {
    color: #ffffff;
}

.footer-menu a:hover {
    color: #e20a0b;
}

.footer-social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-social-buttons .social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px; /* کاهش اندازه دکمه در دسکتاپ */
    height: 25px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

body.dark-mode .footer-social-buttons .social-button {
    background-color: #333333;
}

.footer-social-buttons .social-button:hover {
    background-color: #e20a0b;
}

.footer-social-buttons .social-button img {
    width: 28px; /* کاهش اندازه آیکون در دسکتاپ */
    height: 28px;
}

body.dark-mode .footer-social-buttons .social-button img {
    filter: brightness(0) invert(1);
}

.footer-social-buttons .social-button:hover img {
    filter: brightness(0) invert(1);
}

.footer-credits {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #666666;
}

body.dark-mode .footer-credits {
    color: #cccccc;
}

.footer-credits a {
    color: #e20a0b;
    text-decoration: none;
}

.footer-credits a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 15px;
        min-height: 250px;
    }

    .footer-logo img {
        max-width: 120px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-description {
        font-size: 12px;
    }

    .footer-menu a {
        font-size: 14px;
    }

    .footer-social-buttons .social-button {
        width: 20px; /* کاهش اندازه دکمه در موبایل */
        height: 25px;
    }

    .footer-social-buttons .social-button img {
        width: 22px; /* کاهش اندازه آیکون در موبایل */
        height: 22px;
    }

    .footer-credits {
        font-size: 12px;
        margin-top: 20px;
    }
}