/*
 Theme Name:   Twenty Twenty-Five Child
 Description:  A child theme for the Twenty Twenty-Five default WordPress theme.
 Author:       Your Name
 Template:     twentytwentyfive
 Version:      1.0.0
*/

/* Custom CSS goes below this line */
/* ==========================================================================
   MOBILE: AJUSTE DEFINITIVO DO OVERLAY GLOBAL DO GUTENBERG
   ========================================================================== */
@media (max-width: 782px) {

    /* 1. GARANTE QUE O BOTÃO HAMBÚRGUER FIQUE VISÍVEL NO TOPO REVELADO
       Ajusta o tamanho do clique e força a cor branca nas 3 linhas.
    */
    header .wp-block-navigation__responsive-container-open {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        border: none !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    header .wp-block-navigation__responsive-container-open svg {
        fill: #ffffff !important;
        color: #ffffff !important;
        width: 32px !important;
        height: 32px !important;
    }

    /* 2. LIBERAÇÃO E CORREÇÃO DO OVERLAY (TELA CHEIA)
       Quando o menu ganha a classe '.is-menu-open', nós explodimos os limites 
       anteriores de height/overflow e forçamos a cobertura total da janela.
    */
    header .wp-block-navigation__responsive-container.is-menu-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        
        /* Força o menu a flutuar por cima de absolutamente TUDO na tela */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        
        /* Anula qualquer tranca de 'hidden' ou 'height: 0' herdada do desktop */
        overflow: visible !important; 
        padding: 20px 24px !important;
        margin: 0 !important;
        
        /* Fundo escuro premium com efeito de vidro fosco para foco total */
        background-color: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        
        /* Centraliza os links matematicamente no meio do celular */
        justify-content: center !important;
        align-items: center !important;
        z-index: 999999 !important;
    }

    /* 3. ALINHAMENTO VERTICAL DOS 4 LINKS */
    header .is-menu-open .wp-block-navigation__container {
        display: flex !important;
        visibility: visible !important;
        flex-direction: column !important;
        gap: 28px !important;
        text-align: center !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 4. DESIGN DOS LINKS EXPANDIDOS PARA O TOQUE */
    header .is-menu-open .wp-block-navigation-item a {
        font-size: 1.6rem !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        color: #ffffff !important;
        text-decoration: none !important;
        display: block !important;
        padding: 10px !important;
        width: 100% !important;
    }

    /* Acende a sua identidade amarela no toque */
    header .is-menu-open .wp-block-navigation-item a:active,
    header .is-menu-open .wp-block-navigation-item a:hover {
        color: #fbb416 !important;
    }

    /* 5. FIXAÇÃO DO BOTÃO DE FECHAR (X) NO CANTO SUPERIOR DIREITO */
    header .wp-block-navigation__responsive-container-close {
        display: flex !important;
        position: absolute !important;
        top: 24px !important;
        right: 24px !important;
        z-index: 1000001 !important;
        background: transparent !important;
        border: none !important;
    }
    
    header .wp-block-navigation__responsive-container-close svg {
        fill: #ffffff !important;
        color: #ffffff !important;
        width: 32px !important;
        height: 32px !important;
    }
}

.wa-cta-bold > a {
    font-weight: bold;
}

.rt-wpforms-txt .wpforms-field-label{
        color: #fff !important;
}

button #wpforms-submit-374 {
    background-color: #fbb416 !important;
        color: #fff !important;
}

/* Container das tags do projeto */
.rt-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;          /* Espaçamento entre as tags */
    margin-top: 12px;  /* Distância entre a imagem e as tags */
    margin-bottom: 20px;
}

/* Estilo individual de cada tag */
.rt-project-tags .rt-tag {
    background-color: #222222; /* Fundo escuro para contrastar */
    color: #ffffff;
    font-size: 0.75rem;        /* Texto pequeno e elegante */
    font-weight: 600;
    text-transform: uppercase; /* Caixa alta */
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

/* Efeito opcional: acender a tag com a sua cor amarela no hover */
.rt-project-tags .rt-tag:hover {
    border-color: #fbb416;
    color: #fbb416;
}

.rt-wpforms-txt{
        color: #fff !important;
}
