/* 
==========================================================================
GLOBAL FOOTER STYLES - FLORIDA STRONG
==========================================================================
*/

:root {
    --footer-bg: #0d47a1;
    --footer-bg-dark: #093170;
    --footer-text: #ffffff;
    --footer-text-muted: rgba(255, 255, 255, 0.7);
    --footer-accent: #8bc34a;
    --footer-border: rgba(255, 255, 255, 0.1);
}

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-column h3 {
    color: var(--footer-text);
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 1.75rem;
    position: relative;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--footer-accent);
    border-radius: 2px;
}

.footer-brand .footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* Turns dark logo white */
}

.footer-brand p {
    color: var(--footer-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Social Links SVG Row */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--footer-text);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    background-color: var(--footer-accent);
    transform: translateY(-3px);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-footer-book {
    margin-top: 1.5rem;
    display: inline-flex;
}

/* Links lists */
.footer-links ul,
.footer-resources ul {
    list-style: none;
}

.footer-links ul li,
.footer-resources ul li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-resources a {
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover,
.footer-resources a:hover {
    color: var(--footer-accent);
    padding-left: 6px;
}

/* Newsletter */
.footer-newsletter p {
    font-size: 0.95rem;
    color: var(--footer-text-muted);
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.newsletter-form input {
    flex-grow: 1;
    border: none;
    border-radius: 5px 0 0 5px;
    padding: 0.8rem 1rem;
    color: var(--text-dark);
    background: var(--white);
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    box-shadow: none;
    background: var(--white);
}

.newsletter-form button {
    background-color: var(--footer-accent);
    color: var(--footer-text);
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0 1.25rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
    background-color: var(--accent-green-dark);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: var(--footer-text-muted);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .legal-links a {
    color: var(--footer-text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s ease;
}

.footer-bottom .legal-links a:hover {
    color: var(--white);
}

/* Mobile responsive footers */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom .legal-links {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .footer-bottom .legal-links a {
        margin: 0 0.75rem;
    }
}
