/* ========================================= */
/* БРОНЕБІЙНИЙ ФУТЕР (ІЗОЛЬОВАНИЙ)           */
/* ========================================= */

/* Скидаємо вплив зовнішніх стилів на сам блок футера */
#flux-global-footer {
    all: unset; /* 🔥 Скидає всі успадковані стилі (крута фішка!) */
    display: flex;
    flex-direction: column;
    color: #888;
    padding-top: 40px;
    margin-top: auto;
    width: 100%;
    font-family: 'Neue Machina', sans-serif, system-ui; /* Гарантуємо свій шрифт */
    box-sizing: border-box;
}

/* Гарантуємо, що всі елементи всередині рахують розміри правильно */
#flux-global-footer *,
#flux-global-footer *::before,
#flux-global-footer *::after {
    box-sizing: border-box;
}

#flux-global-footer .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px 20px;
    gap: 30px;
}

#flux-global-footer .footer-col {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left; /* Примусово ліворуч, якщо body центрує */
}

/* Стилізація текстів */
#flux-global-footer .brand-col p {
    font-size: 0.9em;
    line-height: 1.4;
    color: #666;
    max-width: 300px;
    margin: 0;
}

#flux-global-footer h3 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    text-transform: none;
    font-weight: bold;
    border: none;
}

#flux-global-footer h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Посилання (захищаємо від глобальних стилів a) */
#flux-global-footer a {
    text-decoration: none !important;
    color: #888 !important; /* Перебиваємо глобальні кольори */
    font-size: 0.95em;
    transition: color 0.3s ease, transform 0.3s ease;
    width: fit-content;
    background: none;
    border: none;
}

#flux-global-footer .footer-col a:hover {
    color: #7300ff !important;
    padding-left: 5px;
    background: none;
}

/* Соцмережі */
#flux-global-footer .social-icons {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

#flux-global-footer .social-icons a {
    font-size: 1.5rem;
    color: #fff !important;
    background: #1e1e1e;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0; /* Скидаємо padding */
}

#flux-global-footer .social-icons a:hover {
    background: #7300ff;
    color: #fff !important;
    transform: translateY(-3px);
    padding-left: 0;
}

/* Нижній бар */
#flux-global-footer .footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
    margin: 0;
}

#flux-global-footer .footer-bottom a {
    color: #555 !important;
}

#flux-global-footer .footer-bottom a:hover {
    color: #7300ff !important;
}

/* Адаптивність */
@media (max-width: 768px) {
    #flux-global-footer .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    #flux-global-footer .footer-col {
        align-items: center;
    }
    #flux-global-footer .brand-col p {
        margin: 0 auto;
    }
    
    /* Додатковий відступ знизу для мобільного меню */
    #flux-global-footer {
        padding-bottom: 80px; 
    }
}