@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}

@font-face {
    font-family: 'Ava';
    src: url('Ava Meridian.otf');
}

body {
    background-color: #dfdfdf;
    color: #b99a4a;
}

.logo-img1 {
    height: 30vh; 
    width: auto;
    display: inline-block;
    margin-left: 40vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #2d4418;
    color: #fff;
    position: fixed;
    width: 100%;
    height: 15vh;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    list-style: none;
    margin-left: 15vh;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 2.3vh;
    font-weight: bold;
}

.container1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul li a:hover{
    transition: 1s;
    color: #b99a4a;
}

/* Estiliza o botão hambúrguer */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
    margin-right: 30px;
    margin-top: 30px;
}



/* Seção de produtos */
#produto-grid {
    padding: 40px 20px;
    background-color: #f0f0f0;
    text-align: center;
    margin-top: 7vw;
    height: 100%;
    top: 0%;
}

#produto-grid h2 {
    font-size: 35px;
    color: #b99a4a;
    text-transform: uppercase;
}

#produto-grid .container {
    display: flex;
    flex-direction: column; /* Alinha os itens verticalmente */
    align-items: center; /* Centraliza os itens horizontalmente */
    gap: 20px; /* Espaçamento entre o título, menu e grid */
}

.catalog-menu {
    margin-bottom: 20px; /* Espaçamento abaixo do menu */
    display: flex;
    justify-content: center; /* Centraliza os botões */
    gap: 10px; /* Espaçamento entre os botões */
}


.catalog-button {
    background-color: #2d4418;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 26px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.catalog-button.active {
    background-color: #b99a4a;
}

.catalog-button:hover {
    background-color: #d4af37;
}

/* Esconde todos os textos, exceto o ativo */
.texto h4 {
    display: none;
}

.texto h4.ativo {
    display: block;
}

/* Configuração dos grids */
.product-grids {
    margin-top: 20px;
}

.grid {
    display: none; /* Oculta todos os grids */
    grid-template-columns: repeat(4, 1fr); /* 4 colunas fixas */
    gap: 20px; /* Espaçamento entre os cards */
}

.grid.active-grid {
    display: grid; /* Mostra apenas o grid ativo */
}

/* Estilo dos cards */
.card {
    background-color: #fff;
    border-radius: 10px; /* Bordas arredondadas */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombras leves */
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.card:hover {
    transform: scale(1.05); /* Efeito de zoom */
}

/* Estilo das imagens */
.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Ajusta a imagem para preencher o espaço */
}

/* Título do produto */
.product-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding: 10px;
}


/* Menu de categorias */
.catalog-menu {
    margin: 20px 0;
    text-align: center;
}

.catalog-button {
    background-color: #2d4418;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.catalog-button.active {
    background-color: #b99a4a;
}

.catalog-button:hover {
    background-color: #d4af37;
}

img {
    width: 300px!important;
    height: 300px!important;
}


#map {
    width: 100%;
    height: 100%;
    border: none;
}

#main-footer {
    background-color: #2d4418; 
    color: #fff;
    padding: 40px 20px;
    font-family: "Lato", sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin: 20px;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #d4af37; 
}

.footer-section p {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 5px;
    display: block;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-logo {
    width: 200px;
}

/* Links do Acesso Rápido */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: #d4af37;
}

/* Seção inferior do rodapé */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #d4af37;
}

.footer-bottom p {
    font-size: 14px;
    color: #fff;
    margin: 5px 0;
}

.footer-bottom .created-by a {
    color: #d4af37;
    text-decoration: none;
}

.footer-bottom .created-by a:hover {
    color: #fff;
    text-decoration: underline;
}


/*RESPONSIVIDADE*/ 

/*MENU RESPONSIVO - tablet*/
/* Estilos responsivos */
@media screen and (max-width: 768px) {
    .logo-img1 {
        height:20vh;
        margin-left: 5vh;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #2d4418;
        padding-top: 60px;
        transition: 0.3s;
    }

    nav.menu-active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        margin-left: 0;
        padding: 0;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    nav ul li a {
        font-size: 2.5vh;
        display: block;
        padding: 10px;
    }
}

/* Ajustes para telas ainda menores */
@media screen and (max-width: 480px) {

    .logo-img1 {
        height: 5vh;
        margin-left: 2vh;
    }

    header {
        height: 18vh;
        width: 100%;
    }

    nav {
        width: 85%;
    }
}


/*PRODUTOS*/
/* Responsividade do título e menu */
@media (max-width: 1024px) {
    #produto-grid h2 {
        font-size: 28px; /* Reduz um pouco o tamanho do título */
    }

    .catalog-menu {
        display: flex;
        flex-wrap: nowrap; /* Evita que os botões quebrem linha */
        overflow-x: auto; /* Adiciona rolagem horizontal caso necessário */
        justify-content: center;
        padding-bottom: 5px; /* Espaço extra para evitar corte */
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .catalog-button {
        font-size: 20px;
        padding: 8px 15px;
        white-space: nowrap; /* Evita que o texto quebre */
    }
}

@media (max-width: 768px) {
    #produto-grid h2 {
        font-size: 24px;
        margin-top: 12vh;
    }

    .catalog-menu {
        justify-content: flex-start; /* Mantém os botões alinhados à esquerda */
        padding: 0 10px;
    }

    .catalog-button {
        font-size: 18px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .catalog-menu {
        justify-content: flex-start;
        overflow-x: auto; 
        gap: 5px;
        }

    .catalog-button {
        font-size: 16px;
        padding: 5px 10px;
    }
}


/* Responsividade para telas menores */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colunas em tablets */
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em telas menores */
    }
    
    .catalog-button {
        font-size: 18px; /* Reduz o tamanho dos botões para caber melhor */
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {

    .grid {
        grid-template-columns: repeat(2, 1fr); /* Mantém 2 colunas no mobile */
        gap: 10px; /* Reduz o espaço entre os cards */
    }

    .product-image {
        height: 150px; /* Diminui a altura das imagens */
    }

    .card {
        border-radius: 5px;
    }

    .catalog-button {
        font-size: 16px;
        padding: 6px 12px;
    }
}

/*FOOTER RESPONSIVO*/ 
/* 📱 Tablet - Alinhar em 2 colunas */
@media (max-width: 1024px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-section {
        min-width: auto;
    }

    .footer-logo {
        width: 180px;
    }
}

/* 📱 Celular - Alinhar tudo em uma coluna */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo {
        width: 150px;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}
