﻿:root {
    --color-primary: #522D8D;
    --color-secondary: #EC661E;
    --color-light: #ffffff;
    --color-dark: #1a1a1a;
}


.footer {
    background: linear-gradient(180deg, var(--color-primary) 0%, #2e175c 100%);
    color: #ddd;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 30px;
}

    .footer h4, .footer h5 {
        color: #fff;
        letter-spacing: 0.5px;
        font-weight: 600;
    }



.logofooter {
    display: flex;
    align-items: center;
    height: 100px; /* Header hündürlüyü sabit qalır */
    width: 260px;
    overflow: hidden; /* Logo böyüsə də header-dən daşmasın */
}

.logofooter-img {
    height: 100%;
    max-height: 170px;
    width: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
    padding-top: 20px;
}

    .logofooter-img:hover {
        transform: scale(1.1); /* böyüyür, amma header dəyişmir */
    }

.footer-desc {
    color: #ccc;
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-link {
    color: #bbb;
    display: inline-block;
    margin-bottom: 6px;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

    .footer-link:hover {
        color: var(--color-secondary);
        transform: translateX(3px);
    }

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 35px;
    height: 35px;
    background-color: #43297c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.2s;
}

    .social-link:hover {
        background-color: var(--color-secondary);
        transform: scale(1.1);
    }

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* 🔹 Alt xətt */
.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    margin-top: 20px;
}

    .footer-bottom a {
        color: var(--color-secondary);
        text-decoration: none;
    }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

/* 📱 Responsivlik */
@media (max-width: 768px) {
    .footer .row {
        text-align: center;
    }

    .footer .footer-desc {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }
}
