﻿
.footer-box {
    width: 100%;
}

.footer {
    padding: 60px 20px;
    background: linear-gradient(135deg, #007bff, #6a0dad);
    color: #fff;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.footer-column {
    background: rgba(255,255,255,0.3);
    padding: 20px;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards;
    transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0.4s ease;
    position: relative;
}

    .footer-column:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        z-index: 10;
    }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

    .footer h3::after {
        content: "";
        position: absolute;
        width: 40px;
        height: 2px;
        background: #fff;
        bottom: -5px;
        right: 0;
    }

/* لینک‌های مفید */
.footer-links-box {
    background: rgba(255,255,255,0.3);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .footer-links-box a {
        text-decoration: none;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
    }

        .footer-links-box a:hover {
            color: #007bff;
            transform: translateX(-5px);
        }






/* فرم خبرنامه */









/* باکس آیکن‌ها */
.footer-social-box {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(155,89,182,0.3));
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    margin-top: 20px;
}

    .footer-social-box a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        font-size: 20px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

        .footer-social-box a:hover {
            transform: scale(1.2);
            background: rgba(255,255,255,0.25);
        }

        /* رنگ آیکن‌ها */
        .footer-social-box a.instagram {
            color: #E1306C;
        }

        .footer-social-box a.telegram {
            color: #0088cc;
        }

        .footer-social-box a.whatsapp {
            color: #000;
        }

        .footer-social-box a.linkedin {
            color: #0A66C2;
        }

        .footer-social-box a.aparat img {
            width: 24px;
            height: 24px;
        }

/* کپی‌رایت */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

/* ریسپانسیو */
@media(max-width:768px) {
    .footer-container {
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

        .newsletter-form button {
            width: 100%;
        }

    .footer-social-box {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .footer-links-box {
        width: 100%;
    }
}

@media(max-width:480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }

        .newsletter-form button {
            width: 100%;
        }

    .footer-social-box {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .footer-links-box {
        width: 100%;
    }
}











