/* Footer Styles */

.site-footer {
    background-color: #000;
    color: #fff;
    padding: 0 1rem;
    width: 100%;
}

.footer-container {
    max-width: 100%;
}

/* Desktop Footer */
.desktop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    position: relative;
}

/* Repositioned container for everything after the logo */
.desktop-footer-content {
    display: flex;
    flex: 1;
    position: relative;
    padding-top: 1rem; /* Space for the white line */
    justify-content: space-between;
    align-items: center;
}

/* White separator line that spans across the content */
.desktop-footer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0; /* Start exactly at the beginning of copyright */
    right: 0;
    height: 2px;
    background-color: #fff;
}

.footer-logo {
    flex: 0 0 15%;
    padding-right: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    display: block;
    will-change: transform;
}

.desktop-copyright {
    flex: 0 0 25%;
    text-align: left;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-nav-section {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    padding: 0;
}

.nav-separator {
    display: none; /* Hide since we're using ::before on the parent */
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    column-gap: 20px; 
    margin-left: 1rem;
}

.footer-nav-item {
    margin: 0; /* Reset margin */
}

.footer-nav-item a {
    color: #fff;
    text-decoration: none;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-nav-item a:hover {
    color: #ddd;
}

.desktop-copyright:hover {
    color: #ddd;
}

.footer-social {
    flex: 0 0 15%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-icon {
    margin-left: 1rem;
}

.social-icon img {
    width: 18px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.social-icon:hover img {
    opacity: 0.8;
}

/* Mobile Footer */
.mobile-footer {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}

.mobile-footer .footer-logo {
    margin-bottom: 1rem;
    padding: 0;
    flex: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(0);
}

.mobile-footer .footer-logo img {
    max-height: 35px;
    width: auto;
    display: block;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.mobile-footer .footer-nav {
    flex-direction: column;
    margin-bottom: 0.5rem;
    margin:0;
    width: 100%;
    gap: 0;
}

.mobile-footer .footer-nav-item {
    margin: 0.4rem 0;
    text-align: center;
    padding: 0;
}

.mobile-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-copyright {
    text-align: left;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.mobile-social {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.mobile-social .social-icon {
    margin-left: 1rem;
    margin-right: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .desktop-footer {
        display: none;
    }
    .site-footer {
        padding:0;
    }
    .mobile-footer {
        display: flex;
    }
    
    .footer-container {
        padding: 0.5rem 1.5rem;
    }
}
