/* ========================================
   USER.CSS DEFINITIVO - ZONA-LESTE.COM
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');

/* ===== LAYOUT PRINCIPAL LOGO + TÍTULO ===== */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 25px !important;
    padding: 15px 0 !important;
}

/* Logo à esquerda */
.brand-logo {
    order: 1 !important;
    flex-shrink: 0 !important;
}

.brand-logo img {
    max-height: 80px !important;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(3px 3px 0px #001B4C) 
            drop-shadow(6px 6px 0px rgba(255, 107, 53, 0.3));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efeitos hover do logo */
.brand-logo:hover img {
    transform: scale(1.1) rotateY(5deg);
    filter: drop-shadow(5px 5px 0px #001B4C) 
            drop-shadow(10px 10px 0px rgba(255, 107, 53, 0.5))
            brightness(1.1);
}

/* Título ao lado do logo */
.navbar-brand::after {
    content: "Zona-Leste.Com" !important;
    font-family: 'Bungee', cursive !important;
    font-size: 2.5rem !important;
    font-weight: bold !important;
    color: yellow !important;
    text-shadow: 3px 3px 0px #FF6B35, 
                 6px 6px 0px rgba(0, 27, 76, 0.2) !important;
    background: linear-gradient(135deg, #001B4C 0%, #652a15 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 2 !important;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

/* Animação do título */
@keyframes titleGlow {
    from {
        text-shadow: 3px 3px 0px #FF6B35, 
                     6px 6px 0px rgba(0, 27, 76, 0.2);
    }
    to {
        text-shadow: 3px 3px 0px #FF6B35, 
                     6px 6px 0px rgba(0, 27, 76, 0.2),
                     0 0 15px rgba(255, 107, 53, 0.6);
    }
}

/* ===== PESQUISA E MENU ===== */
.container-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
}

.container-search .mod-search .inputbox {
    width: 200px !important;
    height: 36px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 0 10px !important;
}

.header {
    box-shadow: 0 4px 12px rgba(0, 27, 76, 0.1) !important;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 991px) {
    .navbar-brand::after {
        font-size: 2rem !important;
    }
    .brand-logo img {
        max-height: 65px !important;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    .navbar-brand::after {
        font-size: 1.8rem !important;
    }
    .brand-logo img {
        max-height: 55px !important;
    }
    .container-nav {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .container-search .mod-search .inputbox {
        width: 100% !important;
    }
}
/* ===== CENTRALIZAÇÃO ROBUSTA ===== */
.container-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Forçar o grid-child do brand a ocupar toda a largura e centralizar */
.container-header > .grid-child:nth-child(3) {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
}

.navbar-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    gap: 25px !important;
    padding: 15px 0 !important;
    text-align: center !important;
}

/* Se estiver usando container-fluid ou similar */
.wrapper-fluid .container-header,
.wrapper-static .container-header {
    justify-content: center !important;
    align-items: center !important;
}

/* ===== MELHORIAS NO MENU DROPDOWN ===== */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block !important;
    margin-top: 0 !important;
}

/* Tornar todo o item de menu clicável para dropdown */
.navbar-nav .nav-link.dropdown-toggle {
    position: relative;
    padding-right: 2rem !important;
}

/* Seta do dropdown mais visível e centralizada */
.navbar-nav .dropdown-toggle::after {
    position: absolute !important;
    right: 0.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-width: 0.3em !important;
    transition: transform 0.3s ease !important;
}

/* Animação na seta quando aberto */
.navbar-nav .dropdown.show .dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg) !important;
}

/* Dropdown menu estilizado */
.dropdown-menu {
    border: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    padding: 0.5rem 0 !important;
    min-width: 200px !important;
}

.dropdown-item {
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: #001B4C !important;
    color: white !important;
    border-left-color: #FF6B35 !important;
}

/* Efeito suave de fade-in no dropdown */
.dropdown-menu {
    animation: fadeIn 0.3s ease !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== MENU MOBILE MELHORADO ===== */
@media (max-width: 767px) {
    /* Dropdown em mobile ocupa toda largura */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }