/* ============================= */
/*          ESTILOS GERAIS      */
/* ============================= */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", "Arial", sans-serif;
    color: #ddd;
    min-height: 100vh;
    cursor: none;
    background: linear-gradient(120deg, #000000, #1a1a1a, #000000, #1a1a1a, #000000);
    background-size: 800% 800%;
    animation: gradientAnim 50s linear infinite alternate;
}

a {
    text-decoration: none;
}

/* Cursor personalizado */
body {
    cursor: url("/assets/Hornet-normal.ani"), auto
}

a {
    cursor: url("/assets/Hornet-alt.ani"), pointer;
}

input,
textarea {
    cursor: url("Hornet text.cur"), text;
}

/* ============================= */
/*          HEADER               */
/* ============================= */
header {
    background: #0a0a0a;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 79, 79, 0.2);
    border-bottom: 1px solid #330000;
}

header img.neon-img.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 6px #ff4f4f);
    transition: filter 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

header img.neon-img.logo:hover {
    filter: drop-shadow(0 0 12px #ff6b6b);
    transform: scale(1.05);
}

/* ============================= */
/*          NAVBAR               */
/* ============================= */
.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.menu>li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    transition: 0.3s;
}

.menu a:hover {
    color: #ff4f4f;
    text-shadow: 0 0 5px #ff4f4f;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    border: 1px solid #ff4f4f;
    border-radius: 6px;
    min-width: 160px;
    list-style: none;
    padding: 8px 0;
    z-index: 10;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: #ddd;
    transition: 0.3s;
}

.dropdown-menu a:hover {
    background: #ff4f4f22;
    color: #ff4f4f;
    text-shadow: 0 0 5px #ff4f4f;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.uniao-menu-pesquisa {
    display: flex;
}

/* ============================= */
/*          PESQUISA             */
/* ============================= */

.search-box {
    margin: 20px;
    text-align: center;
}

input {
    padding: 10px;
    width: 300px;
    border-radius: 8px;
    border: none;
}

.results {
    margin-top: 20px;
    text-align: center;
}

.results a {
    display: block;
    margin: 8px 0;
    padding: 10px;
    background: #222;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.results a:hover {
    background: #444;
}

/* ============================= */
/*          GRUPO DE BOTÕES      */
/* ============================= */
.juncao-botao {
    display: flex;
    align-items: center;
    gap: 15px;
}

.juncao-botao button#btnLogin {
    background: transparent;
    border: 2px solid #ff4f4f;
    padding: 8px 18px;
    border-radius: 25px;
    color: #ff4f4f;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.juncao-botao button#btnLogin:hover {
    background: #ff4f4f;
    color: #fff;
    box-shadow: 0 0 8px #ff4f4f;
}

.juncao-botao button#btnLogin a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.buton-hornet {
    display: flex;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.buton-hornet img.icon {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 6px #ff4f4f);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* ============================= */
/*          ESTILIZAÇÃO H1       */
/* ============================= */
h1 {
    font-family: "Georgia", serif;
    font-size: 2.5rem;
    color: white;
    /* Vermelho vibrante */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-top: 50px;

    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(139, 0, 0, 0.3));
}

/* ============================= */
/*          BANNER               */
/* ============================= */
h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 5dvh;
}

.item-categories {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 20px;
}

.item-category {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    width: 150px;
    height: 150px;
    transition: transform 0.3s ease;
    border: 1px solid white;
}

.item-category img {
    width: 50px;
    height: 50px;
}

.item-category p {
    margin-top: 10px;
    font-size: 1rem;
}

.item-category:hover {
    transform: scale(1.1);
}

.item-category.active {
    background-color: #f4a261;
    border-radius: 5px;
    padding: 12px;
}

.banner1 {
    padding: 20px;
    background-color: #f1faee;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: justify;
}


/* ============================= */
/*          GALERIA              */
/* ============================= */




.galeria-itens {
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.galeria-itens h2 {
    color: #ff4f4f;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.itens-galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    justify-items: center;
    grid-auto-rows: 200px;
    /* Garantir que todos os cards tenham a mesma altura */
    width: 1200px;
}

.card-item {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 79, 79, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /* Faz os cards preencherem a altura disponível */
    display: none;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-item:hover {
    transform: scale(1.05);
    background-color: #ff4f4f;
}

.card-item img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.card-item p {
    color: white;
    font-size: 1.1rem;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Exibe todos quando "Todos os Itens" for clicado */
.item-category[data-categoria="todos"].active~.galeria-itens .card-item {
    display: flex;
}

/* ============================= */
/*          Footer               */
/* ============================= */


.hollow-footer {
    background: linear-gradient(to top, #0b0c10, #14151c);
    padding: 40px 20px;
    text-align: center;
    color: #aaa;
    font-family: "Georgia", serif;
    box-shadow: inset 0 0 20px #0008;
    border-top: 1px solid #333;
    animation: fadeIn 1s ease;
}

.hollow-footer .footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.hollow-footer p {
    font-size: 1em;
    color: #bbb;
    text-shadow: 0 0 6px #111;
}

.footer-icons {
    display: flex;
    gap: 20px;
}

.footer-icons a img {
    width: 28px;
    height: 28px;
    filter: grayscale(1) brightness(0.8) drop-shadow(0 0 6px #7af2);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-icons a:hover img {
    transform: scale(1.2);
    filter: brightness(1.2) drop-shadow(0 0 12px #7af);
}

.derrotada {
    animation: fadeOut 0.4s ease forwards;
    opacity: 0.3;
    transform: scale(0.9);
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.footer-icons a svg path {
    stroke: #aaa;
    stroke-width: 1.5;
    fill: transparent;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.8s ease-out, fill 0.4s ease-in;
}

.footer-icons a:hover svg path {
    stroke-dashoffset: 0;
    fill: #7af;
}
.hamburguer {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #ff4f4f;
    cursor: pointer;
    margin-left: 10px;
    z-index: 1000;
}

/* ============================= */
/*          Media Querry         */
/* ============================= */

@media(max-width: 1200px) {

    .banner1,
    .banner2 {
        flex-direction: column;

    }

    .banner-img img,
    .bannerimg2 img {
        height: auto;
    }

    .banner-texto {
        max-width: 100%;
        padding: 10px;
        font-size: 1rem;
    }

    .agrupamento,
    .agrupamento1 {

        padding: 2rem 0;
    }


    article {
        flex-direction: column;
        gap: 20px;
    }

    canvas {
        width: 90%;
        height: auto;
    }

    header {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 15px 20px;
    }

    .buton-hornet img.icon {
        display: none;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .intro {
        width: 600px;
    }
}

@media(max-width: 1200px) {

    #linka {
        display: none;
    }

    #linke {
        display: none;
    }
}

@media (max-width: 950px) {
    header {
        display: flex;
        justify-content: space-between;
    }

    header img.neon-img.logo {
        display: none;
    }

    .uniao-menu-pesquisa {
        gap: 80px;
    }

    .hamburguer {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #0a0a0a;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px;
        z-index: 999;
    }

    .navbar.active {
        display: flex;
    }
}

@media(max-width:800px) {
    #linha {
        width: 500px;
    }

    .intro {
        width: 400px;
    }

    .banner-img img,
    .bannerimg2 img {
        height: 300px;
    }

    h1 {
        font-size: 2em;
        margin-bottom: 0px;
    }
}

@media(max-width:600px) {
    input {
        width: 170px;
    }

    .loader {
        display: none;
    }

    #linha {
        width: 350px;
    }

    .intro {
        width: 300px;
        font-size: 1.2rem;
        font-weight: 100;
    }
    .banner1,
    .banner2{
        padding: 10px 30px;
    }

    .banner-img img,
    .bannerimg2 img {
        height: 200px;
    }

    h1 {
        font-size: 1.5em;
        margin-bottom: 50px;
    }
    @media(max-width:500px) {
    input {
        width: 115px;
    }

}

}
/* Botão hamburguer */
.hamburguer {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    position: relative;
}

.hamburguer span {
    display: block;
    height: 3px;
    width: 100%;
    background: #ff4f4f;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Animação X */
.hamburguer.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburguer.active span:nth-child(2) {
    opacity: 0;
}

.hamburguer.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar padrão (desktop) */
.navbar {
    display: flex;
    gap: 20px;
}

/* Menu fullscreen no mobile */
@media(max-width: 950px) {
    .navbar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 17, 0.95);
        gap: 30px;
        font-size: 24px;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
    }

    .menu {
        flex-direction: column;
        gap: 50px;
        text-align: center;
        justify-content: center;
        text-align: center;
    }

    #linka {
        display: none;
    }

    #linke {
        display: none;
    }

    .navbar a {
        color: #fff;
        text-decoration: none;
        font-size: 26px;
        font-weight: bold;
        transition: color 0.3s;
    }

    .navbar a:hover {
        color: #ff4f4f;
    }

    .navbar.active {
        transform: translateY(0);
    }

    .hamburguer {
        display: flex;
        z-index: 1002;
        /* acima do menu */
    }
}


@media (max-width: 600px) {
  .dropdown-cards {
    width: 100%;
    padding: 10px;
    gap: 10px;
    justify-content: space-around;
  }

  .card-menu {
    width: 28vw;
    padding: 8px;
  }

  .card-menu img {
    width: 28px;
    height: 28px;
  }

  .card-menu span {
    font-size: 0.75rem;
  }
}
/* Container do dropdown */
.dropdown {
    position: relative;
}

/* Botão "Outros" */
.dropdown>a {
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.dropdown>a:hover {
    color: #ff4f4f;
}

/* Conteúdo do dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

/* Cada link dentro do dropdown */
.dropdown-content a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    border-radius: 6px;
}

.dropdown-content a:hover {
    background: #ff4f4f;
    color: #111;
}

