﻿/* استایل کلی فورتر */
.atramal-footer {
    background-color: #f8f9fa;
    color: #333;
    font-family: 'IRANSans', Tahoma, sans-serif;
    line-height: 1.6;
    direction: rtl;
    margin-top: 50px;
}

/* بخش برگشت به بالا */
.footer-jump {
    text-align: center;
    padding: 15px 0;
    background-color: #e9ecef;
}

.jump-to-top {
    color: #555;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

    .jump-to-top:hover {
        color: #007bff;
    }

    .jump-to-top i {
        font-size: 20px;
    }

/* بخش ویژگی‌ها */
.features-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #444;
    transition: transform 0.3s;
    padding: 15px;
}

    .feature-item:hover {
        transform: translateY(-5px);
        color: #007bff;
    }

    .feature-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

/* بخش اصلی فوتتر */
.main-footer {
    padding: 40px 0;
    border-bottom: 1px solid #e1e1e1;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-links-col {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.links-group {
    flex: 1;
    min-width: 180px;
}

.links-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .links-list li {
        margin-bottom: 10px;
    }

    .links-list a {
        color: #666;
        text-decoration: none;
        transition: color 0.3s;
        font-size: 14px;
    }

        .links-list a:hover {
            color: #007bff;
        }

.footer-newsletter-col {
    flex: 1;
    min-width: 300px;
}

.newsletter-box {
    margin-bottom: 30px;
}

.newsletter-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

    .newsletter-form input {
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-family: inherit;
    }

    .newsletter-form button {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .newsletter-form button:hover {
            background-color: #0056b3;
        }

.social-media-box {
    margin-top: 20px;
}

.social-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: #e9ecef;
        color: #555;
        border-radius: 50%;
        transition: all 0.3s;
    }

        .social-links a:hover {
            background-color: #007bff;
            color: white;
            transform: translateY(-3px);
        }

/* بخش اطلاعات تماس */
.contact-section {
    padding: 25px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #e9ecef;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

    .contact-info p {
        margin: 0;
        font-size: 15px;
    }

.contact-details {
    display: flex;
    gap: 20px;
}

.phone-number, .email-address {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

    .phone-number:hover, .email-address:hover {
        color: #007bff;
    }

    .phone-number i, .email-address i {
        font-size: 18px;
    }

/* بخش درباره سایت */
.about-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
}

.about-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

.about-description {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}

/* بخش کپی رایت */
.copyright-section {
    padding: 20px 0;
    background-color: #e9ecef;
    text-align: center;
}

    .copyright-section p {
        margin: 0;
        font-size: 14px;
        color: #666;
    }

/* رسپانسیو */
@media (max-width: 992px) {
    .footer-links-col, .footer-newsletter-col {
        flex: 100%;
    }

    .footer-newsletter-col {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        flex-direction: column;
        text-align: center;
    }

    .contact-details {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}
