/********** Template em CSS **********/
:root {
    --primary: #90BA1D;
    --light: #F1F8FF;
    --dark: #856647;
}

.card-small {
    width: 1000px;
}

.zoom-img {
    transition: transform 0.2s;
}
.zoom-img:hover {
    transform: scale(1.1); /* Ajuste o valor conforme necessário */
}

body {
    background-image: url('../img/fundo1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.full-screen {
    background-image: url('../img/fundo1.webp'); /* Caminho correto da sua imagem */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
    background-color: #f0f0f0; /* Adicione uma cor de fundo para cobrir possíveis espaços em branco */
    margin: 0;
    padding: 0;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.square {
    width: 450px; /* Largura do quadrado */
    height: 200px; /* Altura do quadrado (igual à largura para ser quadrado) */
    padding: 3%;
    background-color: #edc899; /* Cor de fundo semelhante à da imagem */
    border-radius: 20px; /* Arredondamento dos cantos */
    margin: 0 auto; /* Centralizar na página */
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.5); /* Sombra abaixo do quadrado */
  }


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Inconsolata', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar {
    background-image: url('../img/fundofooter.webp'); /* Substitua pelo caminho da sua imagem */
    background-size: cover; /* Faz a imagem cobrir todo o fundo */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Evita que a imagem se repita */
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--dark) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}


/*Tamanho da logo na parte superior esquerda navbar*/
.navbar-dark .navbar-brand img {
    max-height: 110px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

.container {
    display: flex;
    flex-wrap: wrap; /* permite que os elementos se movam para a próxima linha se não houver espaço */
    justify-content: center; /* centraliza os elementos */
}

/* Para dispositivos móveis */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* empilha os elementos em coluna */
        align-items: center; /* centraliza horizontalmente */
    }

    .custom-square {
        width: 350px; /* mantém a largura fixa */
        margin: 10px 0; /* adiciona espaço entre os elementos */
    }
}



@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
    }
}

#Sobre {
    background-image: url('../img/fundo1.webp'); /* Substitua pelo caminho da sua imagem */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0; /* Ajuste o espaçamento interno conforme necessário */
    color: #fff; /* Ajuste a cor do texto se necessário para garantir a legibilidade */
}


.hidden {
    display: none;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.visible {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/*** Header imagem de fundo da home***/
.hero-header {
    background: url(../img/GIF/Animação_manguezal_HTML5-Canvas.webp) center center no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
    position: relative;
}

.button {
    position: absolute;
    width: 11%; /* Usa uma largura relativa ao tamanho da tela */
    max-width: 110px; /* Define um máximo para largura */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.button:hover {
    transform: scale(1.2); /* Aumenta o tamanho da imagem em 20% */
}

/* Posições relativas */
.button1 { top: 12%; left: 88.5%; }
.button2 { top: 31%; left: 89%; }
.button3 { top: 50%; left: 89.5%; }
.button4 { top: 79%; left: 86%; max-width: 500px }
.button5 { top: 70%; left: 13%; transform: rotate(-10deg); max-width: 100%; }
.button6 { top: 12%; left: 83.5%; }
.button7 { top: 16.9%; left: 83%; width: 90px;}
.button8 { top: 21.5%; left: 84%; width: 100px;}

/* Responsividade para telas menores */
@media (max-width: 767px) {
    .hero-header {
        background: url(../img/GIF/Animação_manguezal_mobile_HTML5-Canvas.webp) center center no-repeat;
        background-size: cover;
    }

    .button {
        width: 70%; /* Ajusta a largura dos botões para ocupar 70% da largura da tela */
        max-width: 80px; /* Limita a largura máxima dos botões */
        height: auto;
        left: 50%;
        margin-bottom: 10px;
    }

    .button1 { margin-top: -10px; left: 73%; }
    .button2 { margin-top: -25px; left: 75%;}
    .button3 { margin-top: -40px; left: 77%; }
    .button4 { margin-top: 20px; left: 63%; max-width: 40%; }
    .button5 { margin-top: -10px; left: 15%; transform: none; }
    .button6 { top: 10%; left: 58%; }
    .button7 { top: 13.5%; left: 55%; width: 90px;}
    .button8 { top: 17.5%; left: 58%; width: 100px;}
}


.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


.footer {
    background-image: url('../img/fundofooter.webp');
    background-size: cover; /* A imagem cobre todo o footer */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Impede que a imagem se repita */
    color: #eff7ff; /* Mantém o texto claro para melhor legibilidade */
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #856647;
    border: 1px solid #856647;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #856647;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #856647;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}