/*
Theme Name: Expert Bad Child
Description: L'enfant terrible du framework de GGG
Version: 4.4.1
Author: GGG
Author URI: http://gggabriel.fr
Template: expert
*/

/* The adventure starts here */

/* LA TRONCHE */

/* Police de caractères plus sympa pour le menu */
.menu-item a {
	font-family: 'Exo', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 400 !important;
}

/*Mise en avant du numéro de téléphone pour les résa */
#header_meta .container div {
	font-size: 1em;
	text-transform: uppercase;
	color: #ffffff;
	background: #719430;
}

#header_meta {
	background: #719430;
}

/**
 * BOUTON ELLOHA
 **/

/* S'assurer que .inner-container sert de référence de positionnement */
#header .av-logo-container .inner-container {
    position: relative;
}

/* Positionnement à gauche dans la grille du conteneur */
.header-elloha-widget {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    line-height: normal;
    min-width: 160px; /* Ajustez selon la largeur du bouton Elloha */
}

/* Adaptation au scroll (sticky header) */
.header-scrolled .header-elloha-widget {
    transform: translateY(-50%) scale(0.9);
    transform-origin: left center;
}

/* Adaptation Mobile & Tablette : alignement sur une seule ligne */
@media only screen and (max-width: 767px) {
    /* 1. On transforme le conteneur en Flexbox */
    .responsive #top #header .av-logo-container .inner-container {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        height: 80px;
    }

    /* 2. On place le logo en premier (à gauche) */
    .responsive #top .logo {
        order: 1;
        width: auto !important;
        max-width: 140px; /* Réduit légèrement le logo pour laisser la place au bouton */
        height: 60px !important;
        margin: 0 0 0 -30px !important;
        display: flex !important;
        align-items: center;
    }
    .responsive #top .logo img {
        max-height: 70px !important;
        width: auto !important;
    }

    /* 3. On place le bouton Elloha au milieu */
    .header-elloha-widget {
        order: 2;
        position: static;
        transform: none;
        min-width: auto;
        width: 60%;
        padding: 0;
        border: none;
        margin-left: 15px; /* Pousse le bouton vers la droite, juste avant le menu */
        margin-right: 12px;
    }
    
    /* Optionnel : affine la taille du bouton Elloha sur petit écran */
    .header-elloha-widget .widget-button {
        transform: scale(0.85);
        transform-origin: right center;
    }

    /* 4. On réintègre le menu burger dans le flux flex (tout à droite) */
    .responsive #top #wrap_all .main_menu {
        order: 3;
        position: static !important;
        height: 80px;
        display: flex !important;
        align-items: center;
    }
}