/*
 * ALTLIQ (FOOTER) STİLLƏRİ
 *
 * 2026-08-21-ə qədər `layouts/partials/footer.blade.php`-nin ilk 379 sətri
 * inline <style> idi (7,114 bayt) və SAYTIN HƏR SƏHİFƏSİNDƏ təkrarlanırdı.
 *
 * CSS DƏYİŞƏNLƏRİ HAQQINDA:
 * Aşağıdakı 7 dəyişən (--footer-bg və s.) `:root`-da YOX, `.footer`
 * selektorunda təyin olunub. Bu, qəsdəndir — dəyişənlər yalnız altlığın
 * içində keçərlidir və saytın qalan hissəsinə sızmır. Faylı köçürərkən
 * həmin selektor toxunulmadan saxlanılıb, yəni əhatə dairəsi eynidir.
 *
 * YERLƏŞMƏ: layout-un <head> hissəsində, header.css-dən SONRA yüklənir.
 * Əvvəl bu CSS gövdədə, başlığın stillərindən sonra və Crisp stillərindən
 * əvvəl gəlirdi — yeni yerdə də eyni nisbi sıra qorunur.
 */

/* Footer Base Styles */
.footer {
    --footer-bg: #1a1a2e;
    --footer-bg-secondary: #16162a;
    --footer-text: #a0a0b0;
    --footer-text-light: #ffffff;
    --footer-accent: #e94560;
    --footer-accent-hover: #ff6b6b;
    --footer-border: rgba(255, 255, 255, 0.1);
    position: relative;
    background: var(--footer-bg);
    color: var(--footer-text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Back to Top Button */
.footer__back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--footer-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.footer__back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer__back-to-top:hover {
    background: var(--footer-accent-hover);
    transform: translateY(-3px);
}

/* Main Footer */
.footer__main {
    padding: 60px 0 40px;
}

/* Brand Section */
.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.footer__logo:hover {
    opacity: 0.85;
}

.footer__slogan {
    color: var(--footer-text);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

/* Widget Styles */
.footer__widget {
    height: 100%;
}

.footer__widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--footer-text-light);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer__widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--footer-accent);
    border-radius: 2px;
}

/* Footer Links */
.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 0.625rem;
}

.footer__links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--footer-accent);
    transition: width 0.3s ease;
}

.footer__links a:hover {
    color: var(--footer-text-light);
    padding-left: 0.5rem;
}

.footer__links a:hover::before {
    width: 10px;
}

/* Contact Section */
.footer__contact {
    font-style: normal;
    margin-bottom: 1.5rem;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.footer__contact-item:hover {
    color: var(--footer-text-light);
}

.footer__contact-item i {
    color: var(--footer-accent);
    font-size: 1rem;
    margin-top: 0.25rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Social Media */
.footer__social {
    margin-top: 1rem;
}

.footer__social-label {
    display: block;
    font-size: 0.875rem;
    color: var(--footer-text);
    margin-bottom: 0.75rem;
}

.footer__social-links {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer__social-link--facebook { background: #1877f2; }
.footer__social-link--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer__social-link--tiktok { background: #000; }
.footer__social-link--youtube { background: #ff0000; }

.footer__social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Extras Section */
.footer__extras {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--footer-border);
}

/* Language Selector */
.footer__language {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__language-label {
    color: var(--footer-text);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__language-label i {
    color: var(--footer-accent);
}

.footer__language-options {
    display: flex;
    gap: 0.5rem;
}

.footer__language-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--footer-border);
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer__language-link:hover,
.footer__language-link.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--footer-accent);
    color: var(--footer-text-light);
}

.footer__language-link img {
    border-radius: 2px;
}

/* Payment Methods */
.footer__payments {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__payments-label {
    color: var(--footer-text);
    font-size: 0.875rem;
}

.footer__payments-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer__payments-icons img {
    height: 28px;
    width: auto;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer__payments-icons img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Footer Bottom */
.footer__bottom {
    background: var(--footer-bg-secondary);
    padding: 1.25rem 0;
}

.footer__bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    margin: 0;
    font-size: 0.875rem;
    color: var(--footer-text);
}

.footer__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer__bottom-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer__bottom-links a:hover {
    color: var(--footer-text-light);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .footer__main {
        padding: 40px 0 30px;
    }

    .footer__brand {
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .footer__back-to-top {
        display: none;
    }

    .footer__payments {
        justify-content: flex-start;
    }

    .footer__bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer__bottom-links {
        justify-content: center;
    }

    .footer__language {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .footer__widget-title {
        font-size: 1rem;
    }

    .footer__language-options {
        flex-wrap: wrap;
        justify-content: center;
    }
}
