@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins";
}


@keyframes reveal-opacity{
    from{ 
        opacity: 0;
        transform: translateX(40px);
    }
    to{ 
        opacity: 1; 
        transform: translateX(0px);
    }
}

body{
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
}

section{
    display: flex;
    padding: 80px 60px 0px;
    margin-bottom: 20px;
    flex-direction: column;
    justify-content: center;
}

h2{
    font-size: 24pt;
    font-weight: 600;
}

h3{
    font-size: 16pt;
    font-weight: 500;
}

.show{ 
    animation: forwards showAside ease-out 100ms;
}

.hide{ 
    animation: forwards hideAside ease-in 100ms;
}

@keyframes showAside {
    0%{ transform: translateX(100%); }
    100%{ transform: translateX(0px); }
}

@keyframes hideAside {
    0%{ transform: translateX(0px); }
    100%{ transform: translateX(100%); }
}

aside{
    display: flex;
    background-color: var(--bg-color);
    z-index: 20000;
    padding: 20px 60px 20px 20px;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    right: 0;
    height: 100vh;
    gap: 40px;
    box-shadow: #3535353b 0px 2px 30px;

    button{
        position: absolute;
        top: 20px;
        left: 20px;
        background-color: transparent;
        border: none;
        outline: none;
        width: fit-content;
        cursor: pointer;
        
        svg{
            color: var(--secondary-color);
            font-size: 14pt;
        }
    }

    ul{
        display: flex;
        flex-direction: column;
        gap: 15px;

        li{
            list-style: none;

            a{
                text-decoration: none;
                color: #000;
            }
        }
    }
}

header{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--element-bg);
    align-items: center;
    box-shadow: #3535353b 0px 2px 30px;

    img{
        width: fit-content;
        height: 35px;
    }

    button{
        display: none;
        height: fit-content;
        width: fit-content;
        background-color: transparent;
        border: none;
        outline: none;

        svg{
            font-size: 18pt;
            font-weight: 300;
            color: var(--primary-color);
        }
    }

    .header_links{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 50px;

        a{
            position: relative;
            text-decoration: none;
            color: #000;
        }

        a::after {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 0%;
            height: 2px;
            background: var(--highlight-color);
            transition: width 100ms ease;
        }

        a:hover::after {
            width: 100%;
        }
    }
}

.hero{
    margin-top: -50px;
    display: flex;
    position: relative;
    overflow: hidden;
    padding: 0;

    img{
        object-fit: cover;
        object-position: 0 80%;
        width: 100vw;
        height: 100vh;
    }

    .hero_content{
        display: flex;
        flex-direction: row;
        width: 100vw;
        height: 100vh;
        position: absolute;
        z-index: 200;
        background-color: #0b2a45e7;
        color: #fff;
        padding: 0 60px;

        .hero_content_box{
            display: flex;
            flex-direction: column;
            flex: 3;
            height: 100%;
            justify-content: center;

            h1{
                font-size: 48pt;
                line-height: 48pt;
                font-weight: 600;
            
                span{
                    color: var(--highlight-color);
                }
            }

            p{
                margin-top: 20px;
                font-size: 18pt;
            }

            button{
                background-color: var(--highlight-color);
                outline: none;
                border: none;
                width: fit-content;
                font-weight: 500;
                font-size: 14pt;
                padding: 12px 20px;
                margin-top: 60px;
                border-radius: 8px;
                transition: ease-in-out 100ms;
                cursor: pointer;
                display: flex;
                align-items: center;
                gap: 15px;
                text-align: left;

                svg{
                    font-size: 18pt;
                }
            }

            button:hover{
                transform: scale(1.06);
                box-shadow: #ffffff33 0px 2px 50px;
                background-color: #fff;
            }
        }

        img{
            flex: 1;
            height: 90%;
            filter: drop-shadow(10px 10px 0 var(--highlight-color));
            animation: reveal-opacity 1s both;
            align-self: self-end;
        }
    }
}

#sobre{
    gap: 40px;

    .sobre_content{
        display: flex;
        flex-direction: column;
        flex: 2;
        justify-content: center;

        p{
            margin-top: 32px;
        }
    }

    .cards{
        flex: 1;
        display: flex;
        flex-direction: row;
        gap: 20px;

        .card{
            background-color: var(--element-bg);
            padding: 20px;
            border-radius: 8px;
            flex: 1;
            box-shadow: #97979734 0px 0px 50px;
            transition: 100ms;
            cursor: pointer;

            div{
                display: flex;
                align-items: center;
                gap: 10px;
                margin-bottom: 15px;
                
                svg{
                    width: 16px;
                    height: 16px;
                    padding: 8px;
                    border-radius: 5px;
                    background-color: var(--highlight-color);
                    transition: 200ms;
                }
                span{
                    font-size: 14pt;
                    font-weight: 500;
                    line-height: 14pt;
                }
            }

            p{
                font-size: 11pt;
            }
        }

        .card:hover{
            box-shadow: #41414146 0px 0px 50px;
            transform: scale(1.08) translateY(-10px);
            z-index: 10;
            background-color: var(--highlight-color);

            svg{
                background-color: var(--primary-color);
                transform: scale(1.2) rotate(-4deg);
                color: var(--highlight-color);
            }
        }
    }
}

#localizacao{
    flex-direction: column;
    gap: 40px;

    .add{
        display: flex;
        width: 100%;
        height: 400px;
        gap: 40px;

        #map{
            flex: 1;
        }

        .info{
            position: relative;
            display: flex;
            flex: 1;
            transition: 100ms;

            .info_content{
                position: absolute;
                width: 100%;
                align-self: flex-end;
                background-color: #0b2a45e7;
                color: #fff;
                padding: 10px 15px;
                transition: 300ms;

                p{
                    margin-top: -2px;
                }
            }

            img{
                object-fit: cover;
                object-position: 0 70%;
                width: 100%;
            }
        }

        .info:hover{
            transform: scale(1.05);
            box-shadow: #41414146 0px 0px 50px;
            z-index: 10;

            .info_content{
                opacity: 0;
            }
        }
    }

}

#produtos{
    .produtos_content{
        display: flex;
        flex-direction: column;
        margin-top: 20px;

        .info{
            font-size: 8pt;
            color: #777777;
        }

        .carousel{
            display: grid;
            grid-template-columns: auto auto auto auto;
            gap: 10px;
            padding: 20px 0;

            .card{
                position: relative;
                display: flex;
                align-items: center;
                min-width: 300px;
                height: 300px;
                overflow: hidden;
                background-color: transparent;
                outline: none;
                border: none;
                cursor: pointer;

                img{
                    height: 100%;
                    width: 100%;
                    position: absolute;
                    object-fit: cover;
                    transition: 300ms;
                }

                .material{
                    background-color: #276096;
                    color: #efefef;
                }

                .tool{
                    background-color: #966f27;
                    color: #efefef;
                }

                span{
                    padding: 2px 40px 2px 15px;
                    z-index: 100;
                    border-radius: 0 20px 20px 0;
                    font-size: 10pt;
                    font-weight: 500;
                    box-shadow: #3535353b 0px 2px 30px;
                    transition: 300ms;
                }

                .card_content{
                    bottom: 0;
                    padding: 50px 20px 20px 20px;
                    position: absolute;
                    background: linear-gradient(0deg,var(--secondary-color) 0%, rgba(255, 255, 255, 0) 100%);
                    width: 100%;
                    color: #efefef;
                    transition: 200ms;
                }
            }

            .card:hover{
                img{
                    transform: scale(1.1);
                }

                .card_content{
                    padding-top: 70px;
                }

                span{
                    opacity: 0;
                }
            }
        }
    }
}

footer{
    background-color: var(--primary-color);
    padding: 60px 40px 20px;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    color: #fff;

    img{
        height: 30px;
        width: fit-content;
    }

    .footer_content{
        display: flex;
        gap: 40px;

        .contact_links{
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 15px;
            
            a{
                width: fit-content;
                svg{
                    color: #fff;
                    font-size: 22pt;
                }
            }

            a:hover{
                svg{
                    color: #d6d6d6;
                }
            }
        }
        
        .contact{
            display: flex;
            flex-direction: column;
            border-left: #efefef solid 1px;
            padding-left: 20px;

            h3{
                font-weight: 600;
            }

            ul {
                margin-top: 10px;

                li{
                    list-style: none;
                }
            }

            span{
                margin-top: 20px;
            }
        }
    }
    p{
        margin-top: 20px;
        font-weight: 500;
        font-size: 10pt;
        text-decoration: underline;
        color: #bbbbbb;
    }
}

#hook-whatsapp{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    z-index: 20000;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 100%;
    box-shadow: #97979734 0px 0px 50px;

    svg{
        font-size: 22pt;
        color: #fff;
    }
}

.hide-screen{ display: flex; }
.show-screen{ display: none; }

#screen-hider{
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 15000;
    top: 0;
    left: 0;
    background-color: #1a172b41;
}