/* layout/FOOTER.CSS */

/* Base Footer Layout */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--section-pad) 0 1rem;
    position: relative;
    color: var(--dark-gray);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--grid-gap);
}

/* Social Line & Container */
.footer-social-line {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--content-width);
    margin-bottom: var(--grid-gap);
}

.line-left,
.line-right {
    flex: 1;
    height: 1px;
    background: var(--line-gray);
    border-radius: var(--radius-sm);
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1.25rem;
}

.social-icons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 44px;
    color: var(--medium-gray);
    font-size: 1.4rem;
    text-decoration: none;
    transition: var(--t-color);
}

.social-icon:hover {
    color: var(--dynamo-red);
}

/* Brand Logo */
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    text-decoration: none;
}

.logo-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.footer-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
}

.footer-logo-grey,
.footer-logo-red {
    transition: opacity var(--dur-base) var(--ease-ui);
}

.footer-logo-grey {
    opacity: 1;
}

.footer-logo-red {
    opacity: 0;
}

.logo-link:hover .footer-logo-grey {
    opacity: 0;
}

.logo-link:hover .footer-logo-red {
    opacity: 1;
}

/* Copyright */
.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-weight: 400;
    font-size: var(--text-sm);
    color: var(--medium-gray);
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
    .logo-link,
    .logo-container,
    .footer-logo {
        width: 60px;
        height: 60px;
    }

    .footer-social {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .social-icons-container {
        gap: 1rem;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    .footer-content {
        width: 90vw;
        padding: 0 var(--grid-gap);
    }

    .footer-social-line {
        width: 100%;
    }

    .logo-link,
    .logo-container,
    .footer-logo {
        width: 50px;
        height: 50px;
    }

    .footer-social {
        gap: 0.375rem;
        padding: 0 0.375rem;
    }

    .social-icons-container {
        gap: 0.75rem;
    }

    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}