/* header.css */

.hero-meneham {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    border: none;
    background-image: url('/site/img/fd/meneham16-9.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: visible;
}


.hero-meneham::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 52, 67, 0.85) 0%,
        rgba(0, 52, 67, 0.4) 50%,
        rgba(0, 52, 67, 0.1) 80%,
        transparent 100%
    );
    z-index: 1;
}


.hero-meneham > div {
    position: relative;
    z-index: 10;
}

.hero-meneham::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
}

/* Ajustement pour les petits écrans */
@media (max-width: 768px) {
    .hero-meneham {
        min-height: auto;
        padding: 3rem 0;
    }
    .hero-meneham::before {
        /* Dégradé vertical sur mobile pour la lisibilité du texte empilé */
        background: linear-gradient(
            to bottom,
            rgba(0, 52, 67, 0.9) 0%,
            rgba(0, 52, 67, 0.6) 100%
        );
    }
}
/* Ajustement pour les écrans inférieurs à 1024px (Tablettes incluses) */
@media (max-width: 1023px) {
    .hero-meneham {
        min-height: auto;
        padding: 4rem 0; /* Un peu plus d'air sur tablette */
    }
    .hero-meneham::before {
        /* Dégradé vertical pour que le texte blanc/sombre reste lisible sur toute la largeur */
        background: linear-gradient(
            to bottom,
            rgba(0, 52, 67, 0.9) 0%,
            rgba(0, 52, 67, 0.7) 50%,
            rgba(0, 52, 67, 0.4) 100%
        );
    }
}
