/* Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Efeito de Partículas */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Estilos para os novos cards de texto */
.project-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid #222;
    border-radius: 10px;
    padding: 30px;
    min-height: 200px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #00F5FF;
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.3);
}

.project-title {
    text-align: center;
}

.project-title h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00F5FF;
}

.project-title p {
    color: #aaa;
    font-size: 1rem;
}

.neon-pulse {
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.8; text-shadow: 0 0 5px rgba(0, 245, 255, 0.5); }
    100% { opacity: 1; text-shadow: 0 0 15px rgba(0, 245, 255, 0.8); }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.logo img {
    height: 50px; /* Aumente esse valor */
    width: auto; /* Mantém proporção */
    max-width: 200px; /* Evita estourar o header */
    transition: 0.3s;
}

/* Garante que o menu não será espremido */
nav {
    min-width: fit-content; /* Ocupa só o espaço necessário */
    margin-left: 5px; /* Distância fixa da logo */
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #00F5FF;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.neon-text {
    color: #00F5FF;
    text-shadow: 0 0 10px #00F5FF, 0 0 20px #00F5FF;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.cta-button {
    background: transparent;
    color: #00F5FF;
    border: 2px solid #00F5FF;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    background: #00F5FF;
    color: #000;
    box-shadow: 0 0 15px #00F5FF;
}

/* Seção Projetos */
.projects {
    padding: 100px 5%;
    background: #0A0A0A;
}

.projects h2, .about h2, .contact h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    padding: 20px;
    border: 1px solid #222;
}

.project-card:hover {
    transform: scale(1.05); /* Efeito de "levantar" */
    border-color: #00F5FF;
    box-shadow: 0 0 15px #00F5FF; /* Brilho neon */
}
.hint {
    color: #00F5FF;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
.project-image img {
    width: 100%;
    border-radius: 5px;
}

.project-card h3 {
    margin: 15px 0 10px;
    font-size: 1.5rem;
}

.project-card p {
    opacity: 0.7;
    margin-bottom: 20px;
}

.project-button {
    color: #00F5FF;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.project-button:hover {
    text-shadow: 0 0 10px #00F5FF;
}

/* Seção Sobre */
.about {
    padding: 100px 5%;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.stat h3 {
    font-size: 2.5rem;
    color: #00F5FF;
}

.stat p {
    opacity: 0.7;
}

/* Seção Contato */
.contact {
    padding: 100px 5%;
    background: #0A0A0A;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input, form textarea {
    background: #111;
    border: 1px solid #222;
    padding: 15px;
    border-radius: 5px;
    color: #fff;
}

form button {
    background: #00F5FF;
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    box-shadow: 0 0 15px #00F5FF;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.social-links a {
    color: #fff;
    font-size: 2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: #00F5FF;
    transform: scale(1.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #000;
    border-top: 1px solid #222;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }
}