/**
 * Footer Styles
 */

/* ===== Site Footer ===== */
.site-footer {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-4xl);
}

/* ===== Footer Content ===== */
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* ===== Footer Sections ===== */
.footer-section {
    display: flex;
    flex-direction: column;
}

/* Footer Branding */
.footer-branding .footer-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.footer-nonprofit {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-green);
    margin-bottom: var(--space-xs);
}

.footer-location {
    font-size: var(--font-size-small);
    opacity: 0.8;
    margin-bottom: 0;
}

/* ===== Footer Menus ===== */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-base);
    opacity: 0.9;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-menu a:hover {
    opacity: 1;
    color: var(--color-green);
    transform: translateX(4px);
}

/* ===== Footer Contact ===== */
.footer-contact-info {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-base);
}

.footer-contact-info a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

.footer-contact-info a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-burgundy);
    transform: translateY(-2px);
}

/* ===== Footer Guarantee ===== */
.footer-guarantee {
    background: rgba(0, 114, 3, 0.1);
    border: 2px solid var(--color-green);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.guarantee-icon {
    flex-shrink: 0;
    color: var(--color-green);
}

.guarantee-text {
    font-size: var(--font-size-base);
    margin: 0;
}

.guarantee-text strong {
    color: var(--color-green);
}

/* ===== Footer Bottom ===== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ===== Legal Menu ===== */
.legal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.legal-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-small);
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.legal-menu a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ===== Footer Copyright ===== */
.footer-copyright {
    text-align: left;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: right;
    }
}

.footer-copyright p {
    font-size: var(--font-size-small);
    opacity: 0.7;
    margin-bottom: var(--space-xs);
}

.footer-copyright p:last-child {
    margin-bottom: 0;
}

.footer-founders {
    font-style: italic;
}
