/* assets/css/footer.css */

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
    padding: 2.5rem 0 1.5rem 0; /* Reduced from 3.5rem */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer a {
    color: var(--white);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footergrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.25" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23footergrid)"/></svg>');
    pointer-events: none;
}

.footer-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    margin-bottom: 1.5rem; /* Reduced spacing */
}

.footer-title {
    font-family: 'Roboto Slab', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.footer-subtitle {
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-flag {
    font-size: 0.75rem;
}

.footer-bank-name, .footer-model-name {
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1.5rem 0;
}

.footer-copyright, 
.footer-disclaimer {
    opacity: 0.8;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.footer-status {
    opacity: 0.8;
    font-size: 0.85rem;
}

.last-updated {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.footer * {
    position: relative;
    z-index: 1;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 992px) {
    .footer-col-expanding {
        flex: 0 0 auto;
        width: 21%; /* Between col-lg-2 (16.67%) and col-lg-3 (25%) */
    }
    
    .footer-col-models {
        flex: 0 0 auto;
        width: 23%; /* Slightly tighter than col-lg-3 (25%) */
    }
    
    .footer-col-standard {
        flex: 0 0 auto;
        width: 16.67%; /* Same as col-lg-2 */
    }
    .footer-nav .col-lg-2,
    .footer-nav .col-lg-3 {
        margin-bottom: 1.5rem;
    }

    /* Two columns on tablets */
    .footer-nav .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}


@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-title {
        font-size: 1.75rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

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

    .footer-info {
        align-items: flex-start;
        margin-top: 1rem;
    }

}