/* Estilos gerais do corpo */
body {
    font-family: 'Inter', sans-serif;
    background-color: #e8e8e8;
    min-height: 100vh;
}

/* Estilos da barra de navegação */
.navbar-brand img {
    height: 70px;
}

.navbar-toggler {
    padding: 0.6rem 1.2rem;
    background-color: #888;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.9;
    font-size: 1rem;
}

.barra-navegar {
    padding: 0.6rem 1.2rem;
    background-color: #888;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.9;
    font-size: 1rem;
}

.botao_pesquisar {
    padding: 0.6rem 1.2rem;
    background-color: #b30000;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.9;
    font-size: 1rem;
}

/* Estilos do carrossel */
.carousel img {
    height: auto;
    max-height: 480px;
    object-fit: cover;
}

/* Estilos do card */
.card {
    border: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.video-card {
    border: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.card-body {
    display: flex;
    flex-direction: column;
}

.avisocor {
    background-color: #b30000;

}

.card-header.custom-red {
    background-color: #b30000;
    color: #fff;
}

/* Estilos de botões */
.botao-assista {
    padding: 0.6rem 1.2rem;
    background-color: #b30000;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.9;
    font-size: 1rem;
    margin-top: auto;
}

/* Estilos do menu */
.menuprincipal {
    background: linear-gradient(135deg, #b30000, #b30000);
    border: none;
    box-shadow: 0 4px 15px rgba(179, 0, 0, 0.3);
}

.menu-info {
    background: linear-gradient(135deg, #b30000, #b30000);
    box-shadow: 0 4px 15px rgba(179, 0, 0, 0.3);
}

.menu-info-title {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);


}

/* Estilos do rodapé */
.rodape {
    background-color: #b30000;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

/* Estilos do modal */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.btn-close {
    padding: 0.6rem 1.2rem;
    background-color: #888;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.9;
    font-size: 1rem;
}

/* Estilos do vídeo */
.video-player {
    width: 100%;
}

/* Estilos de avisos */
.titulo_aviso {
    background-color: #b30000;
    color: #fff;
}

.aba-avisos {
    border: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

/* Estilos de lista */
.list-group-item {
    font-size: 0.95rem;
}

/* Estilos de conteúdo complementar */
.conteudo-complemento {
    background-color: #f8f9fa;
}

/* Estilos gerais de cores */
.custom-red {
    background-color: #b30000;
}

/* Estilos da barra lateral */
.sidebar {
    background-color: var(--sidebar-bg);


    box-shadow: 0 2px 8px var(--shadow-dark);
    height: fit-content;
}

/* Estilos do menu de navegação */
.menu-nav {
    background-color: #b30000;
    box-shadow: 0 4px 12px var(--shadow-red);
    color: var(--white);
    border: 0;
    padding: 0;




}

.menu-nav[aria-label="Informações"] {}

/* Estilos do título do menu */
.menu-title {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

/* Estilos dos itens do menu */
.menu-item {
    padding: 12px 16px;
    margin: 4px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    color: var(--white);
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.menu-item:hover,
.menu-item:focus {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.menu-item:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.menu-item.active {
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

/* Estilos dos ícones */
.icon-info {
    width: 20px;
    margin-right: 12px;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Estilos da área de rolagem do menu */
.menu-scroll {
    max-height: 900px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar) transparent;
}

/* Estilos da barra de rolagem para navegadores baseados em WebKit */
.menu-scroll::-webkit-scrollbar {
    width: 8px;
}

.menu-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.menu-scroll::-webkit-scrollbar-thumb {
    background: var(--scrollbar);
    border-radius: 4px;
}

.menu-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Variáveis CSS */
:root {
    --primary-red: #b30000;
    --light-red: #cc3333;
    --sidebar-bg: #f8f9fa;
    --white: #ffffff;
    --shadow-red: rgba(179, 0, 0, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.15);
    --scrollbar: rgba(255, 255, 255, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        display: none;
        padding: 0.5rem;
    }

    .menu-nav {
        padding: 0.75rem;
    }

    .menu-nav[aria-label="Informações"] {
        padding: 1rem;
    }

    .menu-item {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .icon-info {
        width: 18px;
        font-size: 0.9rem;
    }

    #menu,
    #menu2 {
        display: none;
    }


}


@media (min-width: 992px) {

    .sidebar {
        position: sticky;
        top: 1rem;
    }

    .parte_videos {
        transform: translateY(-4%)
    }

    .sessaoavisos {


        transform: translateY(-4.5%)
    }

    .contato_informacao {
        transform: translateY(-11.5%)
    }




    .palavra-menu {
        margin-top: 10px;
    }

    .sessao {

        transform: translateY(-6%)
    }
}

.menu-nav,
.menu-scroll,
.menu-item {
    width: 100%;
    white-space: normal;
    overflow-x: hidden;
}

.carousel-control-next,
.carousel-control-prev {
    pointer-events: auto;
    /* deve estar ativo */
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 1rem);
}

.modal-content {
    max-height: 90vh;
    overflow: auto;
}

#modalVideoPlayer {
    width: 100%;
    max-height: 60vh;
    /* evita estourar a tela */
}

.carousel-borda {
    border: 4px solid #b30000;
}

.carousel-caption {
    backdrop-filter: blur(4px);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.7);
}