/* ========================= */
/* ESTILOS GERAIS */
/* ========================= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* ========================= */
/* CABEÇALHO */
/* ========================= */
header {
    background-color: #034dee;
    padding: 10px 20px;
    border-bottom: 2px solid #022c82;
}

/* Navegação */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Parte esquerda (logo) */
.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    width: auto;
}

/* Parte central (menu) */
.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

/* Estilização do menu */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline;
}

.menu li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: color 0.3s;
}

.menu li a i {
    font-size: 18px;
}

/* Efeito ao passar o mouse */
.menu li a:hover {
    color: #f8c12e;
}

/* Parte direita (futura expansão) */
.header-right {
    flex: 1;
}

/* Botão Hamburguer para celular */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* ========================= */
/* HERO SECTION */
/* ========================= */
.hero {
    background: url('images/supermercado.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
}

/* ========================= */
/* SEÇÕES E CONTEÚDO */
/* ========================= */
section {
    padding: 20px;
    text-align: center;
}

/* Container Flexível */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Cartões */
.card {
    background: white;
    padding: 20px;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.card img {
    max-width: 100%;
    border-radius: 5px;
}

/* ========================= */
/* FORMULÁRIO DE CONTATO */
/* ========================= */
.contato-form {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contato-form textarea {
    height: 120px;
    resize: none;
}

.contato-form .btn {
    background-color: #facc15;
    color: #222;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.contato-form .btn:hover {
    background-color: #e6b800;
}

/* ========================= */
/* RODAPÉ */
/* ========================= */
footer {
    background: #034dee;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a,
footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
    color: white !important;
    text-decoration: none !important;
    display: inline-block;
}

footer i {
    color: white !important;
    font-size: 20px;
    margin: 0 10px;
}

footer a:hover {
    color: #ccc !important;
}
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 28px;
    padding: 16px;
    border-radius: 50%;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* ========================= */
/* RESPONSIVIDADE */
/* ========================= */
@media screen and (max-width: 900px) {
    nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-left {
        justify-content: center;
        margin-bottom: 10px;
    }

    .logo {
        height: 60px;
    }

    /* Ocultar menu no mobile e ativar com botão hamburguer */
    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        background: #034dee;
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px 0;
        z-index: 10;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        width: 100%;
        text-align: center;
    }

    .menu li a {
        width: 100%;
        padding: 10px;
        font-size: 18px;
    }

    /* Exibir botão hamburguer */
    .menu-toggle {
        display: block;
    }
}