/* ============================================================
   INOSTEEL - Custom Header & Footer Styles
   Matches the HTML mockup design (navy #1E3A5F + amber #F9A11B)
   ============================================================ */

/* ===== HEADER ===== */
#header,
#header .header-inner,
.header-wrapper,
.header-main,
.header-bottom {
    background-color: #1E3A5F !important;
    border-bottom: none !important;
}

/* Top bar */
.top-bar-section,
#top-bar,
.top-bar {
    background-color: #152e4d !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.top-bar a,
.top-bar span,
.top-bar .nav > li > a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 11px !important;
}

/* Logo */
#logo a,
#logo img,
.logo-text,
.site-title a {
    color: #ffffff !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
    text-transform: uppercase !important;
    font-size: 20px !important;
}

/* Navigation */
.nav-dark .nav > li > a,
.header-bottom .nav > li > a,
#header .nav > li > a,
.header-main-nav .nav > li > a {
    color: rgba(255,255,255,0.82) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 0 20px !important;
}

.nav-dark .nav > li > a:hover,
.header-bottom .nav > li > a:hover,
#header .nav > li > a:hover,
#header .nav > li.active > a,
#header .nav > li.current-menu-item > a {
    color: #F9A11B !important;
}

/* Header icons (search, cart) */
#header .header-button .nav-icon,
#header .cart-icon,
#header .header-search .search-icon {
    color: rgba(255,255,255,0.8) !important;
}

/* "Báo giá ngay" button in header */
.header-button .button,
#header .button,
#header .nav-button-wrap .button,
.header-widget .button {
    background-color: #F9A11B !important;
    color: #1E3A5F !important;
    font-weight: 900 !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 10px 24px !important;
}

.header-button .button:hover,
#header .button:hover {
    background-color: #e08f0f !important;
    color: #1E3A5F !important;
}

/* Phone number in header */
#header .header-tel,
#header .header-contact,
.header-tel a,
.top-bar .nav > li > a {
    color: #F9A11B !important;
    font-weight: 700 !important;
}

/* Sticky header */
#header.sticky,
#header.is-sticky {
    background-color: #1E3A5F !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
}

/* Mobile menu */
.mobile-sidebar,
.mobile-nav,
#mobile-nav,
.nav-mobile {
    background-color: #1E3A5F !important;
}

.nav-mobile .nav > li > a {
    color: rgba(255,255,255,0.85) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* ===== FOOTER ===== */
/* footer#footer is OUTSIDE #wrapper - it's already full-width in Flatsome */
/* Need to ensure background covers all internal structural divs */
footer#footer,
footer#footer .footer-wrapper,
footer.footer-wrapper {
    background-color: #1E3A5F !important;
    width: 100% !important;
    color: rgba(255,255,255,0.65) !important;
    border-top: none !important;
}

/* All child containers inside footer need navy background */
footer#footer > *,
footer#footer .section,
footer#footer .row,
footer#footer .col,
footer#footer [class*="col-"],
footer#footer .footer-top,
footer#footer .footer-bottom,
footer#footer .container,
footer#footer .footer-content,
footer#footer .footer-inner,
footer#footer .widget-area {
    background-color: #1E3A5F !important;
}

/* Flatsome specific action hook area rendered divs */
footer#footer > div {
    background-color: #1E3A5F !important;
}

/* Flatsome footer widget area divs - CRITICAL for full navy coverage */
.footer-widgets,
div.footer-widgets,
.footer-1,
.footer-2,
div.footer.footer-1,
div.footer.footer-2 {
    background-color: #1E3A5F !important;
    /* Break out of container and go full 100vw */
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    box-sizing: border-box !important;
}

.footer-widgets .row {
    background-color: #1E3A5F !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Footer widget titles */
#footer .widget-title,
#footer h4.widget-title,
#footer h4,
#footer .footer-widget h4 {
    color: #F9A11B !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding-bottom: 10px !important;
}

/* Footer text and links */
#footer p,
#footer li,
#footer span {
    color: rgba(255,255,255,0.55) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1.8 !important;
}

#footer a {
    color: rgba(255,255,255,0.55) !important;
    transition: color 0.2s !important;
    text-decoration: none !important;
}

#footer a:hover {
    color: #ffffff !important;
}

/* Footer logo/company name */
#footer .footer-logo,
#footer .logo-text,
#footer .site-title {
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 26px !important;
    text-transform: uppercase !important;
    letter-spacing: -0.5px !important;
    display: block !important;
    margin-bottom: 16px !important;
}

/* Footer bottom bar (copyright) */
.absolute-footer,
.footer-bar,
.footer-bottom {
    background-color: #152e4d !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    padding: 16px 0 !important;
}

.absolute-footer p,
.absolute-footer span,
.footer-bar p,
.footer-bar span {
    color: rgba(255,255,255,0.3) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

.absolute-footer a,
.footer-bar a {
    color: rgba(255,255,255,0.3) !important;
}

.absolute-footer a:hover,
.footer-bar a:hover {
    color: #ffffff !important;
}

/* Social icons in footer */
#footer .social-icons a,
#footer .socials-icons a {
    background-color: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.7) !important;
    border-radius: 4px !important;
    transition: background-color 0.2s !important;
}

#footer .social-icons a:hover {
    background-color: #F9A11B !important;
    color: #1E3A5F !important;
}

/* ===== BODY/PAGE ===== */
body {
    font-family: 'Be Vietnam Pro', sans-serif !important;
}

/* Fix Flatsome boxed-layout gray sides around footer */
body #wrapper {
    overflow: visible !important;
}

/* Make the footer truly full-width even in boxed mode */
body #footer-outer,
#footer-outer {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background-color: #1E3A5F !important;
}

/* Remove gray body background bleeding below footer */
html, body {
    background-color: #ffffff !important;
}

/* Fix absolute footer bottom bar to also be full-width */
.absolute-footer-outer,
#absolute-footer {
    background-color: #152e4d !important;
    width: 100% !important;
}

/* Remove uppercase transformation from footer text - too aggressive */
#footer p,
#footer li,
#footer span {
    text-transform: none !important;
    letter-spacing: 0.3px !important;
}

/* Widget titles should stay uppercase */
#footer .widget-title,
#footer h4 {
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
}

/* ===== HERO SECTION FULL WIDTH FIX ===== */
/* Remove all padding/margin from the page main area for full-width hero */
.page-template-page-fullwidth #main,
.home #main,
body.home .main-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Make .ino-hero full-width by breaking out of Flatsome container */
.ino-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

/* Fix body padding-top that WP admin bar may add */
.admin-bar .ino-hero {
    /* Keep the section below admin bar */
    margin-top: 0 !important;
}

/* Grid layout fix for the 2-column hero at different widths */
@media (min-width: 900px) {
    .ino-hero > div > div:last-child {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 64px !important;
        align-items: center !important;
    }
}

/* Ensure page has no default padding pushing hero down */
.home.page .post-content,
.home .entry-content,
.page .post-content > .ino-hero:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Override Flatsome's .is-large padding on entry-content */
.entry-content > section.ino-hero:first-child,
.post-content > section.ino-hero {
    margin-bottom: 0 !important;
}
