/*
Footer Styles - Professional & Modern Design
Ensures footer displays properly with all styling
*/

/* ==========================================================================
   1. FOOTER CONTAINER STYLING
   ========================================================================== */

.site-footer-optimized {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    padding: 60px 0 20px 0 !important;
    margin-top: 80px !important;
    border-top: 1px solid #334155 !important;
    font-family: inherit !important;
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* ==========================================================================
   2. FOOTER WIDGETS GRID
   ========================================================================== */

.footer-widgets {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
}

/* ==========================================================================
   3. FOOTER WIDGET STYLING
   ========================================================================== */

.footer-widget {
    color: #e2e8f0 !important;
}

.footer-widget-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
    border-bottom: 2px solid #0866fe !important;
    padding-bottom: 8px !important;
    display: inline-block !important;
}

/* ==========================================================================
   4. FOOTER ABOUT SECTION
   ========================================================================== */

.footer-about .footer-logo {
    max-width: 180px !important;
    height: auto !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.footer-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.footer-contact-list li {
    margin-bottom: 12px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #cbd5e1 !important;
}

.footer-contact-list li strong {
    color: #f1f5f9 !important;
    font-weight: 600 !important;
}

.footer-contact-list li a {
    color: #0866fe !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-contact-list li a:hover {
    color: #60a5fa !important;
}

/* ==========================================================================
   5. FOOTER NAVIGATION LISTS
   ========================================================================== */

.footer-widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-widget ul li {
    margin-bottom: 10px !important;
}

.footer-widget ul li a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    transition: all 0.3s ease !important;
    display: block !important;
    padding: 4px 0 !important;
}

.footer-widget ul li a:hover {
    color: #0866fe !important;
    transform: translateX(5px) !important;
}

/* ==========================================================================
   6. SOCIAL MEDIA LINKS
   ========================================================================== */

.footer-widget-social {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.footer-widget-social li {
    margin-bottom: 8px !important;
}

.footer-widget-social li a {
    background: #334155 !important;
    color: #e2e8f0 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important; /* Giảm từ 20px xuống 6px */
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: 1px solid transparent !important;
}

.footer-widget-social li a:hover {
    background: #0866fe !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(8, 102, 254, 0.3) !important;
}

/* ==========================================================================
   7. NEWSLETTER FORM
   ========================================================================== */

.footer-newsletter-form {
    display: flex !important;
    gap: 10px !important;
    margin: 20px 0 !important;
}

.footer-newsletter-form input[type="email"] {
    flex: 1 !important;
    padding: 12px 16px !important;
    border: 1px solid #475569 !important;
    border-radius: 8px !important;
    background: #334155 !important;
    color: #f1f5f9 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.footer-newsletter-form input[type="email"]:focus {
    outline: none !important;
    border-color: #0866fe !important;
    box-shadow: 0 0 0 3px rgba(8, 102, 254, 0.1) !important;
}

.footer-newsletter-form input[type="email"]::placeholder {
    color: #94a3b8 !important;
}

.footer-newsletter-form button {
    background: #0866fe !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.footer-newsletter-form button:hover {
    background: #0550c3 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(8, 102, 254, 0.3) !important;
}

/* ==========================================================================
   8. FOOTER BOTTOM BAR
   ========================================================================== */

.footer-bottom-bar {
    border-top: 1px solid #334155 !important;
    padding-top: 20px !important;
    text-align: center !important;
}

.footer-copyright {
    font-size: 14px !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
}

/* ==========================================================================
   9. VIEW ALL BUTTON
   ========================================================================== */

.view-all-btn {
    display: inline-block !important;
    background: transparent !important;
    color: #0866fe !important;
    border: 2px solid #0866fe !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

.view-all-btn:hover {
    background: #0866fe !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(8, 102, 254, 0.3) !important;
}

/* ==========================================================================
   10. FOOTER DESCRIPTION TEXT
   ========================================================================== */

.footer-widget p {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

.footer-privacy-note {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin-top: 10px !important;
    font-style: italic !important;
}

/* ==========================================================================
   11. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }

    .footer-about {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 768px) {
    .site-footer-optimized {
        padding: 40px 0 20px 0 !important;
        margin-top: 60px !important;
    }

    .footer-widgets {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-newsletter-form {
        flex-direction: column !important;
    }

    .footer-newsletter-form input[type="email"] {
        margin-bottom: 10px !important;
    }

    .footer-widget-social {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px !important;
    }

    .footer-widget-title {
        font-size: 16px !important;
    }

    .footer-contact-list li,
    .footer-widget ul li a,
    .footer-widget p {
        font-size: 13px !important;
    }

    .footer-widget-social li a {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   12. ACCESSIBILITY & FOCUS STATES
   ========================================================================== */

.footer-widget a:focus,
.footer-newsletter-form input:focus,
.footer-newsletter-form button:focus,
.view-all-btn:focus {
    outline: 2px solid #0866fe !important;
    outline-offset: 2px !important;
}

/* ==========================================================================
   13. PRINT STYLES
   ========================================================================== */

@media print {
    .site-footer-optimized {
        background: white !important;
        color: black !important;
        border-top: 2px solid black !important;
    }

    .footer-widget-title {
        color: black !important;
        border-bottom-color: black !important;
    }

    .footer-newsletter-form,
    .footer-widget-social {
        display: none !important;
    }
}

/* End Footer Styles */