/**
 * Footer Styles
 * 
 * Consolidated CSS for footer-custom.php template
 * Includes: footer grid, newsletter form, footer menus
 */

.site-footer {
    background: var(--color-neutral-900);
    color: var(--color-neutral-300);
}

.footer-newsletter-section {
    background: var(--color-primary-700);
}

.footer-newsletter-section .container {
    padding: 3rem var(--spacing-md);
}

.footer-newsletter-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-newsletter-content {
    text-align: center;
}

.footer-newsletter-title {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: white !important;
    margin-bottom: 0.5rem;
}

.footer-newsletter-text {
    color: var(--color-primary-100);
}

.newsletter-form {
    display: flex;
    width: 100%;
    gap: 0.75rem;
}

.newsletter-form-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: none;
}

.btn-newsletter-submit {
    white-space: nowrap;
}

.footer-main-container {
    padding: 3rem var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-info {
    grid-column: span 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    padding: 0.5rem;
    background: var(--color-neutral-800);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    display: inline-flex;
}

.footer-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-menu-title {
    font-weight: 600;
    color: white !important;
    margin-bottom: 1rem;
}

.footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu-link-text {
    font-size: 0.875rem;
    color: var(--color-neutral-300);
    transition: var(--transition-base);
}

.footer-trust-section {
    background: var(--color-neutral-900);
    padding: 2rem var(--spacing-md);
}

.footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.footer-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-trust-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-primary-400);
}

.footer-trust-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.footer-copyright-section {
    background: var(--color-neutral-900);
    padding: 1.5rem var(--spacing-md);
    border-top: 1px solid var(--color-neutral-800);
}

.footer-copyright-container {
    text-align: center;
    font-size: 0.875rem;
}

/* ==========================================================================
   FOOTER RESPONSIVE GRID
   ========================================================================== */

@media (min-width: 768px) {
    .newsletter-form {
        width: auto !important;
    }
    
    .newsletter-form input {
        width: 16rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .footer-grid > div:first-child {
        grid-column: span 1 !important;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

/* ==========================================================================
   FOOTER MENU
   ========================================================================== */

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    text-decoration: none;
}

.footer-menu a:hover span {
    color: white;
}
