/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY / FUNDO
========================= */
body {
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #0a0a0f, #000000);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
}

/* =========================
   HEADER
========================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;

    background: rgba(10, 10, 20, 0.85); /* importante */
    backdrop-filter: blur(10px);        /* efeito glass */
    
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

/* Título + subtítulo */
.logo-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* =========================
   TEXTO NEON
========================= */
.neon-text {
    color: #0ff;
    font-size: 2rem;
    letter-spacing: 2px;
    text-shadow:
        0 0 1px #0ff,
        0 0 1px #0ff,
        0 0 2px #0ff,
        0 0 4px #00f7ff;
}

/* Subtítulo */
.subtitle {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 5px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

/* =========================
   MENU
========================= */
nav {
    display: flex;
    gap: 25px; /* controla o espaçamento */
}

nav a {
    color: #ffffff;
    margin-left: 20px;
    text-decoration: none;
    position: relative;
    transition: 0.5s;
    font-size: 0.95rem;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #ff00ff;
    transition: 0.3s;
}

nav a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

nav a:hover::after {
    width: 100%;
}

/* =========================
   MAIN
========================= */
main {
    flex: 1; /* ocupa o espaço restante */
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
}

/* deixa cada projeto alinhado à esquerda e organizado */
main h3 {
    width: 100%;
    max-width: 800px;
    text-align: left;
    padding-left: 60px; /* espaço do lado esquerdo */
}

/* link "Projeto - X" em azul neon */
main h3 a {
    color: #0ff;
    text-decoration: none;
    font-size: 1.1rem;
}

/* efeito hover leve */
main h3 a:hover {
    text-shadow: 0 0 10px #0ff;
}

/* texto "teste - X" */
main h3 p {
    color: #ccc;
    margin-top: 5px;
    font-size: 0.9rem;
}

/* =========================
   DROPDOWN MENU
========================= */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Menu escondido */
.dropdown-menu {
    position: absolute;
    top: 100%; /* 👈 CORRETO */
    left: 0;

    background: rgba(10, 10, 20, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;

    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.3),
        0 0 30px rgba(255, 0, 255, 0.2);

    display: none;
    flex-direction: column;
    min-width: 165px;
    padding: 10px 0;
    z-index: 999;
}

/* Links dentro do dropdown */
.dropdown-menu a {
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    display: block;
}

/* Hover nos itens */
.dropdown-menu a:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* MOSTRAR AO PASSAR O MOUSE */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 15px;
    border-top: 2px solid rgba(0, 255, 255, 0.2);
    font-size: 0.85em;
    color: #aaa;
}

/* =========================
   EFEITO LEVE DE BRILHO GLOBAL
========================= */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(0,255,255,0.05));
    pointer-events: none;
}

/* =========================
SUB MENU
========================= */
.sub-menu {
position: sticky;
top: 100px;

z-index: 999;

width: 100%;
padding: 15px 40px;

background: rgba(10, 10, 20, 0.95);
backdrop-filter: blur(10px);

border-bottom: 1px solid rgba(0, 255, 255, 0.2);

display: flex;
justify-content: center;
}

/* INPUT */
#searchInput {
width: 630px;
padding: 10px 15px;

background: transparent;
border: 2px solid #0ff;
border-radius: 10px;

color: #fff;
outline: none;

box-shadow: 0 0 10px rgba(0,255,255,0.3);
}

#searchInput:focus {
    border-color: #0ff;
    box-shadow: 0 0 8px rgba(0,255,255,0.2);
}