/* ====================================
   APCA Footer Styles
   ==================================== */

/* Footer Base */
.site-footer {
    background-color: #0f0f0f;
    color: #fff;
    padding: 0;
    margin: 0;
}

/* Footer Top CTA Section */
.footer-cta-section {
    background-color: #0f0f0f;
    padding: clamp(3rem, 6vw, 5rem) 0;
    text-align: center;
}

.footer-cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-cta-title {
    font-family: 'Nimbus Sans Extd', sans-serif;
    font-size: clamp(2rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 clamp(1.5rem, 3vw, 2rem);
    text-transform: uppercase;
}

.footer-cta-description {
    font-family: 'Cabrito Sans', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 400;
    line-height: 1.6;
    color: #d0d0d0;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    max-width: 700px;
}

.footer-cta-button {
    display: inline-block;
}

/* Footer Main Content */
.footer-main-section {
    background-color: #0f0f0f;
    padding: clamp(3rem, 5vw, 4rem) 0 clamp(2rem, 3vw, 3rem);
    border-top: 1px solid #0f0f0f;
}

.footer-content-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
}

/* Footer Column Base */
.footer-column h3 {
    font-family: 'Nimbus Sans Extd', sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Footer Branding Column */
.footer-branding {}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: auto;
    height: clamp(60px, 8vw, 80px);
    display: block;
}

.footer-newsletter-text {
    font-family: 'Cabrito Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #b0b0b0;
    margin: 0 0 1.5rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 0;
    color: #fff;
    font-family: 'Cabrito Sans', sans-serif;
    font-size: 0.9rem;
}

.footer-newsletter-input::placeholder {
    color: #666;
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--color-apca-red);
}

.footer-newsletter-submit {
    padding: 0.75rem 1.25rem;
    background-color: var(--color-apca-red);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter-submit:hover {
    background-color: var(--color-apca-red-light);
}

.footer-newsletter-submit svg {
    width: 20px;
    height: 20px;
}

.footer-newsletter-note {
    font-family: 'Cabrito Sans', sans-serif;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #777;
    margin: 0;
}

/* Footer Navigation Column */
.footer-nav {}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-list li {
    margin-bottom: 0.75rem;
}

.footer-nav-list a {
    font-family: 'Cabrito Sans', sans-serif;
    font-size: 0.95rem;
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-nav-list a:hover {
    color: #fff;
}

/* Footer Contact Column */
.footer-contact {}

.footer-contact-info {
    font-family: 'Cabrito Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin: 0 0 1.5rem;
}

.footer-contact-info a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background-color: #2a2a2a;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background-color: var(--color-apca-red);
    color: #fff;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #0f0f0f;
    padding: 1.5rem 0;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-family: 'Cabrito Sans', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    font-family: 'Cabrito Sans', sans-serif;
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive Design */

/* Tablet */
@media (max-width: 1024px) {
    .footer-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-branding {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-cta-section {
        padding: 2.5rem 0;
    }

    .footer-cta-container {
        padding: 0 1rem;
    }

    .footer-main-section {
        padding: 2.5rem 0 2rem;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
    }

    .footer-branding {
        grid-column: 1;
    }

    .footer-newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-newsletter-submit {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-cta-section {
        padding: 2rem 0;
    }

    .footer-cta-title {
        font-size: clamp(1.6rem, 8vw, 2.5rem);
    }

    .footer-social {
        flex-wrap: wrap;
    }
}
