/* Footer */
footer {
    background-color: #121212;
    color: var(--light);
    padding: var(--space-xxl) 0 var(--space-lg);
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: var(--space-xxl);
    gap: var(--space-xl);
}

.footer-info {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.footer-logo {
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns content to the left */
}

.footer-logo-img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--gray);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xxl);
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    margin-bottom: var(--space-lg);
    color: var(--primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-md);
}

.footer-column a {
    color: var(--gray);
    transition: all var(--transition-medium);
    display: inline-block;
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--dark-400);
}

.footer-language select {
    background-color: transparent;
    color: var(--gray);
    border: 1px solid var(--dark-600);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    cursor: pointer;
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-info {
        max-width: 100%;
        margin-bottom: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .footer-language {
        margin-top: var(--space-sm);
    }

    /* Keep footer items small with original spacing */
    footer .footer-column li,
    footer .footer-column a,
    footer .footer-column address,
    footer .footer-desc,
    footer .footer-column * {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important; /* Remove any bottom margin */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Restore original tight spacing in footer lists */
    footer .footer-column ul {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    footer .footer-column li {
        margin-bottom: 6px !important; /* Tight, consistent spacing */
        padding: 0 !important;
    }
    
    footer .footer-column h3 {
        margin-bottom: 15px !important; /* Original spacing between header and list */
    }

    .footer-column a{
        padding: 12px;  /* Larger touch area */
        min-height: 44px; /* Apple's recommended minimum */
    }
}
