
body {
    margin: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    background-attachment: fixed;
    padding-top: 140px;
    overflow-y: auto; 
    overflow-x: hidden; 
    position: relative;
}

.conteudo {
    z-index: 2;
    padding: 20px;
    background-color: bisque;
    width: 100%;
}



.calendar-container {
    max-width: 100%;
    margin: 20px auto;
    padding: 10px;
    text-align: center;
}


.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px 30px; 
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    place-items: center; 
}

.menu-item {
    background-color: #f5f5f5;
    padding: 15px;
    border: 3px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    color: red;
    font-weight: bold;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 100px; 
    width: 100%; 
    box-sizing: border-box; 
}

.menu-item:hover {
    transform: scale(1.05);
    box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
}









@media (max-width: 1100px) {


    .menu-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
        gap: 15px 20px; 
    }
    
    .menu-item {
        height: 120px; 
        font-size: 14px; 
        padding: 10px; 
    }

    iframe {
        width: 100%; 
        height: auto;
    }



    

    body {
    padding-top: 132px;

    }
    
    .conteudo {
        flex-direction: column; 
        gap: 15px; 
    }

    #calendario, #botões {
        width: 100%; 
        max-width: 100%; 
    }
    .menu-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
        gap: 15px 20px; 
    }
    
    .menu-item {
        height: 120px; 
        font-size: 14px; 
        padding: 10px; 
    }
    .modal-dialog {
        width: 100%; 
        margin: 0; 
        padding: 10px; 
        
    }

 

    .modal-dialog {
        max-width: 90% !important; /* Faz a modal ocupar até 90% da largura */
        margin: auto !important; /* Centraliza horizontalmente */
    }
    .modal-body {
        padding: 12px 0px;
    }

    
    .modal-dialog {
        max-width: 100%;
        margin: 0;
        width: 100%;
    }

    .modal-content {
        border-radius: 0; /* Remove bordas arredondadas para ocupar toda a tela */
        min-height: 100vh; /* Ocupa toda a altura da tela */
    }

    .modal-body {
        padding: 10px; /* Ajuste o padding para telas menores */
    }
    

 
}


.titulo-acrbpx {
    font-size: 4rem; /* Tamanho do título */
    font-weight: bold;
    color: white;
    margin-bottom: 0;
}

.descricao-acrbpx {
  
    color: white;
    text-align: center;
    max-width: 500px; /* Limita a largura do texto */
    margin: 0 auto;
    font-weight: bolder;
}

/* Ajuste para telas menores */
@media (max-width: 800px) {
    .titulo-acrbpx {
        font-size: 2.5rem;
    }

    .descricao-acrbpx {
        font-size: 0.8rem;
        max-width: 300px;
    }
}


/* Para telas menores, mantém o comportamento atual */
.fix-img img {
    height: 116px;

    max-width: 100%;
    object-fit: contain;
  }
  

  @media (min-width: 150px) {
    .fix-img {
      /* Caso seja necessário, permita que os itens se distribuam melhor */
      justify-content: space-evenly;
      /* Se preferir que elas quebrem em linhas, use flex-wrap */
      /* flex-wrap: wrap; */
    }
    
    .fix-img img {
      /* Remove a altura fixa para manter a proporção */
      height: auto;
      max-height: 116px;  /* ou ajuste se desejar uma altura menor */
      /* Define a largura como uma porcentagem do contêiner */
      width: 18%;
      object-fit: contain;
    }
  }
 

  


.guia {
    border-bottom: 3px dotted transparent;
    border-image: repeating-linear-gradient(90deg, white, white 8px, red 8px, red 16px);
    border-image-slice: 1;
}





.conteudo {
    flex-wrap: wrap; 
    gap: 20px; 
    padding: 20px;
}


#calendario {
    min-height: 300px;
}

.section-bordas {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

#botões {
    width: 100%;
}

.div_resposta {
    text-indent: 2em; 
    text-align: justify; 
    margin: 0 0 1em; 
    border-radius: 10px; 
    background-color: white;
    
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}

.modal-title {
    color:black;
}

#modalTerapias .modal-dialog {
    width: 90%; 
    max-width: 1200px; 
    margin: auto; 
}

#modalTerapias .modal-content {
    border-radius: 10px; 
    padding: 20px; 
}

.piramide-container {
    max-width: 100%;
    padding: 0 15px; /* Evita que o conteúdo encoste nas bordas */
    overflow: hidden; /* Impede que a imagem e o texto ultrapassem a div */
}

.piramide-img {
    max-width: 100%;
    height: auto;
    flex-shrink: 0; /* Mantém a proporção da imagem sem distorcer */
}

.piramide-text {
    max-width: 100%;
    flex-grow: 1; /* O texto se ajusta ao espaço disponível */
    word-wrap: break-word; /* Evita que palavras longas ultrapassem */
}

li {
    text-indent: 0 !important;
}

.imagens-lotus {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.cor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cor-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease, filter 0.3s ease;
}

.cor-btn img {
    max-width: 100px;
    height: auto;
    box-shadow: 0px 4px 20px 6px rgb(0 0 0 / 58%);
    border-radius: 52px;
    transition: transform 0.2s ease, filter 0.3s ease;
    padding: 6px;
}

.cor-btn:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.cor-item p {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-indent: 0px;
}

.modal-background {
    background-size: cover; /* Ajusta a imagem para cobrir todo o fundo */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Evita repetição */
    color: white; /* Deixa o texto branco para melhor contraste */
}

.p_titulo {
 text-align: center;
 text-indent: 0;
}


.modal-body {
    padding: 12px;
}

#modal_energiaVital .modal-content {
    padding: 12px;
}

.buzios {
    height: 47px;
    filter: brightness(95%);
}

.apitibi{
    height: 33px;
}

/*  -------------------------  */
/* Garante que o cabeçalho fique bem alinhado */




#mesa {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: absolute;
    top: 15px;
    height: 111px;
}

/* Aplica flex-wrap apenas ao cabeçalho */
.cabecalho .d-flex-header {
    flex-wrap: nowrap !important;
}

/* Ajusta o tamanho das imagens laterais */
.lateral {
    height: 135px;
    max-width: 90px;
    object-fit: contain;
}

/* Para a imagem central ficar um pouco menor que o cabeçalho (140px) */


/* Em telas menores (imagem central aumenta proporcionalmente) */
@media (max-width: 800px) {
    .cabecalho {
        height: 100px;
    }
}


@media (max-width: 600px) {
    .fix-img {
      display: none !important;
    }
  }


  .imagem-container {
    text-align: center;
    margin-bottom: 20px;

    .imagem-moldura {
               /* Aumenta o espaço ocupado pela imagem em telas pequenas */
        padding: 5px;         /* Reduz o padding para telas menores */
    }
}



.imagem-moldura {
    max-width: 400px;
    width: 100%;              /* Faz a imagem ocupar 100% da largura da div */
    height: auto;             /* Mantém a proporção da imagem */
    border: 5px solid #6f0000;   /* Moldura escura */
    border-radius: 15px;      /* Bordas arredondadas */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Sombra para destacar */
    padding: 10px;            /* Espaço interno da moldura */
    background-color: #fff;   /* Cor de fundo da moldura */
    display: block;           /* Garante que a imagem seja tratada como bloco */
    margin: 0 auto;           /* Centraliza a imagem horizontalmente */
}

.imagem-container {
    text-align: center;
    width: 100%;              /* Faz o contêiner ocupar toda a largura da tela */
    padding: 10px;
    box-sizing: border-box;   /* Inclui o padding no cálculo da largura total */
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white; /* Cor de fundo */
    display: flex;
    flex-direction: column; /* Empilha os elementos verticalmente */
    justify-content: center; /* Centraliza verticalmente */
    align-items: center;     /* Centraliza horizontalmente */
    z-index: 9999;
}


  #content {
    display: none;
  }

  .tradicao-container {
    margin: 0 auto;   /* Centraliza o conteúdo na página */
    text-align: justify; /* Justifica o texto para um visual mais "formal" */
  }
  
  .tradicao-img {
    float: right;       /* Faz a imagem flutuar à direita */
    margin: 0 0 15px 15px; /* Espaço à esquerda e abaixo da imagem */
    max-width: 250px;   /* Tamanho máximo da imagem */
    height: auto;       /* Mantém a proporção da imagem */
    border: 3px solid #ccc; /* Apenas para um detalhe visual */
    border-radius: 5px; /* Cantos arredondados */
  }
  
  .tradicao-text p {
    line-height: 1.6;   /* Melhora o espaçamento entre linhas */
    font-size: 16px;    /* Tamanho da fonte */
    margin-bottom: 15px; /* Espaço entre parágrafos */
  }
  
  .img-carrocel{
    max-width: 800px;
    max-height: 600px;
    margin: 0 auto; /* Para centralizar a imagem */
    object-fit: contain;
  }

  .carousel-inner{
    background-color: brown;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
  }

 #titulofotos {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
    width: 100%;
  }

  .loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 10;
    display: none; /* Inicialmente oculta */
}

.fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain; /* Mantém a proporção sem cortar */
    background-color: rgba(0, 0, 0, 0.9); /* Fundo escuro */
    z-index: 1050; /* Acima de tudo */
    cursor: pointer; /* Indica que pode ser fechado */
    transition: all 0.3s ease-in-out;
}
.imagens-laterais {
    position: fixed;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1051; /* Acima da imagem */
}

.imagens-laterais img {
    width: 80px; /* Ajuste conforme necessário */
    height: auto;
    border-radius: 10px;
    border: 2px solid #6f0000;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

.esquerda {
    left: 10px; /* Ajuste para posicionamento na lateral esquerda */
}

.direita {
    right: 10px; /* Ajuste para posicionamento na lateral direita */
}

@media (max-width: 1024px) {
    .imagens-laterais {
        display: none;
    }
}


@media (max-width: 430px) {
    .descricao-acrbpx {
        font-size: 11px;
        font-weight: bold; /* Mantém o negrito */
    }
}

.central-img{

    max-width: 100%;
}


#logForm {
    border-image-slice: 1;
    border-radius: 20px;
    border: 4px solid #215b20;
     width: auto;
     max-width: 370px;

}

.div_destaque {
        background-color: #fff055;
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 18px;
        padding: 15px;
        border-style: double;
        border-radius: 22px;
    }

.cabecalho {
    width: auto;
    height: 140px;
    background-size: contain;
    background-repeat: repeat;
    background-position: center;
    border-width: 30px;
    border-style: solid;
    border-image-source: url('../images/palha-borda.png');
    background-image: url('../images/juta-textura.jpg');
    border-image-slice: 30 30 30 30 fill;
    border-image-width: 15px 15px;
    border-image-repeat: repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #5a3e1b;
    padding: 10px 0;

}

/* ==========================================================
   SECTION EXCLUSIVA DAS MENSAGENS
   ========================================================== */
#secMensagens {
    background-color: #3b6106;
    color: white;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    display: block !important;
}

/* ==========================================================
   WRAPPER - IMAGENS LADO A LADO
   ========================================================== */
#secMensagens .msg-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 20px !important;
    flex-wrap: wrap; /* empilha no mobile */
}

/* ==========================================================
   CARD INDIVIDUAL DE CADA MENSAGEM
   ========================================================== */
#secMensagens .msg-card {
    flex: 0 0 45% !important; /* duas colunas */
    max-width: 450px;
    text-align: center !important;
}

/* ==========================================================
   TÍTULOS
   ========================================================== */
#secMensagens .msg-titulo {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* ==========================================================
   IMAGENS PEQUENAS (DENTRO DAS MENSAGENS)
   ========================================================== */
#secMensagens .msg-card img {
    width: 100%;          /* sempre ocupa o card */
    max-width: 300px;     /* limita o tamanho */
    height: auto !important;
    min-height: 475px !important;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    cursor: zoom-in;
    padding: 10px;
    background-color: #fff885a3;
}

/* ==========================================================
   MODAL - IMAGEM AMPLIADA
   ========================================================== */

/* Área de rolagem vertical */
#fullScreenModal .modal-body {
    overflow-y: auto !important;
    max-height: 90vh !important; /* evita ultrapassar a tela */
}

/* Imagem grande ocupa toda a largura */
#fullScreenImage {
    width: 100% !important;  /* usa a largura da modal */
    height: auto !important; /* mantém proporção */
    display: block;
    transform: scale(0.85);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
}

/* Animação ao abrir */
#fullScreenModal.show #fullScreenImage {
    transform: scale(1);
    opacity: 1;
}

/* Botão fechar sempre por cima */
#fullScreenModal .btn-close {
    background-color: white;
    z-index: 2000;
}

#fullScreenModal .modal-body {
    overflow-y: auto !important;
    max-height: 90vh !important;
    padding: 10px 2px 12px 12px !important;
}

/* Loader (spinner simples e elegante) */
#imgLoader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border: 6px solid #ffffff55;
    border-top-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.8s linear infinite;
    z-index: 3000;
    display: none; /* inicia escondido */
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}



@media (hover: none) and (pointer: coarse) {
#secMensagens .msg-card img {
    width: 100%;          /* sempre ocupa o card */
    max-width: 300px;     /* limita o tamanho */
    height: auto !important;
        min-height: 244px !important;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    cursor: zoom-in;
    padding: 10px;
    background-color: #fff885a3;
}
}

/* DESKTOP */
@media (hover: hover) and (pointer: fine) {
    #secMensagens .msg-card img {
        width: 100%;          /* sempre ocupa o card */
        max-width: 300px;     /* limita o tamanho */
        height: auto !important;
        min-height: 475px !important;
        display: block;
        margin: 0 auto;
        object-fit: contain;
        border-radius: 6px;
        box-shadow: 0 0 8px rgba(0,0,0,0.4);
        cursor: zoom-in;
        padding: 10px;
        background-color: #fff885a3;
    }
}

    .quadro-horarios {
        background-color: white;
        border-radius: 15px;
        padding: 30px;
        color: #222;
        max-width: 1100px;
        margin: auto;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .lista-horarios {
        max-width: 900px;
        margin: auto;
    }

    .item-horario {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 25px;
        padding: 18px 15px;
        border-bottom: 1px solid #ddd;
    }

    .item-horario:last-child {
        border-bottom: none;
    }

    .tag-horario {
        color: white;
        padding: 12px 18px;
        border-radius: 10px;
        font-weight: bold;
        width: 170px;
        text-align: center;
        font-size: 18px;
        flex-shrink: 0;
    }

    .texto-horario {
        width: 420px;
        text-align: center;
    }

    .texto-horario strong {
        font-size: 20px;
    }

    .texto-horario span {
        font-size: 18px;
    }

    @media (max-width: 600px) {
        #Horarios {
            padding: 16px 10px !important;
        }

        #Horarios h3 {
            font-size: 26px !important;
            line-height: 1.25;
        }

        .quadro-horarios {
            padding: 18px 12px;
            width: 100%;
        }

        .item-horario {
            flex-direction: column;
            gap: 12px;
            padding: 24px 8px;
            text-align: center;
        }

        .tag-horario {
            width: 100%;
            max-width: 230px;
            font-size: 20px;
        }

        .texto-horario {
            width: 100%;
            text-align: center;
        }

        .texto-horario strong {
            font-size: 21px;
            line-height: 1.3;
        }

        .texto-horario span {
            font-size: 19px;
            line-height: 1.4;
        }
    }
