/* Site-level styles: generic page chrome, kept minimal since page content
   itself is styled by the ported page-builder component CSS (and, for the
   homepage, assets/css/home.css). */

/* The Aivons theme ships .main-header with background: transparent, meant to
   overlay a hero image directly beneath it — since we don't always have one,
   it read as a plain black bar. Give it a solid color instead. */
.main-header {
    background: #0f172a;
}

/* Sticky header on scroll (theme ships .main-header as position:absolute, which
   just scrolls away with the page) — assets/js/sticky-header.js toggles
   .is-sticky and inserts/sizes .it44-header-spacer to avoid a layout jump. */
.main-header.is-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    animation: it44-header-slide-down .3s ease;
}

.it44-header-spacer {
    display: none;
}

@keyframes it44-header-slide-down {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

