* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding and borders are included in the element's total width and height */
}

:root{
    --text_shadow_default: 
    .5px .5px 1px rgba(0, 0, 0, 0.4),  
    -.5px -.5px 1px rgba(0, 0, 0, 0.4),
    .5px -.5px 1px rgba(0, 0, 0, 0.4),
    -.5px .5px 1px rgba(0, 0, 0, 0.4);
}

html{
    font-size: 62.5%;
    font-family: "Inter", Arial, sans-serif;
    background-color: #f5f5f5;
}

/* BOTOES */

.scroll-to-top {
    position: fixed; /* Keeps the button fixed in the viewport */
    bottom: 1em; /* Distance from the bottom */
    right: 1em; /* Distance from the left */
    background-color: #3b3b3b; /* Button background color */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 50%; /* Rounded corners */
    width: 2.5em;
    height: 2.5em;
    cursor: pointer; /* Cursor pointer on hover */
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensure it stays above other elements */
    display: flex; /* Use flex to center items */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.scroll-to-top:hover {
    background-color: #000000; /* Darker blue on hover */
}

.btn_light_red{
    display: block; /* Block-level for centering */
    padding: 1em 1.5em;
    font-size: 1.5em;
    background-color: #f08080;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    width: fit-content; /* Only as wide as its content */
    transition: all 0.4s ease;  
    cursor: pointer;  
}

.btn_light_red:hover{
    background-color: #ff6666;
}

/* TITULOS E SUB TITULOS */

.section_title {
    text-align: center;
    font-size: 3em; /* Adjust the size as needed */
    color: #333; /* Dark text */
    font-size: 3em;
    letter-spacing: .15em;
    font-weight: 600;
    margin-top: 4em;
    margin-bottom: 1.5em;
    scroll-margin-top: 6em;
}

.small_section_title{
    font-size: 3em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.gray_sub_title{
    color: #979797;
    letter-spacing: .3em;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 500;
}

/* header - logo - menu */

/* General Header Styling */
.header_hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 3vw; /* Some padding for the header */
    background-color: white; /* Background color for the header */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional: adding a little shadow */
    position: fixed; /* Fixes the header at the top */
    top: 0; /* Positions it at the top */
    left: 0; /* Ensures it stretches to the left */
    right: 0; /* Ensures it stretches to the right */
    z-index: 1000; /* Optional: makes sure the header stays above other content */
}

/* Logo Styling */
.header_hero img {
    max-height: 10em; /* Adjust max-height for the logo */
}

/* Navigation list container */
.navegation_list_hero {
    display: flex;
    gap: 1em; /* Adds gap between the items */
    list-style: none; /* Removes default bullet points from ul */
    margin: 0;
    padding: 0;
}

/* Dropdown menu styling */
.item_menu_hero {
    position: relative;
}

/* Main menu items styling */
.item_menu_hero > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 2em;
    font-size: 1.7rem;
    border: 0.2em solid black;
    /* border-radius: 0.3em; */
    text-decoration: none;
    color: black;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    min-width: 8em;
    text-align: center;
}

/* Hover effect for main menu items */
.item_menu_hero > a:hover {
    background-color: black;
    color: white;
}

/* Icon margin adjustment */
.item_menu_hero i {
    margin-right: 0.3em;
}

/* Dropdown menu container styling */
.dropdown_menu {
    display: block; /* Keep it in the document flow */
    opacity: 0;
    transform: scaleY(0); /* Initially collapsed vertically */
    transform-origin: top; /* Animate from the top */
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: absolute;
    top: 100%; /* Position below the main link */
    left: 0;
    width: 100%;
    min-width: 8em;
    z-index: 1;
    list-style-type: none; /* Updated list style */
    background-color: white;
    border-bottom: 2px solid rgb(55, 55, 55);
}

.item_menu_hero:hover .dropdown_menu {
    opacity: 1;
    transform: scaleY(1); /* Expand vertically */
}

/* Dropdown menu link styling */
.dropdown_menu li a {
    width: 100%;
    height: 100%;
    display: block;
    color: #333;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-decoration: none;
    text-align: left;
    padding: .5em;
    border-radius: 0.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for dropdown items */
.dropdown_menu li a:hover {
    background-color: #f3f3f3;
}

/* Show dropdown on hover */
.item_menu_hero:hover .dropdown_menu {
    display: block;
}

/* Media Queries for Smaller Screens */

/* For tablets and smaller screens (max-width 1024px) */
@media (max-width: 1024px) {

    /* .header_hero {
        padding: 1em 5em; 
    } */

    .item_menu_hero a {
        font-size: 1.5rem; /* Reduce font size for smaller screens */
        padding: 0.7em 1.5em; /* Adjust padding */
    }

    .header_hero img {
        max-height: 8em; /* Reduce logo size */
    }
    
    .section_title {
        font-size: 2.5em;
    }
}

/* For mobile screens (max-width 768px) */
@media (max-width: 768px) {

    /* .header_hero {
        padding: 1em; 
    } */

    .item_menu_hero a {
        display: flex; /* Ensure flexbox is used */
        justify-content: center; /* Horizontally center icon */
        align-items: center; /* Vertically center icon */
        padding: 0.5em; /* Adjust padding to fit the icon */
        font-size: 1.2rem;
        min-width: unset;
        width: auto; /* Set width to auto to fit content */
        width: 4em;
    }

    .menu_text {
        display: none; /* Hide the text */
    }

    .item_menu_hero i {
        text-align: center;
        font-size: 1.5rem; /* Adjust icon size if needed */
        margin-left: 0; /* Remove left margin on smaller screens */
        margin-right: 0;
    }
    
    .section_title {
        font-size: 2em;
    }

}

/* SIDE NAVEGATION MENU*/

.overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1001; 
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.div_btn_side_menu{
    position: absolute;
    width: 3em;
    right: 2em;
    padding: .5em;
    font-size: 2em;
    cursor: pointer;
    border: 3px solid black;
    display: none;
    text-align: center;
}

.div_btn_side_menu:active{
    background-color: #dcdcdc;
}

@media (max-width: 768px) {

    /* .div_btn_side_menu{
        display: inline-block;
    } */

}

.close-icon-left {
    position: absolute;
    top: .5em;
    left: 50%;
    font-size: 3em; /* Adjust the size as needed */
    color: #979797;
    cursor: pointer; /* Make it clickable */
}

.close-icon-left:hover {
    color: #555; /* Optional: change color on hover */
}

.side-nav-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 25em;
    right: -35em;
    /* right: 0; */ 
    top: 0;
    background-color: white;
    z-index: 1002;
    height: 100vh;
    transition: right 0.3s ease;
}

.side-nav-left:active{
    right: 0;
}

.side-nav-left.active {
    right: 0; /* Slide in the menu */
}

.side_nav_navegation_list{
    list-style-type: none;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    text-align: left;
    margin-top: 6em;
}

.side_nav_item_menu{
    padding: 1em;
    width: 100%;
    border: 2px solid black;
    margin-bottom: .5em;
    transition: all .5s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.side_nav_item_menu:active{
    background-color: rgb(188, 188, 188);
}

.side_nav_item_menu i{
    margin-right: .5em;    
}

.side_nav_item_menu a{
    color: black;
    text-decoration: none;
    font-size: 1.2em;
    letter-spacing: .1em;
}

.side_nav_sub_menu{
    border-top: 2px solid #cacaca;
    border-bottom: 2px solid #cacaca;
    width: 100%;
    margin-bottom: 1.5em;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    padding: 1em;
    letter-spacing: .1em;
    transition: all .3s ease;
}

.side_nav_sub_menu:active{
    background-color: rgb(219, 219, 219);
}

.side_nav_sub_menu a{
    color:#7c7c7c;
    text-decoration: none;
    font-size: 1em;
}

.side_nav_sub_menu i{
    margin-right: .5em;
}

/* CONTATO */
/* Container principal */
.container_info {
    width: 100%; /* Full width */
    background-color: white; /* Background branco */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    padding: 2em 10em;
}

/* Sessão de informações */
.div_info {
    display: flex; /* Flex container para organizar horizontalmente */
    flex-direction: row; /* Elementos lado a lado */
    justify-content: space-between; /* Espaçamento entre as colunas */
    width: 100%; /* Largura total do container pai */
    max-width: 80em; /* Máximo tamanho centralizado */
    gap: 5em;
    padding-bottom: 2em;
    margin-bottom: 2em;
    border-bottom: 1px solid #B4B4B4; /* Linha separadora */
}

/* Estilização das colunas */
.div_info_contato,
.div_info_emp,
.div_info_link{
    display: flex; /* Layout flexível para os itens dentro */
    flex-direction: column; /* Alinha os itens verticalmente */
    justify-content: flex-start; /* Centraliza verticalmente */
    text-align: left; /* Alinha o texto à esquerda */
    width: auto; /* Tamanho ajustado automaticamente */
    gap: 1em; /* Espaço entre os textos */
    padding: 0; /* Remove padding extra */
    margin: 0; /* Remove margens que possam causar desalinhamento */
}

/* Títulos */
.text_info_title{
    font-size: 2em;
    line-height: 2em;
    text-align: left;
}

/* Texto dentro das colunas */
.text_info_email,
.text_info_cel,
.text_info_fone,
.text_info_cnpj,
.text_info_razao_social,
.text_info_mlivre,
.text_info_insta{
    font-size: 1.3em; /* Ajusta o tamanho da fonte */
    letter-spacing: 0.1em; /* Espaçamento entre letras */
    text-align: left; /* Alinha o texto à esquerda */
}

/* Sessão do formulário */
.div_contato_form {
    display: flex; /* Flex container */
    flex-direction: column; /* Elementos empilhados verticalmente */
    align-items: center;
    width: 70%; /* Largura ajustada */
    padding: 2em 0;
}

/* Alinhar título */
.small_title {
    margin-bottom: 1em;
    font-size: 2em;
    font-weight: 500;
    text-align: center;
}

/* Texto e botão do formulário */
.div_contato_text {
    display: flex;
    flex-direction: column; /* Empilha os elementos */
    align-items: center;
    text-align: center; /* Centraliza o texto */
    width: 100%; /* Ajusta para ocupar o espaço disponível */
    gap: 1em; /* Espaçamento entre os elementos */
}

.div_contato_text p {
    font-size: 1.5em;
    line-height: 1.8em;
}

.div_contato_text a:hover {
    background-color: #e04545;
}

.text_info_email i,
.text_info_cel i,
.text_info_fone i,
.text_info_cnpj i,
.text_info_razao_social i {
    margin-right: 0.5em; /* Espaço entre o ícone e o texto */
    color: #555; /* Cor do ícone */
    font-size: 1.2em; /* Tamanho do ícone */
    vertical-align: middle; /* Alinha verticalmente com o texto */
}

/* Responsivo */
@media (max-width: 1024px) {
    .div_info {
        flex-direction: column; /* Empilha as colunas */
        align-items: center;
    }

    .div_info_contato,
    .div_info_emp {
        align-items: center; /* Centraliza o conteúdo */
        text-align: center;
    }

    .div_contato_form {
        width: 80%; /* Ajusta largura do formulário */
    }
}

@media (max-width: 768px) {
    .container_info {
        padding: 1em 2em; /* Reduz padding */
    }

    .div_contato_text {
        gap: 1.5em; /* Espaço maior entre elementos */
    }
}

/* FOOTER */

footer{
    width: 100%;
    height: 6em;
    background-color: #171111;
    display: flex;
    align-items: center;
}

footer p{
    color: white;
    text-align: center;
    margin: auto;
    font-size: 1.5em;
    font-weight: 400;
}