/* Reset geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    background-color: #0f2b4f;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Container do menu */
.menu-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px;
}

/* Estilos de cada item do menu */
.menu-item {
    background-color: #1a4d7c;
    width: 250px;
    height: 250px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Efeito ao passar o mouse */
.menu-item:hover {
    background-color: #2168a3;
    transform: scale(1.05);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

/* Marca d’água */
.menu-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px; /* Mantém a marca d'água grande */
    height: 220px;
    background: url('icons/mapa.svg') no-repeat center;
    background-size: contain;
    opacity: 0.15;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Ícones SVG */
.menu-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: invert(84%) sepia(20%) saturate(400%) hue-rotate(180deg);
    position: relative;
    z-index: 2;
    transition: filter 0.3s;
}

/* Ícones ao passar o mouse (amarelo) */
.menu-item:hover img {
    filter: invert(90%) sepia(80%) saturate(300%) hue-rotate(20deg);
}

/* Títulos */
.menu-item h2 {
    font-size: 18px;
    margin: 10px 0;
    position: relative;
    z-index: 2;
}

/* Texto de instrução */
.menu-item p {
    font-size: 14px;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

/* Texto "Clique para acessar" ao passar o mouse (amarelo) */
.menu-item:hover p {
    color: #FFD700; /* Amarelo */
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-container {
        flex-direction: column;
        align-items: center;
    }
}
