/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background-color: var(--dark-background);
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Main
   ========================================================================== */
.footer-main {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Logo
   ========================================================================== */
.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* Social Icons
   ========================================================================== */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: auto;
    max-width: 330px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Footer Menu
   ========================================================================== */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition-base);
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Footer Contact
   ========================================================================== */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.contact-icon {
    width: 16px;
    height: 16px;
    fill: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Bottom
   ========================================================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.footer-legal-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.footer-legal-menu li {
    position: relative;
}

.footer-legal-menu li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -8px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal-menu a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
    text-decoration: none;
}

.footer-legal-menu a:hover {
    color: var(--primary-color);
}

/* Tablet Styles (≤991px)
   ========================================================================== */
@media (max-width: 991px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-main {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }
}

/* Mobile Styles (≤767px)
   ========================================================================== */
@media (max-width: 767px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-main {
        padding: var(--spacing-md) 0;
    }
}