body {
    overflow-x: hidden;
}

.banner {
    position: relative;
    display: flex;
    background-image: url('/images/wallpaper-ambientes.jpg');
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.274);
    z-index: 1;
}

.banner > * {
    position: relative;
    z-index: 2;
}

.banner .coluna1 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 35px;
    width: 100%;
}

.banner .coluna1 h1{

    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;

}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.seção2 .coluna1{

    color: white;
    font-size: 20px;
    justify-items: center;
    

}


.seção3 .grupo1{
    display: flex;

    justify-content: center;
    margin-bottom: 30px;

}



.seção3 .grupo1 .coluna1{

    margin-right: 30px;

}

.seção3 .grupo1 .coluna2{

    margin-right: 0px;

}




.seção3 .grupo1 .coluna1 img{

    width: 400px;
    height: 250px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.seção3 .grupo1 .coluna2 img{

    width: 400px;
    height: 250px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}



.seção3 .grupo1 .menu-suspenso{
    
    width: 400px;
    height: 100px;
    background-color: #000000a8;
    color: white;
    position: absolute;
    margin-top: -104px;
    

}

.seção3 .grupo1 .menu-suspenso .t1{

    margin-top: 10px;
    margin-left: 10px;

}


.seção3 .grupo1 .menu-suspenso .t2{

    display: flex;
    color: rgb(216, 216, 216);
    margin-top: 10px;
    margin-left: 10px;
    
    

}

.seção3 .grupo1 .menu-suspenso .t2 p{

    margin-right: 10px;
    background-color: #444444a9;
    padding: 5px;
    border-radius: 10px ;


}





.seção3 .grupo1 .menu-suspenso {
    width: 400px;
    height: 100px;
    background-color: #000000a8;
    color: white;
    position: absolute;
    opacity: 0;
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.seção3 .grupo1 .coluna1:hover .menu-suspenso {
    opacity: 1;
    transform: scaleY(1);
}

.seção3 .grupo1 .coluna2:hover .menu-suspenso {
    opacity: 1;
    transform: scaleY(1);
}


#invisivel{
    visibility: hidden;
}











/* outra galeria de imagens */



.gallery {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 20px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 2.5 / 1.6;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: bottom 0.3s ease;
    padding: 20px;
    text-align: center;
    height: 40%;
    z-index: 2;
}

.mobile-arrow {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.mobile-arrow::after {
    content: '↑';
    font-size: 18px;
    color: #333;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.mobile-arrow.active {
    bottom: calc(40% + 35px); /* Aumentei o valor aqui para mover a seta mais para cima */
    transform: translateX(-50%) rotate(180deg);
}

.overlay h3 {
    color: white;
    font-size: 1.5em;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.overlay p {
    color: #fff;
    font-size: 1em;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.overlay .infos {
    display: flex;
}

.overlay .infos p {
    margin-right: 10px;
    background-color: #444444a9;
    padding: 5px;
    border-radius: 10px;
}

/* Desktop hover effects */
@media (min-width: 769px) {
    .gallery-item:hover .overlay {
        bottom: 0;
    }

    .gallery-item:hover .overlay h3,
    .gallery-item:hover .overlay p {
        transform: translateY(0);
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }

    .gallery-item {
        aspect-ratio: 2.5 / 1.2;
    }

    .gallery-item:hover {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .mobile-arrow {
        display: block;
    }

    .overlay.show {
        bottom: 0;
    }

    .overlay.show h3,
    .overlay.show p {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .gallery-item {
        aspect-ratio: 2.5 / 1.2;
    }
}