body {
    font-family: "Roboto", sans-serif;
}
footer {
    width: 100%;
    position: relative;
    bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Pacifico", sans-serif;
    font-weight: bold;
}

.hero {
    background: url("/webroot/img/25730.webp") no-repeat center center;
    background-size: cover;
    color: white;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero .hamburger-icon {
    cursor: pointer;
    width: 35px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 20px;
    right: 20px;
}

.hero .hamburger-line {
    width: 100%;
    height: 4px;
    background-color: #068a44;
    border-radius: 2px;
    transition: all 0.3s;
}

.hero .menu-collapsed .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hero .menu-collapsed .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hero .menu-collapsed .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

#menu {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.493);
    border: 1px solid #f9f805;
    padding: 10px;
    border-radius: 5px;
    z-index: 9999;
}

#menu ul {
    margin: 0;
    padding: 0;
}

#menu ul li {
    list-style: none;
    margin: 5px 0;
}

#menu ul li a {
    color: white;
    text-decoration: none;
}

.logo {
    max-width: 350px;
    height: auto;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

@media (max-width: 768px) {
    .logo {
        max-width: 250px;
    }

    #menu {
        width: 80%;
        right: 10%;
    }
}

.logo {
    opacity: 0.4;
}

/* Botão de chat fixo */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.chat-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.chat-button img:hover {
    transform: scale(1.1);
}

.social-button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-button:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Estilos para as imagens principais */
.splide__slide img {
    width: 100%;
    height: 100%; /* Garante que a altura se ajuste proporcionalmente */
    object-fit: contain; /* Cobre a área disponível mantendo a proporção */
    border-radius: 8px;
}

/* Estilos específicos para as imagens principais */
.splide-main {
    width: 100% ; /* Imagem ocupa toda a largura disponível */
    height: 60vh !important; /* A altura será 60% da altura da tela (responsivo) */
    object-fit: contain !important; /* Cobre a área de forma proporcional */
}

/* Estilos para as miniaturas */
.splide__slide img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Efeito de zoom nas miniaturas */
.splide__slide img:hover {
    transform: scale(1.1);
}

/* Estilos para o Modal de Imagem */
.modal-img {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content-img {
    width: 80%;
    max-width: 700px;
    margin: auto;
    display: block;
}

#caption {
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.close {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
}

/* Animação de zoom no modal */
.modal-content-img,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0.1);
    }
    to {
        transform: scale(1);
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content-img {
        width: 100%;
    }
    .modal-fullscreen {
        width: 100%;
    }
}

/* Modal Centralizado e Responsivo */
.modal-fullscreen {
    width: 50%; /* Largura total */
    max-height: 90vh; /* Altura total da tela */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    position: fixed; /* Fixa o modal na tela */
    top: 0; /* Modal começa do topo */
    left: 0;
    transform: translateX(50%) !important; /* Começa do lado esquerdo */
    z-index: 1050;
    overflow-y: auto;
}

/* Garantir que o conteúdo do modal ocupe 100% da altura */
.modal-content {
    max-height: 100%; /* Altura total do conteúdo do modal */
    overflow: hidden; /* Impede rolagem no conteúdo geral do modal */
    display: flex;
    flex-direction: column; /* Alinha o conteúdo em coluna */
}

/* O iframe ocupa 100% da altura e largura, sem bordas */
.modal-iframe {
    flex: 1; /* Faz o iframe preencher todo o espaço disponível */
    width: 100%; /* Largura 100% para o iframe */
    height: 100%; /* Altura 100% para o iframe */
    border: none; /* Remove as bordas */
    display: block; /* Garante que o iframe seja exibido como um bloco */
    object-fit: contain;
}
.modal-body {
    overflow-y: auto; /* Adiciona rolagem vertical */
    max-height: 80vh;
    padding: 10px; /* Define a altura máxima do conteúdo dentro do modal (80% da altura da tela) */
}

#openModalBtn,
#downloadBtn {
    display: none;
}

/* Para telas maiores que 700px, exibir o botão de modal e esconder o de download */
@media (min-width: 700px) {
    #openModalBtn {
        display: block;
    }
    #downloadBtn {
        display: none;
    }
}

/* Para telas menores que 700px, exibir o botão de download e esconder o de modal */
@media (max-width: 699px) {
    #openModalBtn {
        display: none;
    }
    #downloadBtn {
        display: block;
    }
}
