/*
 * This CSS file is part of the Wallahi Sticky Header plugin.
 * It contains the styles for the sticky header functionality.
 */

/* CSS for the fixed header */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    background: #fff;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Ensure no shadow */
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

/* Padding for the body to prevent content from being hidden by the sticky header */
body {
    padding-top: 80px;
}

/* Smaller padding on mobile to match a potentially smaller header */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}

/* Class to hide the header by sliding it up and out of view */
.hide-header {
    transform: translateY(-100%);
}

/*
 * Respect user's motion preferences.
 * This prevents the animation for users who have requested reduced motion.
 */
@media (prefers-reduced-motion: reduce) {
    header.site-header {
        transition: none;
    }
}