* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-y: auto;
    overflow-x: hidden;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-image: url("./assets/planoFundo1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    padding: 20px;
}


.section #ripa {
    height: 100vh;
}

#ripa {
    height: 101vh;
}

#ripa .content, #ripa .image {
    height: 100vh;
}

.container {
    display: grid;
    grid-template-rows: repeat(auto-fit, minmax(100vh, auto));
    height: 100%;
    width: 100%;
}

.section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background-color: #fff;
    height: 100vh;
    width: 100%;
}

.section:nth-child(odd) {
    grid-template-areas: "content image";
}

.section:nth-child(even) {
    grid-template-areas: "image content";
}

.image {
    grid-area: image;
    width: 100%;
    height: 100%;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#imagemCozinha {
    transform: scaleX(-1);  
}

.content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    text-align: left;
    width: 100%;
    height: 100%;
}

.content h2 {
    color: #00ff66;
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

.content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.content ul li {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    width: 400px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.content ul li:before {
    content: '\2022';
    color: black;
    font-size: 28px;
    font-weight: bold;
    margin-right: 10px;
}

.content button {
    background-color: #00b33c;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 14px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.content button:hover {
    background-color: #008c2c;
}

.buttons-container {
    display: flex;
    justify-content: center;  /* Centraliza os botões na horizontal */
    gap: 20px;  /* Espaçamento uniforme entre os botões */
    position: absolute;
    bottom: 30px;  /* Mantém os botões na parte inferior */
    transition: transform 0.3s ease; 
}

.construcao {
    background-color: #1ea543;
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.construcao:hover {
    background-color: #148c34;
    transform: scale(1.1);
}

.construcao, .botao {
    display: flex;           
    justify-content: center; 
    align-items: center;     
    background-color: #1ea543;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    transition: transform 0.3s ease; 
}

.construcao:hover, .botao:hover {
    transform: scale(1.1);
    background-color: #148532;
}

.containerC {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-image: url("./assets/depoimentos.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.containerVendas {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-image: url("./assets/completoFundo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.2);
    background-blend-mode: darken;
}

.footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    .header, .containerC, .containerVendas {
        height: 50vh; /* Reduz a altura em telas menores */
        background-size: cover; /* Mantém a imagem cobrindo o contêiner */
    }

    .section {
        grid-template-columns: 1fr; 
        grid-template-rows: auto auto; 
        height: auto; 
        min-height: 50vh; 
        grid-template-areas: "image" "content"; 
    }

    .section:nth-child(odd),
    .section:nth-child(even) {
        grid-template-areas: "image" "content"; 
    }

    #ripa .content, #ripa .image{
        height: 40vh;
        width: 100%;
        padding-bottom: 20px;
    }

    .image {
        height: 30vh; /* Reduz a altura da imagem */
    }

    .content {
        padding: 20px; 
    }

    .content h2 {
        font-size: 28px; 
    }

    .content ul li {
        width: 100%; /* Ajusta a largura para telas menores */
    }

    .buttons-container {
        top: 40%; /* Ajusta a posição dos botões */
    }
}

@media (max-width: 480px) {
     .containerC, .containerVendas {
        height: 30vh; /* Reduz ainda mais a altura em telas muito pequenas */
    }

    .header{
        height: 35vh;
    }

    .content h2 {
        font-size: 24px; 
    }

    .content ul li {
        font-size: 16px; 
    }

    .content button {
        font-size: 16px;
        padding: 10px 20px;
    }

    .buttons-container {
        gap: 10px;
        height: 40px;
        width: 100%;
        position: relative;
    }

    .construcao{
        height: 43px;
        font-size: clamp(8px, 2vw, 10px); /
    }
    button.construcao{
        padding: 5px;
        font-size: 10px;
    }

    .container{
        height: 40%;
        bottom: 400px;
    }
}