/* Sidebar Styles */
.sidebar {
    width: 250px;
    height: 100vh;
    /* Full viewport height */
    position: fixed;
    /* Keep it fixed for the slide effect */
    top: 0;
    left: -250px;
    /* Hidden by default */
    background: #f8f9fa;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    /* Enable vertical scrollbar when content overflows */
    padding: 4px;
    /* Match the p-4 class from Bootstrap */
}

.sidebar.active {
    left: 0;
    /* Slide in when active */
}

.content {
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

.content.shifted {
    margin-left: 250px;
    /* Shift content when sidebar is active */
}

.fixed-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(87, 3, 3, 0.1);
    z-index: 900;
    height: 60px;
}

.main-content {
    padding-top: 100px;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .sidebar {
        height: auto;
        /* Allow height to adjust to content */
        max-height: 100vh;
        /* Limit to viewport height */
        overflow-y: auto;
        /* Ensure scrollbar appears on overflow */
    }

    .content.shifted {
        margin-left: 0;
        /* Reset margin on small screens to avoid overlap */
    }
}

/* Existing Print Media Queries */
@media print {

    .no-print,
    footer {
        display: none;
    }
}

@media print {

    .no-print,
    .no-print * {
        display: none !important;
    }

    body {
        visibility: visible;
    }

    .no-print {
        visibility: hidden;
    }
}

/* Estilos para o modo escuro */
body.dark-mode {
    background-color: #121212;
    /* Cor de fundo escura */
    color: #ffffff;
    /* Cor do texto clara */
}

/* Outros estilos do modo escuro para diferentes elementos */
body.dark-mode .header-item {
    background-color: #333;
}

body.dark-mode .btn {
    background-color: #444;
    color: #fff;
}

/* Exemplo de texto e links no modo escuro */
body.dark-mode a {
    color: var(--cor_secundaria);
}

body.dark-mode .footer {
    background-color: #222;
}

/* Estilização do botão */
.btn.header-item {
    position: relative;
    width: 60px;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    transition: background-color 0.3s;
}

/* Estilo do botão no modo claro */
.btn.header-item.light {
    background-color: #e0e0e0;
}

/* Estilo do botão no modo escuro */
.btn.header-item.dark {
    background-color: #333;
}

/* Círculo que desliza */
.btn.header-item::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    top: 50%;
    /* Centraliza verticalmente */
    transform: translateY(-50%);
    /* Ajusta para o centro vertical */
    left: 3px;
    transition: transform 0.3s, background-color 0.3s;
}

/* Posição do círculo no modo escuro */
.btn.header-item.dark::before {
    transform: translateX(30px) translateY(-50%);
    /* Mantém o ajuste vertical */
    background-color: #ccc;
    /* Cor da lua */
}

/* Ícones */
.icon-lg {
    font-size: 16px;
    color: #333;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s;
}

/* Posiciona o ícone do sol à esquerda, centralizado com o círculo */
.fa-sun {
    left: 6px;
    /* Ajustado para centralizar com o círculo */
}

/* Posiciona o ícone da lua à direita, centralizado com o círculo */
.fa-moon {
    right: 6px;
    /* Ajustado para centralizar com o círculo */
}

/* Exibe o sol no modo claro, esconde a lua */
.btn.header-item.light .fa-sun {
    opacity: 1;
}

.btn.header-item.light .fa-moon {
    opacity: 0;
}

/* Exibe a lua no modo escuro, esconde o sol */
.btn.header-item.dark .fa-sun {
    opacity: 0;
}

.btn.header-item.dark .fa-moon {
    opacity: 1;
}

/* Menu Header Exclusivo */
.mh-sortable {
    list-style-type: none;
    padding-left: 0px;
    margin: 0;
}

.mh-item {
    margin: 5px 0;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.mh-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mh-left {
    display: flex;
    align-items: center;
}

.mh-right {
    display: flex;
    align-items: center;
}

.mh-handle {
    cursor: move;
    margin-right: 10px;
}

.mh-name {
    font-weight: bold;
    margin-right: 10px;
}

.mh-url {
    color: #666;
    margin-right: 10px;
}

.mh-toggle-icon {
    cursor: pointer;
    margin-left: 10px;
}

.mh-sortable ul {
    display: none;
}

.mh-item.ui-sortable-helper {
    background: #e0e0e0;
}

.ui-state-highlight {
    height: 20px;
    background: #e6e6e6;
    border: 1px dashed #ccc;
}

/* Lembretes */
.status-toggle {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    background-color: #fff;
    transition: all 0.3s ease;
}

.status-toggle:checked {
    background-color: var(--cor_secundaria);
    border-color: var(--cor_secundaria);
}

.status-text {
    transition: all 0.3s ease;
    color: black;
}

.status-toggle:checked+.status-text {
    color: var(--cor_secundaria);
    text-decoration: line-through;
    text-decoration-color: currentColor;
    text-decoration-style: solid;
    text-decoration-thickness: auto;
}

/* WhatsApp */
.app-fab {
    position: fixed;
    bottom: 0;
    z-index: 1000;
}

.app-fab--left {
    left: 0;
}

.app-fab--right {
    right: 0;
}

.app-fab__container {
    display: flex;
    padding: 10px;
}

.app-fab__container--vertical {
    flex-direction: column;
}

.app-fab__container--horizontal {
    flex-direction: row;
}

.app-fab__item {
    width: 50px;
    margin: 5px;
    cursor: pointer;
}

.app-fab__item .link {
    display: block;
}

.app-fab__item .img {
    max-width: 100%;
}

.carousel-container {
    position: relative;
}

.carousel-image {
    display: none;
    width: auto;
    height: 80%;
}

.carousel-image.active {
    display: block;
}

.image-mask {
    width: 400px;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-mask {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-hover-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-hover-overlay:hover::before {
    opacity: 1;
}

.image-hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-hover-overlay:hover .image-hover-icon {
    opacity: 1;
}

/* Menu Lua de Mel */
.lua-item {
    position: relative;
    font-size: 1.25rem;
    font-weight: 492;
    padding: 1.7rem 0;
    margin-right: -0.5rem;
}

.lua-link {
    padding: 10px 15px;
    background-color: var(--bs-primary);
    border-radius: 5px;
    transition: background-color 0.3s ease;
    color: white;
    text-decoration: none;
}

.lua-item.active .lua-link {
    background-color: var(--bs-primary);
    color: white;
}

.lua-link:hover {
    background-color: var(--bs-secondary);
    color: white;
}

/* Home Session Mini Selos */
.selos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 30px;
}

.selos-container .selos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: fit-content !important;
    padding: 20px;
    border-radius: 20px;
    gap: 40px;
}

/* Home Session Fotografia */
.btn-instagram {
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background-color: var(--bs-primary);
    color: white;
}

.text-instagram {
    color: var(--bs-secondary);
}

/* Index Pacotes */
.custom-image-hover {
    display: block;
    width: 100%;
    height: 237px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.custom-image-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.custom-image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.custom-image-hover:hover .custom-image-overlay::before {
    opacity: 1;
}

.custom-image-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-image-hover:hover .custom-image-icon {
    opacity: 1;
}

/* LOGO */
.logo-img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* MENU ACESSIBILIDADE */
#menu-accessibility .chBut {
    background: var(--bs-primary);
    width: 50px;
    height: 50px;
    position: absolute;
    top: 15px;
    left: 0;
    z-index: 1000000;
    text-align: center;
    border: 1px solid var(--bs-primary);
    border-left: none;
    border-radius: 6px 0px 0px 6px;
    transition: all 300ms ease-in-out;
}

#menu-accessibility {
    position: fixed;
    z-index: 999;
    font-size: 13px;
    overflow: hidden;
    right: -206px;
    top: 37%;
    cursor: pointer;
    border-radius: 0;
    transition: all 400ms ease-in-out;
}

#menu-accessibility.open {
    right: 0px;
}

#menu-accessibility .bgChanger {
    min-width: 290px;
    min-height: auto;
}

#menu-accessibility .blockChanger {
    width: 260px;
}

#menu-accessibility .chBody {
    background: #ffffff;
    width: 260px;
    color: var(--bs-primary);
    position: relative;
    overflow: hidden !important;
    border: 0px solid #e0e0e0;
    border-radius: 20px 0 0 20px;
    height: auto;
    overflow: scroll;
    overflow-x: hidden;
    margin-left: 88px;
    box-shadow: 0 7px 15px rgb(0 0 0 / 13%);
    margin-top: 5px;
    margin-bottom: 25px;
}

#menu-accessibility .chBody>div>div {
    padding: 10px 80px 16px 10px;
}

#menu-accessibility .chBody>div>div>div {}

#menu-accessibility .chBody p {
    color: var(--bs-secondary);
    font-weight: 400;
    margin-bottom: 2px;
}

#menu-accessibility .chBody a,
#menu-accessibility .chBody a:link,
#menu-accessibility .chBody a:active,
#menu-accessibility .chBody a:visited {
    /*color: #000000;*/
    font-weight: 700;
    font-size: 14px;
}

#menu-accessibility .chBut {
    background: var(--bs-primary);
    width: 50px;
    height: 47px;
    position: absolute;
    top: 32%;
    left: 38px;
    z-index: 1000000;
    text-align: center;
    border: 0px solid var(--bs-primary);
    border-left: none;
    border-radius: 33px 0px 0px 33px;
    transition: all 300ms ease-in-out;
}

@media only screen and (max-width: 600px) {
    #menu-accessibility .chBut {
        top: 50%;
    }

    #menu-accessibility {
        top: unset;
        bottom: 30%;
    }

    #menu-accessibility .chBody {
        margin-top: 60px;
        margin-bottom: 25px;
    }

    div[vw] {
        top: unset !important;
        bottom: 0px;
    }
}

#menu-accessibility .chBut i {
    color: #ffffff !important;
    font-size: 15px;
    line-height: 46px;
    margin-left: 15px;
}

#menu-accessibility p {
    color: #000000;
    font-size: 13px;
    font-weight: 900;
    text-transform: initial;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.menu-accessibility-p-mg-top {
    margin-top: 25px;
}

#menu-accessibility .stBgs a {
    text-decoration: none;
    width: 50px;
    height: 50px;
    float: left;
    padding: 0;
    margin: 0 4px 8px;
    cursor: pointer;
    opacity: 1;
}

#menu-accessibility .stBgs a:hover {
    opacity: 0.7;
}

.stBlock1 {
    margin: 0 20px 25px 20px;
}

.stBlock1 .btn {
    width: 100%;
    font-size: 13px;
    line-height: 1;
    padding: 10px 22px;
}

.imagem-translate {
    border-radius: 130px;
    width: 26px;
}

.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}


/* ADMIN ADICIONAR E EDITAR PERFUNTA E RESPOSTAS */
#roteiro-container:empty::before,
#perguntas-container:empty::before {
    content: "Nenhum item adicionado ainda";
    color: #999;
    font-style: italic;
    display: block;
    padding: 20px;
    text-align: center;
}

/* Mensagem elegante quando não tem roteiro ou FAQ */
#roteiro-container:empty::before,
#perguntas-container:empty::before {
    content: "Nenhum item adicionado ainda";
    display: block;
    padding: 30px 20px;
    text-align: center;
    color: #999;
    font-style: italic;
    font-size: 15px;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    margin: 10px 0;
}

/* Deixa o botão mais alinhado quando o container estiver vazio */
#tab-roteiro .btn-outline-success,
#tab-perguntas .btn-outline-success {
    margin-top: 15px;
}

/* Custom Index */
/* Tamanho fixo e object-fit para todas as imagens da galeria */
.galeria-grande {
    height: 380px !important;
}

.galeria-pequena {
    height: 180px !important;
}

.galeria-figure img {
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

.galeria-figure:hover img {
    transform: scale(1.08);
}

/* Responsivo extra (mobile) */
@media (max-width: 768px) {
    .galeria-grande {
        height: 280px !important;
    }

    .galeria-pequena {
        height: 140px !important;
    }
}

.text-tomato {
    color: #FF6347;
}

.banner-link {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Garante que todos os banners tenham exatamente a mesma altura */
@media (min-width: 1200px) {
    .banner-ratio {
        height: 100% !important;
    }

    .ratio-3x2::before {
        padding-top: 66.666% !important;
        /* proporção 3:2 */
    }
}