/**
 * Site Footer Component
 * Appears on all pages with contact info, links, copyright
 */

@import url('/css/components/reassurance-strip.css');

.site-footer {
    background: linear-gradient(to bottom, var(--color-navy) 0%, var(--color-navy-900) 100%);
    color: var(--color-white);
    padding: var(--space-8) var(--space-4);
    margin-top: auto;
    text-align: center;
    border-top: 3px solid var(--color-burgundy);
    box-shadow: 0 -4px 12px rgb(0 0 0 / 15%);
    position: relative;
    z-index: 10;
}

.site-footer__content {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer__logo {
    margin-bottom: var(--space-4);
}

.site-footer__logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: inline-block;
}

.site-footer__links {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.site-footer__link {
    color: rgb(255 255 255 / 85%);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.site-footer__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
    transition: width var(--transition-fast);
}

@media (hover: hover) {
    .site-footer__link:hover {
        color: var(--color-white);
    }

    .site-footer__link:hover::after {
        width: 100%;
    }
}

.site-footer__link:focus {
    color: var(--color-white);
}

.site-footer__link:focus::after {
    width: 100%;
}

.site-footer__email {
    color: rgb(255 255 255 / 90%);
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
}

.site-footer__email a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
    position: relative;
}

.site-footer__email a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
    transition: width var(--transition-fast);
}

@media (hover: hover) {
    .site-footer__email a:hover {
        color: var(--color-white);
    }

    .site-footer__email a:hover::after {
        width: 100%;
    }
}

.site-footer__email a:focus::after {
    width: 100%;
}

.site-footer__updated {
    color: rgb(255 255 255 / 50%);
    font-size: var(--text-xs, 0.75rem);
    margin-top: var(--space-4);
    font-weight: 400;
}

.site-footer__copyright {
    color: rgb(255 255 255 / 75%);
    font-size: var(--text-sm);
    margin-top: var(--space-2, 0.5rem);
    font-weight: 400;
}

.site-footer__themes {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.site-footer__themes-label {
    color: rgb(255 255 255 / 45%);
    font-size: var(--text-xs, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    width: 100%;
}

.site-footer__themes .site-footer__link {
    color: rgb(255 255 255 / 55%);
    font-size: var(--text-xs, 0.75rem);
}

/* Responsive */
@media (width <= 768px) {
    .site-footer {
        padding: var(--space-6) var(--space-4);
    }

    .site-footer__links {
        flex-direction: column;
        gap: var(--space-3);
    }

    .site-footer__logo-img {
        width: 40px;
        height: 40px;
    }
}
