* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f5;
    color: #222;
}

/* ==========================
   CABEÇALHO
========================== */
header {
    background-image: url("banner.jpg"); /* caminho da sua imagem */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 450px; /* altura do banner */
    display: flex;              /* ativa flexbox */
    justify-content: center;    /* centraliza horizontalmente */
    align-items: flex-end;        /* centraliza verticalmente */
    padding-bottom: 100px;  /* controla distância da borda inferior */
}



/* estilo do botão dentro do banner */
.ver-produtos {
    padding: 16px 24px;
    background: #f91e1e;
    color: rgb(200, 195, 195);
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
}

.ver-produtos:hover {
    background: #720000;
}

/* ==========================
   BARRA DE BUSCA
========================== */
.search-bar {
    background: white;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.search-bar input {
    width: 60%;
    max-width: 600px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

/* ==========================
   PÁGINA DE PRODUTO DETALHE
========================== */
.produto-detalhe {
    background: white;
    padding: 30px;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.produto-detalhe img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.produto-detalhe h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.produto-detalhe p {
    margin-bottom: 15px;
    color: #444;
}

.produto-detalhe strong {
    font-size: 1.3rem;
    color: #b30000;
    display: block;
    margin-bottom: 20px;
}

.produto-detalhe button {
    padding: 12px 20px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.produto-detalhe button:hover {
    background: #1ea851;
}

/* ==========================
   BANNER DE BOAS-VINDAS
========================== */
.banner {
    background: transparent;
    padding: 0;
    margin: 0;
    border-top: none;
}



/* ==========================
   BOTÕES
========================== */
.btn {
    display: inline-block;
    padding: 12px 20px;
    background: #b30000;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #720000;
}

/* ==========================
   CATEGORIAS
========================== */
.categorias {
    padding: 40px;
    text-align: center;
}

.categorias h2 {
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.05);
    background: #f9f9f9;
}

/* ==========================
   PRODUTOS
========================== */
.produtos {
    padding: 40px;
    text-align: center;
    background: #fafafa;
}

.produtos h2 {
    margin-bottom: 20px;
}

.produto img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 10px;
    display: block;
}


#pesquisa {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.produto {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
    text-align: left;
    transition: 0.3s;
}

.produto:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 16px rgba(0,0,0,0.15);
}


.produto h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.produto p {
    color: #444;
    margin-bottom: 8px;
}

.produto strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #b30000;
}

.produto button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #25d366;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.produto button:hover {
    background: #1ea851;
}

/* ==========================
   CONTATO
========================== */
.contato {
    padding: 40px;
    text-align: center;
    background: white;
}

.contato p {
    margin: 10px 0;
}

/* Botão WhatsApp */
.whatsapp {
    background: #25d366;
}

.whatsapp:hover {
    background: #1ea851;
}

/* ==========================
   RODAPÉ
========================== */
footer {
    text-align: center;
    padding: 20px;
    background: #b30000;
    color: white;
}
/* ==========================
   MODAL (ZOOM IMAGEM)
========================== */
/* ==========================
   MODAL (ZOOM IMAGEM)
========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}

.modal-conteudo {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from { transform: scale(0.5); }
    to { transform: scale(1); }
}

#caption {
    margin: 15px auto;
    text-align: center;
    color: white;
    font-size: 18px;
    max-width: 80%;
}

.fechar {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.fechar:hover {
    color: red;
}
@media (max-width: 768px) {
    header {
        height: 250px;
        padding-bottom: 40px;
    }

    .categorias {
        padding: 20px;
    }

    .produtos {
        padding: 20px;
    }

    #pesquisa {
        width: 100%;
        max-width: 100%;
    }

    .produto {
        text-align: center;
    }

    .produto img {
        height: 180px;
    }
}
