/* Footer Styles */
.site-footer {
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

/* Top Section (Logo) */
.site-footer__top {
    background-color: #383838;
    /* Based on image sample */
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Reinforce centering */
}

.site-footer__logo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Ensure internal wrapper is centered */
}

.site-footer__logo-link {
    display: inline-block;
}

.site-footer__logo-image {
    height: 50px;
    /* Reduced size */
    width: auto;
    min-width: 80px;
    /* Prevent collapse 0 width */
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Make sure logo is white if it's black */
}

/* Bottom Section */
.site-footer__bottom {
    background-color: #323232;
    /* Slightly darker */
    padding: 40px 0 30px 0;
    color: #999;
}

.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 0px solid #444;
    /* Optional separator if needed */
}

/* Social Icons */
.site-footer__socials {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #555;
    color: #ccc;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: #fff;
    color: #fff;
}

/* Navigation */
.site-footer__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 25px;
}

.footer-menu li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #fff;
}

/* Language Switcher */
.footer-lang {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    /* For dropdown positioning */
    padding: 5px 0;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.footer-lang:hover .lang-current {
    color: #fff;
}

.globe-icon {
    margin-right: 2px;
}

/* Dropdown Styles */
.lang-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #444;
    min-width: 120px;
    border-radius: 4px;
    padding: 5px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.footer-lang:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.lang-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #444 transparent transparent transparent;
}

.lang-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    transition: all 0.2s;
}

.lang-dropdown a:hover {
    background: #555;
    color: #fff;
}

.lang-dropdown a.active {
    color: #fff;
    font-weight: 500;
}

/* Copyright */
.site-footer__copyright {
    text-align: center;
    font-size: 12px;
    /* Increased readability */
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* Container constraint matching reference ~1170px */
@media (min-width: 1500px) {
    .site-footer .container {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer__bottom-inner {
        flex-direction: column;
        gap: 30px;
    }

    .site-footer__nav {
        flex-direction: column;
        gap: 20px;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}