/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Thème enfant pour Astra
Author: Mounssif
Author URI: https://crescendo-systemes.com/
Template: astra
Version: 1.0.0
*/


/* ========================================
   HEADER TRANSPARENT + STICKY
======================================== */

.site-header .custom-logo {
    filter: none !important;
}



/* Header transparent */
.site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: transparent !important;
    transition: background-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* Header sticky */
.site-header.scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}

/* Fond des éléments Astra */
.site-header.scrolled .ast-primary-header-bar,
.site-header.scrolled .site-primary-header-wrap {
    background: #ffffff !important;
}

/* Menu avant scroll */
.site-header:not(.scrolled) .main-header-menu > .menu-item > a {
    color: #ffffff !important;
}

/* Menu après scroll */
.site-header.scrolled .main-header-menu > .menu-item > a {
    color: #222222 !important;
}
