/* footer.css - With updated two-column connect strip */

/* Footer */
footer {
    background-color: var(--livro-red);
    color: white;
    padding: 0 0 1rem; /* No top padding since we have the connect strip */
}

/* Connect Strip */
.footer-connect-strip {
    background-color: rgba(0, 0, 0, 0.15); /* Slightly darker than the footer background */
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.connect-column h3 {
    color: var(--livro-yellow-light);
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.connect-text {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

/* Social Links - 24px icons with 48px hit zones */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: transform 0.3s;
    background-color: transparent;
    border-radius: 0;
}

.social-link:hover {
    transform: translateY(-5px);
    background-color: transparent;
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* Makes the icons white */
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    min-width: 0; /* Allows input to shrink below its content size */
}

.newsletter-form .btn {
    border-radius: 4px;
    background-color: var(--livro-cyan);
    border: none;
    box-shadow: none;
    font-weight: bold;
    padding: 0 1.5rem;
    font-size: 16px;
    text-align: center;
    height: 48px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    outline: none;
    text-decoration: none;
}

/* Main Footer Content */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--livro-yellow-light);
    margin-bottom: 1.5rem;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 4%;
    font-weight: 500;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-links li .material-symbols-rounded {
    font-size: 18px;
    margin-right: 8px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
}

.footer-links a:hover {
    color: var(--livro-yellow);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* CTA Section - often appears before footer */
.cta {
    background-color: var(--livro-cerulean);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 24px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .connect-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-connect-strip {
        padding: 2rem 0;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    
    .cta {
        padding: 4rem 0;
    }
    
    .cta p {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta {
        padding: 3rem 0;
    }
    
    .cta p {
        font-size: 18px;
    }
    
    .footer-links li .material-symbols-rounded {
        font-size: 16px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
}
