
.image-gallery {
    position: relative;
    display: flex;
    justify-content:space-evenly;
    width: 90%;
    margin-left: auto;
    margin-left: auto;
    margin-top: -16rem;
    height: 250px;
}

.gallery-item {
    flex: 1;
    text-align: center;
}

.gallery-item img {
    width: 90%;
    height: auto;
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
}

.power-section{
    margin-bottom:4rem;
    margin-top: 5rem;
    position: relative;
}


.power-section-img{
    position: relative;
}


.saving-section {
    padding: 15rem 0;
    position: absolute;
    top: 70%;
    left: 35%;
    transform:translate(-50%, -50%);
 }
 
 .water-saving-section {
     padding:0;
 }
 

 .layout-container {
    width: 90%;
    background-color: #434343;
    border-radius: 30px;
    margin-top: -1.5rem;
    position: relative;
    height: 750px;
}


.main-content-section-mobile {
    background-color: #434343;
    margin-top: -41rem;
}

.main-content-section-mobile .cost-benefit-container{
    padding-top: 35rem;
    padding-bottom: 4rem;
}

.header-image-section img {
    width: 100%;
    height: auto;
}

.main-content-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    height: 2000px;
}

.text-description p {
    line-height: 1.5;
}

.image-container img {
    width: 100%;
    max-width: 100%;
    transform: translateY(-7rem) translateX(-2rem);
}

.grinding-options-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.grinding-option-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.grinding-option-card p {
    font-size: 1rem;
    text-align: center;
}

.layout-container .text-description {
    margin-top: 5rem;
}

.layout-container .text-description h1 {
    text-transform: uppercase;

}

.moedor-container {
    margin-top: 2rem;
    margin-bottom: 4rem;
    padding: 15px;
}

.moedor-image-container {
    position: relative;
}

.moedor-image-container img {
    width: 100%;
    height: auto;
}

.moedor-clickable-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #981F1F;
    /* Cor do anel externo */
    border-radius: 50%;
    /* Faz com que o ponto seja circular */
    border: 5px solid rgba(152,31,31 0.7);
    /* Anel central mais opaco */
    box-shadow: 0 0 0 8px rgba(146, 5, 5, 0.5);
    cursor: pointer;
}

/* Pontos clicáveis */
.moedor-point-1 {
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
}

.moedor-point-2 {
    top: 30%;
    left: 65%;
    transform: translate(-50%, -50%);
}

/* Seção de texto */
.moedor-text-container {
    margin-top: 20px;
}

.moedor-text-container h1 {
    font-weight: bold;
}

.moedor-text-container p {
    line-height: 1.6;
}


/* Estilos da nova sessão - Advantages Section */
.advantages-section {
  margin-bottom:5rem;
  margin-top: 10rem;  
}


.advantages-section .advantages-image img {
  width: 100%;
  height: auto;
}

.advantages-section .advantage-item{
  background-color: #A32035;
  border-radius: 40px;
  padding: 20px 20px;
  width: 300px;
}

.advantages-section .advantage-item p{
 font-size: 1.2rem;
 margin-bottom: 0;
}

.advantages-section .advantage-item .text-description a{
    text-decoration: none;
    text-align: center;
}

.content-component .straight {
    background-color: #000000;
    height: 1px;
    margin-left: 10px;
    margin-top: 63px;
}

.power-section-img.upcontainer{
    margin-top: 0%;
  }

  #splide .splide__pagination {
    display: none !important;
  }
  
  #splide .splide__slide .card {
    padding: 20px;
    border: none;
  }
  
  #splide .splide__slide .card-title {
    font-size: 1.2rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  #splide .splide__slide .card-text {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  #splide .splide__arrow:hover,
  .splide__arrow:focus,
  .splide__arrow:active {
    outline: none !important;
  }
  
  #splide .splide__slide:not(.is-active) .card-body {
    display: none;
    /* Esconde o texto das imagens laterais */
  }
@media (min-width: 1025px) {

    .features-section{
        margin-top: 5rem;
        margin-bottom: 5rem;
    }
    .features-section .show-desktop, .image-gallery.show-desktop, 
    .water-saving-section .show-desktop, .moedor-container.show-desktop, 
    .advantages-section .show-desktop{
        display: flex;
    }
    .main-content-section {
        grid-template-columns: 1fr 1fr;
    }

    .water-saving-section.mg-up{
        margin-top: 25%;
    }

    
}





@media (max-width: 1024px) {

    .saving-section {
        position: absolute;
        padding: 0;
        top: 70%;
        left: 50%;
        right: 50%;
     }

    .image-container img {
        transform: translateY(-2rem) translateX(-1rem);
    }

    .image-gallery.show-desktop{
        display: none;
    }


    .image-gallery {
        position: inherit;
        display: flex;
        flex-direction: column;
        width: 90%;
        margin-left: auto;
        margin-left: auto;
        margin-top: 0rem;
        padding-bottom: 2rem;
        background-color: #434343;
        height: 100%;

    }

    .gallery-item img {
        width: 50%;
        margin-bottom: 2rem;
    }

    

    .moedor-text-container {
        text-align: center;
    }

    /* Estilos para a imagem do produto */
.product-image {
    position: relative;
  }


/* Estilo para o ponto interativo */
.interactive-point {
    position: absolute;
    width: 15px;
    /* Tamanho total do ponto */
    height: 15px;
    background-color: #981F1F;
    /* Cor do anel externo */
    border-radius: 50%;
    /* Faz com que o ponto seja circular */
    border: 5px solid rgba(152,31,31 0.7);
    /* Anel central mais opaco */
    box-shadow: 0 0 0 8px rgba(146, 5, 5, 0.5);
    /* Anel externo mais claro */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    /* Efeito de transição */
  }

  .interactive-point:hover {
    transform: scale(1.2);
    /* Efeito de zoom ao passar o mouse */
  }

  /* Estilo do carrossel */
  #carousel .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;

    border-radius: 10px;
  }

  #carousel .splide__slide .card-body{
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding-top: 15px;
    padding-bottom: 15px;
  }

  /* Estilos da nova sessão - Advantages Section */
.advantages-section {
    margin-bottom:2rem;
    margin-top: 2rem;  
  }

  .advantages-section .advantages-image img {
    text-align: center;
    width: 90%;
}

.content-component .straight {
    margin-top: 53px;
    margin-left: 10px;
}
.power-section-img.upcontainer{
    margin-top: 4rem;
   
  }

  #splide .splide__arrow--prev {
    display: none;
}

#splide .splide__arrow--next {
    display: none;
}

#splide .splide__slide:not(.is-active) .card-body {
    display: none;
    /* Esconde o texto das imagens laterais */
}

#splide .splide__slide.is-active .card-body {
    display: block;
    /* Mostra o texto apenas do slide ativo */
}

#splide .splide__slide:not(.is-active) img {
    width: 70%;
    margin-top: 3rem
}

/* Centralizar o slide ativo */
#splide .splide__slide:not(.is-active) {
    opacity: 0.5;
    /* Deixa os slides laterais sem destaque */
    transition: opacity 0.3s ease;
    width: 50%;
}

#splide .splide__slide.is-active {
    opacity: 1;
    /* Realça o slide ativo 
    margin-left: 1rem;*/
}

#splide .splide__slide img {
    max-width: 100%;
    /* Limita o tamanho da imagem */
    margin: 0 auto;
}

#splide .splide__slide .card {
    padding: 0px;
    width: 100%;
}

#splide .splide__slide.is-active .card-body {
    width: 120%;
    margin: 0 0 0 -25px;
    padding: 10px 0 0 0;
}

.power-section-img.upcontainer{
    margin-top: 100px;
}
}


