/* ============================================================
   SHARED FOOTER — shared-footer.css
   Include on ALL pages alongside shared-components.js
   ============================================================ */

footer {
    background: var(--gray-100);
    padding: 1rem 0 0.4rem;
    border-top: 1px solid var(--gray-300);
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.4fr 1fr;
    align-items: start;
    gap: 1rem;
    width: var(--section-width);
    max-width: var(--section-max-width);
    margin: 0 auto;
}
.footer-section h4 {
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    position: relative;
    display: inline-block;
}
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}
.footer-section ul {
    list-style: none;
}
.footer-section li {
    margin-bottom: 0.3rem;
}
.footer-section a {
    color: var(--text-light);
    font-size: 0.8rem;
    transition: var(--transition);
}
.footer-section a:hover {
    color: var(--primary-color);
}
.footer-section address {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}
.footer-section p {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.4;
}
.social-links {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.social-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--secondary-color);
    color: var(--white);
}
.footer-dev-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
}
.footer-dev-contact {
    font-size: 0.75rem;
    color: var(--text-light);
}
.copyright {
    text-align: center;
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-300);
    font-size: 0.72rem;
    color: var(--text-light);
    width: var(--section-width);
    max-width: var(--section-max-width);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
