.horizontal-slide-from-right-to-left {
  animation: horizontal-slide-from-right-to-left linear 10s infinite;
}

.horizontal-slide-from-left-to-right {
  animation: horizontal-slide-from-left-to-right linear 10s infinite;
}

@keyframes horizontal-slide-from-right-to-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes horizontal-slide-from-left-to-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.sticky-menu.nav-hidden {
  animation: fadeInDown 0.9s 1;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    transform: translateZ(0);
  }
}

@keyframes rotate-360{
  0%{
    transform: rotate(0deg)
  }

  100%{
    transform: rotate(360deg)
  }
}

.rotate-360{
  animation: rotate-360 20s linear infinite;
}


input:checked~.toggle_dot {
  transform: translateX(100%);
}



/* Botão Customizado WhatsApp */
.btn-whatsapp {
    background-color: #25D366 !important;
    border-color: #ffffff!important;
	border-radius: 10px !important;
	
    color: #ffffff !important;
    padding: 15px 30px !important; /* Ajuste de tamanho para o texto caber bem */
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    transform: scale(1.05); /* Dá um leve zoom ao passar o mouse */
}




.capa-background {
    /* Substitua 'nome-da-sua-imagem.jpg' pelo nome real do arquivo */
    background-image: url('../img/bg_head.jpg'); 
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}



/* Opcional: Adicionar uma camada escura ou clara por cima da imagem 
   para o texto não sumir (Overlay) */
.capa-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75); /* 0.5 é a transparência. Use 0,0,0 para escuro */
    z-index: 0;
}

/* Garante que o conteúdo fique por cima da imagem/overlay */
.capa-background .container-default {
    position: relative;
    z-index: 1;
}



.gallery-grid {
    display: grid;
    /* Divide o espaço em 6 colunas iguais */
    grid-template-columns: repeat(6, 1fr); 
    gap: 10px; /* Reduzi o espaço entre elas para caberem melhor */
    margin: 20px 0;
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    /* Ajustamos a altura para não ficarem muito compridas e estreitas */
    height: 210px; 
}

/* Ajuste para Tablets (3 por linha) */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ajuste para Telemóveis (2 por linha) */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item {
        height: 150px;
    }
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Cor do seu tema/WhatsApp com transparência */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 50px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}