/* ===== FOOTER SECTION STYLES ===== */
/* File: /css/sections/footer.css */
/* Purpose: Footer section specific styles */
/* Dependencies: components/buttons.css */
/* Last Updated: [CURRENT_DATE] */

/* ===== FOOTER BASE STYLES START ===== */
.footer-section {
    background: linear-gradient(135deg, var(--nsb-primary) 0%, #0f1a36 100%);
    color: var(--nsb-white);
    padding: 4rem 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h3 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: 1.375rem;
    color: var(--nsb-white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--nsb-accent);
    border-radius: 2px;
}
/* ===== FOOTER BASE STYLES END ===== */

/* ===== CONTACT COLUMN STYLES START ===== */
.contact-info {
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.phone-numbers {
    margin-top: 1.5rem;
}

.phone-number {
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hotline {
    color: var(--nsb-accent);
    font-weight: var(--font-weight-semi-bold);
}

.toll-free {
    color: var(--nsb-accent);
    font-weight: var(--font-weight-semi-bold);
    margin-top: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--nsb-white);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1.125rem;
}

.social-link:hover {
    background: var(--nsb-accent);
    transform: translateY(-3px);
}
/* ===== CONTACT COLUMN STYLES END ===== */

/* ===== LINKS COLUMN STYLES START ===== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    margin-bottom: 0.75rem;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link a:hover {
    color: var(--nsb-accent);
    transform: translateX(5px);
}

.footer-link a::before {
    content: '›';
    font-size: 1.125rem;
    transition: transform var(--transition-normal);
}

.footer-link a:hover::before {
    transform: translateX(3px);
}
/* ===== LINKS COLUMN STYLES END ===== */

/* ===== LIBRARY COLUMN STYLES START ===== */
.library-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.library-link {
    margin-bottom: 0.75rem;
}

.library-link a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.library-link a:hover {
    color: var(--nsb-accent);
    transform: translateX(5px);
}

.library-link a::before {
    content: '📚';
    font-size: 0.875rem;
}
/* ===== LIBRARY COLUMN STYLES END ===== */

/* ===== MAP COLUMN STYLES START ===== */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    height: 200px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* ===== MAP COLUMN STYLES END ===== */

/* ===== FOOTER BOTTOM STYLES START ===== */
.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.version {
    color: rgba(255, 255, 255, 0.4); /* 40% opacity - matches background blend */
    font-size: 0.8125rem; /* Slightly smaller than copyright */
    font-weight: var(--font-weight-regular);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.version:hover {
    opacity: 0.8; /* Slightly more visible on hover */
}
/* ===== FOOTER BOTTOM STYLES END ===== */

/* ===== FOOTER RESPONSIVE STYLES START ===== */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
        margin-top: 2rem;
    }
    
    .map-container {
        height: 180px;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 3rem 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 2rem 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-link a,
    .library-link a {
        justify-content: center;
    }
    
    .map-container {
        height: 150px;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
/* ===== FOOTER RESPONSIVE STYLES END ===== */

/* End of footer.css */