@charset "UTF-8";


/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BARRA DE ROLAGEM — DESKTOP */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
    border: 2px solid #111;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* FIREFOX */
html {
    scrollbar-width: thin;
    scrollbar-color: #444 #111;
}

/* BODY + FUNDO */
body {
    font-family: Arial, sans-serif;
    /* ... */
}

/* BODY + FUNDO */
body {
    font-family: Arial, sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    background: url("./imagens/fundoGaleriaArkania.png") no-repeat center center fixed;
    background-size: cover;
}

/* BANNER */
.banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    

}

.banner img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    display: block;

    filter:
        contrast(1.06)
        brightness(1.03)
        saturate(1.08)
        drop-shadow(0 0 2px rgba(0, 0, 0, 0.8));

    transition: filter 0.3s ease;
}

.banner img:hover {
    filter:
        contrast(1.1)
        brightness(1.07)
        saturate(1.15)
        drop-shadow(0 0 3px rgba(0, 0, 0, 0.9));
}
/* GALERIA */
.galeria {
    display: grid;
    grid-template-columns: repeat(4, 140px);
    justify-content: center;
    gap: 20px;
    padding: 30px;
}

/* IMAGENS */
.galeria img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    background: #ddd;
    border-radius: 18px;
    border: 3px solid #444;
    cursor: pointer;
    transition: 0.25s;
}

/* HOVER */
.galeria img:hover {
    transform: scale(1.05);
    border-color: #e6e6e6;
    box-shadow: 0 0 10px rgba(230,230,230,0.5);
}

/* MODAL */
#modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 60px 20px;
    z-index: 999;
}

/* BOTÃO FECHAR */
#fechar {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 28px;
    cursor: pointer;
}

/* IMAGEM GRANDE */
#modal img {
    max-width: 80%;
    max-height: 70%;
    border-radius: 20px;
}

/* DESCRIÇÃO */
#modal p {
    margin-top: 20px;
    text-align: center;
    max-width: 500px;
}

/* VOLTAR */
.voltar {
    text-align: center;
    margin-top: auto;
    padding: 20px 0 5px;
}

.voltar a {
    color: #777;
    text-decoration: none;
    transition: 0.3s;
}

.voltar a:hover {
    color: #fff;
    text-shadow: 0 0 5px #fff;
}

/* RODAPÉ */
footer {
    text-align: center;
    font-size: 12px;
    color: #666;
    padding-bottom: 20px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .galeria {
        grid-template-columns: repeat(2, 120px);
        gap: 15px;
    }

    .galeria img {
        width: 120px;
        height: 120px;
    }

    .banner img {
        max-height: 280px;
    }

    #modal img {
        max-width: 95%;
    }

    #fechar {
        top: 20px;
        right: 20px;
    }
    /* RESPONSIVO */
@media (max-width: 768px) {
    .galeria {
        grid-template-columns: repeat(2, 120px);
        gap: 15px;
    }

    .galeria img {
        width: 120px;
        height: 120px;
    }

    .banner img {
        max-height: 280px;
    }

    #modal img {
        max-width: 95%;
    }

    #fechar {
        top: 20px;
        right: 20px;
    }

    /* ESCONDER BARRA NO CELULAR */
    ::-webkit-scrollbar {
        display: none;
    }

    html {
        scrollbar-width: none;
    }
}
}