/* 
 * Saigon Bảo Tín - Footer Styles
 * Pure CSS Implementation - Enhanced Version
 */

.site-footer {
    background-color: #0f172a; /* Deep Navy Background */
    color: #e2e8f0; /* High contrast body text */
    border-top: 4px solid var(--primary); /* Brand Accent Line */
    padding: 100px 0 40px;
    position: relative;
}

/* Subtle background texture/glow */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2.5fr 1fr 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    align-self: flex-start;
}

.footer-desc {
    color: #cbd5e1;
    max-width: 450px;
    font-size: 1.125rem;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.social-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(18, 105, 226, 0.3);
}

.footer-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

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

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-link::before {
    content: '→';
    opacity: 0;
    margin-left: -15px;
    transition: all 0.2s ease;
}

.footer-link:hover::before {
    opacity: 1;
    margin-left: 0;
    margin-right: 8px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 80px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    color: #64748b;
    font-size: 0.95rem;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-label {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: relative;
}

.status-indicator::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: var(--secondary);
    opacity: 0.4;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}
