/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonte e estilo geral */
body {
    font-family: 'Encode Sans', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar .logo img {
    height: 50px;
}

.navbar .menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar .menu li a {
    color: #135caa;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: background 0.3s, color 0.3s;
    border-radius: 5px;
}

.navbar .menu li a:hover {
    background: #094268;
    color: #fff;
}

/* Seção de Imagem do Catálogo */
.catalogo-imagem {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 180px;
    overflow: hidden;
}

.catalogo-imagem .overlay {
    background: url('assets/img/arpersor.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    position: relative; /* Para garantir que o texto fique acima da camada de cor */
    z-index: 2; /* Garante que o texto fique visível */
    padding: 2rem;
}

.catalogo .container {
    background-color: #f9f9f9;
}

.catalogo-imagem h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra para o texto */
}

.catalogo-imagem p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Sombra para o parágrafo */
}

/* Seção de Catálogo */
.catalogo {
    padding: 3rem 1rem;
    background-color: #f9f9f9;
}

.catalogo h2 {
    color: rgb(52, 135, 212);
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
    background-color: #f9f9f9;
}

/* Card de Produto */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 1.5rem;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.02);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #135caa;
    margin-top: 1rem;
}

.card p {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/*Estilo azul e branco em listras nos <p> dos cards*/

.card p:nth-of-type(odd) {
    background-color: #dbecf7;
    color: rgb(0, 0, 0);
}

.card p:nth-of-type(even) {
    background-color: #fff;
    color: #333;
}

/* Botão comprar */
#btn-comprar {
    background: linear-gradient(to right, orange, rgb(255, 217, 0));
    max-width: 250px;
    max-height: auto;
    text-align: center;
    align-items: center;
    border-radius: 5px;
    margin: 1rem auto;
}

.card #btn-comprar:hover {
    background: radial-gradient(orange rgb(255, 217, 0));
}

#btn-comprar a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-top: 100px;
}

/* Secção botão topo */
#btn-topo {
    position: fixed;
    top: 550px; /* Pode ajustar conforme necessário */
    right: 50px; /* Posicionado no canto inferior direito */
    z-index: 1000;
    background-color: #70B5E5;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

#btn-topo:hover {
    opacity: 1;
}

#btn-topo a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Estilo para o botão hamburguer */
.hamburguer-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {    
    .navbar {
        padding: 2%;
    }
    .navbar .menu {
        display: none; /* Esconde menu em telas pequenas */
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: #fffffff8;
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        gap: 1;
        padding: 0.5rem 0;
        border-radius: 0 0 8px 8px;
    }

    .navbar .menu.open {
        display: flex; /* Exibe o menu em telas pequenas */
    }

    .navbar .hamburguer-menu {
        display: block; /* Exibe o botão hamburguer */
        color: #0056b3;
    }

    .navbar .logo {
        margin: 0 auto;
    }

    .catalogo-imagem {
        height: 72vh;
        padding: 20px;
    }

    #btn-topo {
        top: 700px;
        left: 330px;
    }

    /* Footer */
    .footer {
        align-items: center;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-icons {
        display: flex;
        justify-content: center;
    }

    .footer-icons a i {
        font-size: 28px;
    }


    .footer-rights {
        font-size: 0.7em;
    }

}

/* Footer */
.footer {
    margin-top: 10%;
    background-color: #0059ac;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* Sections do Footer */
.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 80px;
}

.footer-section:first-child {
    flex: 1.3;
}

.footer-title img {
    max-width: 200px; /* Tamanho da Logo */
}

.footer-description {
    line-height: 1.5; /* Espaçamento entre linhas */
    margin: 10px 0 0;
}

.footer-list {
    list-style: none;
    padding: 0; /* Espaçamento interno */
    margin: 0; /* Espaçamento Externo */
}

.footer-title {
    margin-bottom: 20px;
}

.footer-list li {
    margin-bottom: 25px; /* Espaçamento entre os itens*/
    
}

.footer-link {
    color: white; /* Cor dos links */
    text-decoration: none; /* Sem sublinhado */
    font-size: 1rem;
}

.footer-link:hover {
    text-decoration: underline;
    color: #eeeeeee8;
}

.footer-contact {
    color: white;
    text-decoration: none;
}

.footer-contact:hover {
    text-decoration: underline;
    color: #eeeeeee8;
}

.footer-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-icons i {
    font-size: 20px;
}


/* Rodapé inferior */
.footer-bottom {
    text-align: center;
    justify-content: center;
    font-size: 0.8em; 
    align-items: center;
}

.footer-privacy {
    
    text-align: center;
    background-color: #0082d9;
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.footer-privacy:hover {
    text-decoration: underline;
    color: #eeeeeee8;
}

/* Pop-up aviso de privacidade */
.swal2-popup {
    border-radius: 10px;
    background-color: #f9f9f9;
   
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.swal2-title {
    color: #004085; /* Cor do título */
    font-weight: bold;
}

.swal2-confirm {
    background-color: #007bff !important;
    color: #fff !important;
    border-radius: 18px;
    padding: 8px 16px;
}
