.banner{
    width: 100%;
    background-image: url('../img/induFundo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 50px 0;
}

.banner h1{
    font-size: 72px;
    color: #ffffff;
    text-shadow: 5px 5px 20px 50px #333333;
    z-index: 100;
}



#produto {
    max-width: 100%;
    padding: 56px;
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 36px;

}

#produto h2 {
    text-align: left;
    font-size: 48px;
    color: #333333;
}

#detalhes {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    width: 100%;

}

#detalhes p {
    font-size: 24px;
    color: #333333;
}


#detalhes .preco{
    font-size: 36px;
    font-weight: 700;
    border-radius: 8px;
    color: red;
}


@keyframes animacao {
    0% {
        background: red;
        color: blue;
    }

    100% {
       background: blue;
       color: red;
    }
}

#contato {
    text-align: center;
    margin: 0 0;
}

#contato a {
    display: inline-block;
    padding: 12px 24px;
    font-size: 24px;
    background-color: blue;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.5s all;
}


#contato a:hover {
    transform: scale(1.1);
}

.fotos_produto{
    width: 100%;
}

#img-container .dispo{
    position: absolute;
    padding: 16px;
    padding-left: 36px;
    font-size: 22px;
    color: #111111;
    background-color: #c2c2c2;
    width: fit-content;
    border-radius: 0 8px 8px 0;
    transform: translateY(-120px);
    box-shadow: 5px 5px 10px rgb(0,0,0,0.7);
    font-weight: 700;
}


#img-container .dispo.indisponivel {
    background-color: red;
  }
  
#img-container .dispo.disponivel {
    background-color: #c2c2c2;
  }


#img-container .estado{
    position: absolute;
    padding: 16px;
    padding-left: 36px;
    font-size: 22px;
    color: #ffffff;
    background-color: blue;
    width: fit-content;
    border-radius: 0 8px 8px 0;
    transform: translateY(-200px);
    box-shadow: 5px 5px 10px rgb(0,0,0,0.7);
    font-weight: 700;
}

#img-grande {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px;
}

#carrossel {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    height:fit-content;
    padding: 10px;
    padding-left: 0;
    flex-wrap: wrap;
}

#carrossel img {
    height: 100px;
    cursor: pointer;
    border-radius: 10px;
    scroll-snap-align: center;
    transition: transform 0.2s;
}

#carrossel img:hover {
    transform: scale(0.9);
}


.detalhes p, .link_categoria{
    color: #111111;
}

.link_categoria:hover{
    text-decoration: underline;
}







/* O modal (fundo escuro) */
.modal {
    display: none; /* Oculta o modal por padrão */
    position: fixed; /* Fica no topo da tela */
    z-index: 1; /* Fica acima de outros conteúdos */
    left: 0;
    top: 0;
    width: 100%; /* Largura total */
    height: 100%; /* Altura total */
    overflow: auto; /* Adiciona rolagem se necessário */
    background-color: rgb(0,0,0); /* Cor de fundo */
    background-color: rgba(0,0,0,0.8); /* Fundo preto com opacidade */
    z-index: 9999999;
}

/* O conteúdo do modal (a imagem) */
.modal-conteudo {
    margin: auto;
    display: block;
    width: 80%; /* Largura da imagem */
    max-width: 60%; /* Largura máxima */
    margin-top: 50px;
}

/* O botão de fechar (x) */
.fechar {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #f1f1f1;
    font-size: 35px;
    font-weight: bold;
}

.fechar:hover,
.fechar:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


@media screen and (max-width: 768px){
    .banner{
        padding: 30px 15px;
        display: none;
    }
    .banner h1{
        font-size: 20px;
        
    }

    #produto {
        padding: 56px 16px;
        flex-direction: column;
    
    }


    #produto h2 {
        font-size: 24px;
    }
    
    
    
    #detalhes p {
        font-size: 16px;
    }
    
    
    #detalhes .preco{
        font-size: 24px;
    }

    #contato a {
        font-size: 16px;
    }

    #img-container .dispo{
        font-size: 12px;
        transform: translateY(-100px);
    }
    #img-container .estado{
        font-size: 12px;
        transform: translateY(-160px);
    }

    #img-grande {
        height: 300px;

    }
    
   
    
    #carrossel img {
        height: 50px;
        
    }
   
  }
